Skip to content

Commit 53cc1b7

Browse files
committed
DOC/CLN: Cleanups plotting.py
1 parent fccd7fe commit 53cc1b7

File tree

3 files changed

+188
-213
lines changed

3 files changed

+188
-213
lines changed

doc/source/v0.15.0.txt

+2
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ API changes
257257

258258
- Added support for numpy 1.8+ data types (bool_, int_, float_, string_) for conversion to R dataframe (:issue:`8400`)
259259

260+
- ``DataFrame.plot`` and ``Series.plot`` keywords are now have consistent orders (:issue:`8037`)
261+
260262
.. _whatsnew_0150.dt:
261263

262264
.dt accessor

pandas/tests/test_graphics.py

+3
Original file line numberDiff line numberDiff line change
@@ -2784,6 +2784,9 @@ def test_pie_df(self):
27842784
ax = _check_plot_works(df.plot, kind='pie', y='Y')
27852785
self._check_text_labels(ax.texts, df.index)
27862786

2787+
ax = _check_plot_works(df.plot, kind='pie', y=2)
2788+
self._check_text_labels(ax.texts, df.index)
2789+
27872790
axes = _check_plot_works(df.plot, kind='pie', subplots=True)
27882791
self.assertEqual(len(axes), len(df.columns))
27892792
for ax in axes:

0 commit comments

Comments
 (0)