File tree 3 files changed +10
-3
lines changed
3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,18 @@ def _ok_for_gaussian_kde(kind):
41
41
return True
42
42
43
43
44
- @tm .mplskip
45
44
class TestPlotBase (tm .TestCase ):
46
45
46
+ @classmethod
47
+ def setup_class (cls ):
48
+ super (TestPlotBase , cls ).setup_class ()
49
+
50
+ try :
51
+ import matplotlib as mpl
52
+ mpl .use ("Agg" , warn = False )
53
+ except ImportError :
54
+ pytest .skip ("matplotlib not installed" )
55
+
47
56
def setup_method (self , method ):
48
57
49
58
import matplotlib as mpl
Original file line number Diff line number Diff line change 28
28
_ok_for_gaussian_kde )
29
29
30
30
31
- @tm .mplskip
32
31
class TestDataFramePlots (TestPlotBase ):
33
32
34
33
def setup_method (self , method ):
Original file line number Diff line number Diff line change 11
11
from pandas .tests .plotting .common import TestPlotBase
12
12
13
13
14
- @tm .mplskip
15
14
class TestDataFrameGroupByPlots (TestPlotBase ):
16
15
17
16
def test_series_groupby_plotting_nominally_works (self ):
You can’t perform that action at this time.
0 commit comments