Skip to content

Commit b57d43d

Browse files
committed
Black and flake
1 parent 5e654e5 commit b57d43d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/plotting/_core.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def hist_series(
6868
--------
6969
matplotlib.axes.Axes.hist : Plot a histogram using matplotlib.
7070
"""
71-
plot_backend = _get_plot_backend(kwds.pop('backend', None))
71+
plot_backend = _get_plot_backend(kwds.pop("backend", None))
7272
return plot_backend.hist_series(
7373
self,
7474
by=by,
@@ -178,7 +178,7 @@ def hist_frame(
178178
... }, index=['pig', 'rabbit', 'duck', 'chicken', 'horse'])
179179
>>> hist = df.hist(bins=3)
180180
"""
181-
plot_backend = _get_plot_backend(kwds.pop('backend', None))
181+
plot_backend = _get_plot_backend(kwds.pop("backend", None))
182182
return plot_backend.hist_frame(
183183
data,
184184
column=column,
@@ -373,7 +373,7 @@ def boxplot(
373373
>>> type(boxplot)
374374
<class 'numpy.ndarray'>
375375
"""
376-
plot_backend = _get_plot_backend(kwds.pop('backend', None))
376+
plot_backend = _get_plot_backend(kwds.pop("backend", None))
377377
return plot_backend.boxplot(
378378
data,
379379
column=column,
@@ -403,7 +403,7 @@ def boxplot_frame(
403403
return_type=None,
404404
**kwds
405405
):
406-
plot_backend = _get_plot_backend(kwds.pop('backend', None))
406+
plot_backend = _get_plot_backend(kwds.pop("backend", None))
407407
return plot_backend.boxplot_frame(
408408
self,
409409
column=column,
@@ -482,7 +482,7 @@ def boxplot_frame_groupby(
482482
>>> grouped = df.unstack(level='lvl1').groupby(level=0, axis=1)
483483
>>> boxplot_frame_groupby(grouped, subplots=False)
484484
"""
485-
plot_backend = _get_plot_backend(kwds.pop('backend', None))
485+
plot_backend = _get_plot_backend(kwds.pop("backend", None))
486486
return plot_backend.boxplot_frame_groupby(
487487
grouped,
488488
subplots=subplots,
@@ -715,7 +715,7 @@ def _get_call_args(backend_name, data, args, kwargs):
715715
return x, y, kind, kwargs
716716

717717
def __call__(self, *args, **kwargs):
718-
plot_backend = _get_plot_backend(kwds.pop('backend', None))
718+
plot_backend = _get_plot_backend(kwargs.pop("backend", None))
719719

720720
x, y, kind, kwargs = self._get_call_args(
721721
plot_backend.__name__, self._parent, args, kwargs

0 commit comments

Comments
 (0)