We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84d2d79 commit fb00698Copy full SHA for fb00698
pandas/plotting/_matplotlib/boxplot.py
@@ -212,8 +212,6 @@ def _make_plot(self, fig: Figure) -> None:
212
213
# When `by` is assigned, the ticklabels will become unique grouped
214
# values, instead of label which is used as subtitle in this case.
215
- # error: "Index" has no attribute "levels"; maybe "nlevels"?
216
- levels = self.data.columns.levels # type: ignore[attr-defined]
217
ticklabels = [pprint_thing(col) for col in self.data.columns.get_level_values(0)] #
218
else:
219
ticklabels = [pprint_thing(label)]
0 commit comments