Skip to content

Commit 4d8f2f9

Browse files
committed
moar
1 parent d6bfe40 commit 4d8f2f9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pandas/tests/plotting/test_series.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,9 @@ def test_plot_fails_with_dupe_color_and_style(self):
571571

572572
@pytest.mark.slow
573573
def test_hist_kde(self):
574+
if not self.mpl_ge_1_5_0:
575+
pytest.skip("mpl is not supported")
576+
574577
_, ax = self.plt.subplots()
575578
ax = self.ts.plot.hist(logy=True, ax=ax)
576579
self._check_ax_scales(ax, yaxis='log')
@@ -596,6 +599,9 @@ def test_hist_kde(self):
596599
def test_kde_kwargs(self):
597600
tm._skip_if_no_scipy()
598601
_skip_if_no_scipy_gaussian_kde()
602+
if not self.mpl_ge_1_5_0:
603+
pytest.skip("mpl is not supported")
604+
599605
from numpy import linspace
600606
_check_plot_works(self.ts.plot.kde, bw_method=.5,
601607
ind=linspace(-100, 100, 20))
@@ -611,6 +617,9 @@ def test_kde_kwargs(self):
611617
def test_kde_missing_vals(self):
612618
tm._skip_if_no_scipy()
613619
_skip_if_no_scipy_gaussian_kde()
620+
if not self.mpl_ge_1_5_0:
621+
pytest.skip("mpl is not supported")
622+
614623
s = Series(np.random.uniform(size=50))
615624
s[0] = np.nan
616625
axes = _check_plot_works(s.plot.kde)
@@ -638,6 +647,9 @@ def test_hist_kwargs(self):
638647

639648
@pytest.mark.slow
640649
def test_hist_kde_color(self):
650+
if not self.mpl_ge_1_5_0:
651+
pytest.skip("mpl is not supported")
652+
641653
_, ax = self.plt.subplots()
642654
ax = self.ts.plot.hist(logy=True, bins=10, color='b', ax=ax)
643655
self._check_ax_scales(ax, yaxis='log')

0 commit comments

Comments
 (0)