@@ -571,6 +571,9 @@ def test_plot_fails_with_dupe_color_and_style(self):
571
571
572
572
@pytest .mark .slow
573
573
def test_hist_kde (self ):
574
+ if not self .mpl_ge_1_5_0 :
575
+ pytest .skip ("mpl is not supported" )
576
+
574
577
_ , ax = self .plt .subplots ()
575
578
ax = self .ts .plot .hist (logy = True , ax = ax )
576
579
self ._check_ax_scales (ax , yaxis = 'log' )
@@ -596,6 +599,9 @@ def test_hist_kde(self):
596
599
def test_kde_kwargs (self ):
597
600
tm ._skip_if_no_scipy ()
598
601
_skip_if_no_scipy_gaussian_kde ()
602
+ if not self .mpl_ge_1_5_0 :
603
+ pytest .skip ("mpl is not supported" )
604
+
599
605
from numpy import linspace
600
606
_check_plot_works (self .ts .plot .kde , bw_method = .5 ,
601
607
ind = linspace (- 100 , 100 , 20 ))
@@ -611,6 +617,9 @@ def test_kde_kwargs(self):
611
617
def test_kde_missing_vals (self ):
612
618
tm ._skip_if_no_scipy ()
613
619
_skip_if_no_scipy_gaussian_kde ()
620
+ if not self .mpl_ge_1_5_0 :
621
+ pytest .skip ("mpl is not supported" )
622
+
614
623
s = Series (np .random .uniform (size = 50 ))
615
624
s [0 ] = np .nan
616
625
axes = _check_plot_works (s .plot .kde )
@@ -638,6 +647,9 @@ def test_hist_kwargs(self):
638
647
639
648
@pytest .mark .slow
640
649
def test_hist_kde_color (self ):
650
+ if not self .mpl_ge_1_5_0 :
651
+ pytest .skip ("mpl is not supported" )
652
+
641
653
_ , ax = self .plt .subplots ()
642
654
ax = self .ts .plot .hist (logy = True , bins = 10 , color = 'b' , ax = ax )
643
655
self ._check_ax_scales (ax , yaxis = 'log' )
0 commit comments