Skip to content

Commit a3f2974

Browse files
committed
BUG: fix rebase conflicts
1 parent ce139c0 commit a3f2974

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tools/plotting.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ def plot_series(series, label=None, kind='line', use_index=True, rot=None,
961961
return plot_obj.ax
962962

963963
def boxplot(data, column=None, by=None, ax=None, fontsize=None,
964-
rot=0, grid=True, figsize=None, **kwargs):
964+
rot=0, grid=True, figsize=None, **kwds):
965965
"""
966966
Make a box plot from DataFrame column optionally grouped b ysome columns or
967967
other inputs
@@ -991,7 +991,7 @@ def plot_group(grouped, ax):
991991
keys, values = zip(*grouped)
992992
keys = [_stringify(x) for x in keys]
993993
ax.boxplot(values, **kwds)
994-
if kwds.get('vert', 1) == 1:
994+
if kwds.get('vert', 1):
995995
ax.set_xticklabels(keys, rotation=rot, fontsize=fontsize)
996996
else:
997997
ax.set_yticklabels(keys, rotation=rot, fontsize=fontsize)
@@ -1027,7 +1027,7 @@ def plot_group(grouped, ax):
10271027
# Return boxplot dict in single plot case
10281028

10291029
bp = ax.boxplot(list(data[cols].values.T), **kwds)
1030-
if kwds.get('vert', 1) == 1:
1030+
if kwds.get('vert', 1):
10311031
ax.set_xticklabels(keys, rotation=rot, fontsize=fontsize)
10321032
else:
10331033
ax.set_yticklabels(keys, rotation=rot, fontsize=fontsize)

0 commit comments

Comments
 (0)