@@ -570,18 +570,23 @@ def boxplot_frame_groupby(
570
570
571
571
Parameters
572
572
----------
573
- grouped : Grouped DataFrame
573
+ grouped : DataFrameGroupBy
574
+ The grouped DataFrame object over which to create the box plots.
574
575
subplots : bool
575
576
* ``False`` - no subplots will be used
576
577
* ``True`` - create a subplot for each group.
577
-
578
578
column : column name or list of names, or vector
579
579
Can be any valid input to groupby.
580
580
fontsize : float or str
581
- rot : label rotation angle
582
- grid : Setting this to True will show the grid
581
+ Font size for the labels.
582
+ rot : float
583
+ Rotation angle of labels (in degrees) on the x-axis.
584
+ grid : bool
585
+ Whether to show grid lines on the plot.
583
586
ax : Matplotlib axis object, default None
584
- figsize : A tuple (width, height) in inches
587
+ The axes on which to draw the plots. If None, uses the current axes.
588
+ figsize : tuple of (float, float)
589
+ The figure size in inches (width, height).
585
590
layout : tuple (optional)
586
591
The layout of the plot: (rows, columns).
587
592
sharex : bool, default False
@@ -599,8 +604,15 @@ def boxplot_frame_groupby(
599
604
600
605
Returns
601
606
-------
602
- dict of key/value = group key/DataFrame.boxplot return value
603
- or DataFrame.boxplot return value in case subplots=figures=False
607
+ dict or DataFrame.boxplot return value
608
+ If ``subplots=True``, returns a dictionary of group keys to the boxplot
609
+ return values. If ``subplots=False``, returns the boxplot return value
610
+ of a single DataFrame.
611
+
612
+ See Also
613
+ --------
614
+ pandas.DataFrame.boxplot : Create a box plot from a DataFrame.
615
+ pandas.Series.plot : Plot a Series.
604
616
605
617
Examples
606
618
--------
0 commit comments