diff --git a/python/pyspark/pandas/config.py b/python/pyspark/pandas/config.py index bfa88253dc6f4..6ed4adf21ff44 100644 --- a/python/pyspark/pandas/config.py +++ b/python/pyspark/pandas/config.py @@ -287,7 +287,8 @@ def validate(self, v: Any) -> None: doc=( "'plotting.sample_ratio' sets the proportion of data that will be plotted for sample-" "based plots such as `plot.line` and `plot.area`. " - "This option defaults to 'plotting.max_rows' option." + "If not set, it is derived from 'plotting.max_rows', by calculating the ratio of " + "'plotting.max_rows' to the total data size." ), default=None, types=(float, type(None)),