Skip to content

Commit 5b3656c

Browse files
author
y-p
committed
BUG: df.plot(grid=None) (was False), obey mpl's default style GH3223
1 parent bdabec4 commit 5b3656c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

RELEASE.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,13 @@ pandas 0.11.0
259259
- Fix automatic color cycling when plotting consecutive timeseries
260260
without color arguments (GH2816_)
261261
- fixed bug in the pickling of PeriodIndex (GH2891_)
262-
- Upcast/split blocks when needed in a mixed DataFrame when setitem
262+
- Upcast/split blocks when needed in a mixed DataFrame when setitem
263263
with an indexer (GH3216_)
264264
- Invoking df.applymap on a dataframe with dupe cols now raises a ValueError (GH2786_)
265265
- Apply with invalid returned indices raise correct Exception (GH2808_)
266266
- Fixed a bug in plotting log-scale bar plots (GH3247_)
267+
- df.plot() grid on/off now obeys the mpl default style, just like
268+
series.plot(). (GH3233_)
267269

268270
.. _GH622: https://github.com/pydata/pandas/issues/622
269271
.. _GH797: https://github.com/pydata/pandas/issues/797
@@ -276,6 +278,7 @@ pandas 0.11.0
276278
.. _GH2810: https://github.com/pydata/pandas/issues/2810
277279
.. _GH2837: https://github.com/pydata/pandas/issues/2837
278280
.. _GH2898: https://github.com/pydata/pandas/issues/2898
281+
.. _GH3233: https://github.com/pydata/pandas/issues/3233
279282
.. _GH3035: https://github.com/pydata/pandas/issues/3035
280283
.. _GH3020: https://github.com/pydata/pandas/issues/3020
281284
.. _GH2978: https://github.com/pydata/pandas/issues/2978

pandas/tools/plotting.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,7 @@ class HistPlot(MPLPlot):
14261426

14271427

14281428
def plot_frame(frame=None, x=None, y=None, subplots=False, sharex=True,
1429-
sharey=False, use_index=True, figsize=None, grid=False,
1429+
sharey=False, use_index=True, figsize=None, grid=None,
14301430
legend=True, rot=None, ax=None, style=None, title=None,
14311431
xlim=None, ylim=None, logx=False, logy=False, xticks=None,
14321432
yticks=None, kind='line', sort_columns=False, fontsize=None,
@@ -1455,7 +1455,7 @@ def plot_frame(frame=None, x=None, y=None, subplots=False, sharex=True,
14551455
Sort column names to determine plot ordering
14561456
title : string
14571457
Title to use for the plot
1458-
grid : boolean, default False
1458+
grid : boolean, default None (matlab style default)
14591459
Axis grid lines
14601460
legend : boolean, default True
14611461
Place legend on axis subplots

0 commit comments

Comments
 (0)