We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd9efd7 commit f0ea701Copy full SHA for f0ea701
pandas/tests/plotting/test_style.py
@@ -1,16 +1,11 @@
1
-from contextlib import suppress
2
-
3
import pytest
4
5
-import pandas.util._test_decorators as td
6
7
from pandas import Series
8
9
-with suppress(ImportError):
10
- from pandas.plotting._matplotlib.style import get_standard_colors
+pytest.importorskip("matplotlib")
+from pandas.plotting._matplotlib.style import get_standard_colors
11
12
13
-@td.skip_if_no_mpl
14
class TestGetStandardColors:
15
@pytest.mark.parametrize(
16
"num_colors, expected",
0 commit comments