HyukjinKwon commented on code in PR #49268:
URL: https://github.com/apache/spark/pull/49268#discussion_r1896238516
##########
python/pyspark/sql/plot/core.py:
##########
@@ -306,8 +305,8 @@ def pie(self, x: str, y: str, **kwargs: Any) -> "Figure":
----------
x : str
Name of column to be used as the category labels for the pie plot.
- y : str
- Name of the column to plot.
+ y : str, optional
+ Name of the column to plot. If not provided, `subplots=True` must
be passed,
Review Comment:
```suggestion
Name of the column to plot. If not provided, `subplots=True`
must be passed at `kwargs`.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]