@@ -1289,6 +1289,9 @@ def test_boxplot_subplots_return_type(self):
1289
1289
def test_kde_df (self ):
1290
1290
tm ._skip_if_no_scipy ()
1291
1291
_skip_if_no_scipy_gaussian_kde ()
1292
+ if not self .mpl_ge_1_5_0 :
1293
+ pytest .skip ("mpl is not supported" )
1294
+
1292
1295
df = DataFrame (randn (100 , 4 ))
1293
1296
ax = _check_plot_works (df .plot , kind = 'kde' )
1294
1297
expected = [pprint_thing (c ) for c in df .columns ]
@@ -1310,6 +1313,9 @@ def test_kde_df(self):
1310
1313
def test_kde_missing_vals (self ):
1311
1314
tm ._skip_if_no_scipy ()
1312
1315
_skip_if_no_scipy_gaussian_kde ()
1316
+ if not self .mpl_ge_1_5_0 :
1317
+ pytest .skip ("mpl is not supported" )
1318
+
1313
1319
df = DataFrame (np .random .uniform (size = (100 , 4 )))
1314
1320
df .loc [0 , 0 ] = np .nan
1315
1321
_check_plot_works (df .plot , kind = 'kde' )
@@ -1834,6 +1840,8 @@ def test_hist_colors(self):
1834
1840
def test_kde_colors (self ):
1835
1841
tm ._skip_if_no_scipy ()
1836
1842
_skip_if_no_scipy_gaussian_kde ()
1843
+ if not self .mpl_ge_1_5_0 :
1844
+ pytest .skip ("mpl is not supported" )
1837
1845
1838
1846
from matplotlib import cm
1839
1847
@@ -1857,6 +1865,8 @@ def test_kde_colors(self):
1857
1865
def test_kde_colors_and_styles_subplots (self ):
1858
1866
tm ._skip_if_no_scipy ()
1859
1867
_skip_if_no_scipy_gaussian_kde ()
1868
+ if not self .mpl_ge_1_5_0 :
1869
+ pytest .skip ("mpl is not supported" )
1860
1870
1861
1871
from matplotlib import cm
1862
1872
default_colors = self ._maybe_unpack_cycler (self .plt .rcParams )
0 commit comments