Skip to content

Commit ae0cb01

Browse files
Fix mpl 3.0.3 grid settings test failure (#26737)
1 parent c6fdb6b commit ae0cb01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/plotting/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def is_grid_on():
446446
# for mpl 2.2.2, gridOn and gridline.get_visible disagree.
447447
# for new MPL, they are the same.
448448

449-
if self.mpl_ge_3_0_0:
449+
if self.mpl_ge_3_1_0:
450450
xoff = all(not g.gridline.get_visible() for g in xticks)
451451
yoff = all(not g.gridline.get_visible() for g in yticks)
452452
else:

0 commit comments

Comments
 (0)