Skip to content

Commit 1b011d2

Browse files
committed
MPL compat
1 parent 6091c16 commit 1b011d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/plotting/common.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,9 @@ def _check_grid_settings(self, obj, kinds, kws={}):
441441
import matplotlib as mpl
442442

443443
def is_grid_on():
444-
xoff = all(not g.gridOn
444+
xoff = all(not g.gridline.get_visible()
445445
for g in self.plt.gca().xaxis.get_major_ticks())
446-
yoff = all(not g.gridOn
446+
yoff = all(not g.gridline.get_visible()
447447
for g in self.plt.gca().yaxis.get_major_ticks())
448448
return not (xoff and yoff)
449449

0 commit comments

Comments
 (0)