From dd68411df6499a8699e188886e1a40b7b5a5b744 Mon Sep 17 00:00:00 2001 From: Simon Hawkins Date: Sat, 8 Jun 2019 15:26:18 +0100 Subject: [PATCH] Fix mpl 3.0.3 grid settings test failure --- pandas/tests/plotting/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/plotting/common.py b/pandas/tests/plotting/common.py index 7b108157096b3..73fc59389181a 100644 --- a/pandas/tests/plotting/common.py +++ b/pandas/tests/plotting/common.py @@ -446,7 +446,7 @@ def is_grid_on(): # for mpl 2.2.2, gridOn and gridline.get_visible disagree. # for new MPL, they are the same. - if self.mpl_ge_3_0_0: + if self.mpl_ge_3_1_0: xoff = all(not g.gridline.get_visible() for g in xticks) yoff = all(not g.gridline.get_visible() for g in yticks) else: