This is an automated email from the ASF dual-hosted git repository.

dongjoon-hyun pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new 440c9dfd291c [SPARK-57477][PYTHON][TEST] Remove `labels` test for 
boxplot
440c9dfd291c is described below

commit 440c9dfd291c52ac4afbc1a501d683d7b04e18a1
Author: Tian Gao <[email protected]>
AuthorDate: Mon Jun 15 15:26:55 2026 -0700

    [SPARK-57477][PYTHON][TEST] Remove `labels` test for boxplot
    
    ### What changes were proposed in this pull request?
    
    Do not test `labels` anymore because it's never officially documented for 
pandas on pyspark. `matplotlib` dropped the support for it since 3.11.0 
(deprecated even earlier). pandas does not support it either.
    
    ### Why are the changes needed?
    
    CIs are failing 
https://github.com/apache/spark/actions/runs/27482315740/job/81233169249 .
    
    Notice that this is actually `pandas` failure - it's not even pyspark.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    CI.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #56524 from gaogaotiantian/fix-matplotlib-labels.
    
    Authored-by: Tian Gao <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 42bc26d62d700b75a457fae63a2c1d48764aa08c)
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit ee635adcbab96e17c8c20f607bd29c270a256512)
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 445e35f97b5266ca029a75534d8471d37051cd5a)
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 41d41d5a195d3fd9aef0ba5e60575044de7cac96)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 python/pyspark/pandas/tests/plot/test_series_plot_matplotlib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyspark/pandas/tests/plot/test_series_plot_matplotlib.py 
b/python/pyspark/pandas/tests/plot/test_series_plot_matplotlib.py
index 0fdcbc9d748e..367d312d9c2e 100644
--- a/python/pyspark/pandas/tests/plot/test_series_plot_matplotlib.py
+++ b/python/pyspark/pandas/tests/plot/test_series_plot_matplotlib.py
@@ -321,7 +321,7 @@ class SeriesPlotMatplotlibTestsMixin:
             check_box_plot(p, k, showfliers=True)
             check_box_plot(p, k, sym="")
             check_box_plot(p, k, sym=".", color="r")
-            check_box_plot(p, k, use_index=False, labels=["Test"])
+            check_box_plot(p, k, use_index=False)
             check_box_plot(p, k, usermedians=[2.0])
             check_box_plot(p, k, conf_intervals=[(1.0, 3.0)])
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to