diff --git a/python/pyspark/pandas/plot/core.py b/python/pyspark/pandas/plot/core.py index 5a6722a9c5ad9..f5652177fe4a5 100644 --- a/python/pyspark/pandas/plot/core.py +++ b/python/pyspark/pandas/plot/core.py @@ -858,7 +858,7 @@ def box(self, **kwds): Parameters ---------- **kwds : dict, optional - Extra arguments to `precision `: refer to a float that is used by + Extra arguments to `precision`: refer to a float that is used by pandas-on-Spark to compute approximate statistics for building a boxplot. The default value is 0.01. Use smaller values to get more precise statistics. Additional keyword arguments are documented in diff --git a/python/pyspark/sql/plot/core.py b/python/pyspark/sql/plot/core.py index 1dccc450c8a72..178411e5c5ef8 100644 --- a/python/pyspark/sql/plot/core.py +++ b/python/pyspark/sql/plot/core.py @@ -376,7 +376,7 @@ def box(self, column: Union[str, List[str]], **kwargs: Any) -> "Figure": column: str or list of str Column name or list of names to be used for creating the boxplot. **kwargs - Extra arguments to `precision `: refer to a float that is used by + Extra arguments to `precision`: refer to a float that is used by pyspark to compute approximate statistics for building a boxplot. The default value is 0.01. Use smaller values to get more precise statistics.