Skip to content

Commit fbbca5c

Browse files
committed
Rename variable for typing
1 parent 62645c0 commit fbbca5c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pandas/plotting/_matplotlib/boxplot.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ def maybe_color_bp(self, bp) -> None:
190190

191191
def _make_plot(self, fig: Figure) -> None:
192192
if self.subplots:
193-
axes = []
194-
labels = []
193+
obj_axes = []
194+
obj_labels = []
195195

196196
# Re-create iterated data if `by` is assigned by users
197197
data = (
@@ -222,12 +222,12 @@ def _make_plot(self, fig: Figure) -> None:
222222
ax, y, column_num=i, return_type=self.return_type, **kwds
223223
)
224224
self.maybe_color_bp(bp)
225-
axes.append(ret)
226-
labels.append(label)
225+
obj_axes.append(ret)
226+
obj_labels.append(label)
227227
_set_ticklabels(
228228
ax=ax, labels=ticklabels, is_vertical=self.orientation == "vertical"
229229
)
230-
self._return_obj = pd.Series(axes, index=labels, dtype=object)
230+
self._return_obj = pd.Series(obj_axes, index=obj_labels, dtype=object)
231231
else:
232232
y = self.data.values.T
233233
ax = self._get_ax(0)

0 commit comments

Comments
 (0)