Skip to content

Commit 8560bfa

Browse files
author
Tom Augspurger
committed
Merge pull request #8459 from TomAugspurger/plot_cln
VIS: Cleanups in plotting.py
2 parents d595a6c + 678409f commit 8560bfa

File tree

3 files changed

+198
-220
lines changed

3 files changed

+198
-220
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
@@ -2790,6 +2790,9 @@ def test_pie_df(self):
27902790
ax = _check_plot_works(df.plot, kind='pie', y='Y')
27912791
self._check_text_labels(ax.texts, df.index)
27922792

2793+
ax = _check_plot_works(df.plot, kind='pie', y=2)
2794+
self._check_text_labels(ax.texts, df.index)
2795+
27932796
axes = _check_plot_works(df.plot, kind='pie', subplots=True)
27942797
self.assertEqual(len(axes), len(df.columns))
27952798
for ax in axes:

0 commit comments

Comments
 (0)