Skip to content

Commit f81fb81

Browse files
committed
Added missing import in boxplot_frame_groupby example
1 parent cb35d8a commit f81fb81

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

doc/source/whatsnew/v1.1.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,7 @@ Plotting
804804
- :func:`.plot` for line/bar now accepts color by dictonary (:issue:`8193`).
805805
- Bug in :meth:`DataFrame.plot.hist` where weights are not working for multiple columns (:issue:`33173`)
806806
- Bug in :meth:`DataFrame.boxplot` and :meth:`DataFrame.plot.boxplot` lost color attributes of ``medianprops``, ``whiskerprops``, ``capprops`` and ``medianprops`` (:issue:`30346`)
807+
- Bug in :meth:`DataFrame.boxplot` where there is a missing import in a code example (:issue:`28903`)
807808
- Bug in :meth:`DataFrame.hist` where the order of ``column`` argument was ignored (:issue:`29235`)
808809
- Bug in :meth:`DataFrame.plot.scatter` that when adding multiple plots with different ``cmap``, colorbars alway use the first ``cmap`` (:issue:`33389`)
809810

pandas/plotting/_core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ def boxplot_frame_groupby(
548548
Examples
549549
--------
550550
>>> import itertools
551+
>>> from pandas.plotting import boxplot_frame_groupby
551552
>>> tuples = [t for t in itertools.product(range(1000), range(4))]
552553
>>> index = pd.MultiIndex.from_tuples(tuples, names=['lvl0', 'lvl1'])
553554
>>> data = np.random.randn(len(index),4)

0 commit comments

Comments
 (0)