Skip to content

Commit c895916

Browse files
committed
Addressed mypy error
1 parent 11c7a88 commit c895916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/plotting/_matplotlib/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1943,7 +1943,7 @@ def _make_plot(self, fig: Figure) -> None:
19431943

19441944
self.subplots: list[Any]
19451945

1946-
if type(self.subplots) != bool:
1946+
if not isinstance(self.subplots, bool):
19471947
if bool(self.subplots) and self.stacked:
19481948
for i, sub_plot in enumerate(self.subplots):
19491949
if len(sub_plot) <= 1:

0 commit comments

Comments
 (0)