@@ -570,19 +570,24 @@ def boxplot_frame_groupby(
570570
571571 Parameters
572572 ----------
573- grouped : Grouped DataFrame
573+ grouped : DataFrameGroupBy
574+ The grouped DataFrame to plot.
574575 subplots : bool
575576 * ``False`` - no subplots will be used
576577 * ``True`` - create a subplot for each group.
577-
578578 column : column name or list of names, or vector
579579 Can be any valid input to groupby.
580- fontsize : float or str
581- rot : label rotation angle
582- grid : Setting this to True will show the grid
580+ fontsize : int or None
581+ Font size for the labels.
582+ rot : int
583+ Rotation angle of the labels.
584+ grid : bool
585+ Setting this to True will show the grid.
583586 ax : Matplotlib axis object, default None
584- figsize : A tuple (width, height) in inches
585- layout : tuple (optional)
587+ An axis object to plot on. If None, a new figure and axis will be created.
588+ figsize : tuple of (float, float) or None
589+ A tuple (width, height) in inches.
590+ layout : tuple of (int, int) or None
586591 The layout of the plot: (rows, columns).
587592 sharex : bool, default False
588593 Whether x-axes will be shared among subplots.
@@ -599,8 +604,17 @@ def boxplot_frame_groupby(
599604
600605 Returns
601606 -------
602- dict of key/value = group key/DataFrame.boxplot return value
603- or DataFrame.boxplot return value in case subplots=figures=False
607+ dict of key/value pairs or DataFrame.boxplot
608+ When subplots=True, returns a dictionary where keys are group names and
609+ values are the matplotlib BoxPlot objects for each group.
610+ When subplots=False, returns a single matplotlib BoxPlot object for the
611+ combined plot.
612+
613+ See Also
614+ --------
615+ DataFrame.boxplot : Make box plots from DataFrame data.
616+ Series.boxplot : Make box plots from Series data.
617+ pandas.plotting.boxplot : Lower-level method for creating box plots.
604618
605619 Examples
606620 --------
0 commit comments