Skip to content

Commit 2ad3694

Browse files
committed
ENH: cleanup post cherry-pick
1 parent bb52860 commit 2ad3694

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pandas/tools/plotting.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ def _grouped_plot(plotf, data, by=None, numeric_only=True, figsize=None,
140140
# our favorite default beating matplotlib's idea of the
141141
# default size
142142
figsize = (10, 5)
143-
fig, axes = plt.subplots(nrows=nrows, ncols=ncols, figsize=figsize,
144-
sharex=sharex, sharey=sharey)
143+
fig, axes = subplots(nrows=nrows, ncols=ncols, figsize=figsize,
144+
sharex=sharex, sharey=sharey)
145145

146146
ravel_axes = []
147147
for row in axes:
@@ -167,9 +167,9 @@ def _grouped_plot_by_column(plotf, data, columns=None, by=None,
167167
ngroups = len(columns)
168168

169169
nrows, ncols = _get_layout(ngroups)
170-
fig, axes = plt.subplots(nrows=nrows, ncols=ncols,
171-
sharex=True, sharey=True,
172-
figsize=figsize)
170+
fig, axes = subplots(nrows=nrows, ncols=ncols,
171+
sharex=True, sharey=True,
172+
figsize=figsize)
173173

174174
if isinstance(axes, plt.Axes):
175175
ravel_axes = [axes]

0 commit comments

Comments
 (0)