Skip to content

Commit 940c679

Browse files
fixing CI
1 parent eb3f8c5 commit 940c679

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/python/plotly/plotly/tests/test_core/test_px/test_pandas_backend.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@
2424
(lambda df: df["A"].hist(), lambda df: px.histogram(df["A"])),
2525
],
2626
)
27-
@pytest.mark.skipif(
28-
not hasattr(pd.options.plotting, "backend"),
29-
reason="Currently installed pandas doesn't support plotting backends.",
30-
)
3127
def test_pandas_equiv(pandas_fn, px_fn):
3228
pd.options.plotting.backend = "plotly"
3329
df = pd.DataFrame(np.random.randn(100, 4), columns=list("ABCD")).cumsum()
3430
assert pandas_fn(df) == px_fn(df)
3531

3632

33+
@pytest.mark.skipif(
34+
not hasattr(pd.options.plotting, "backend"),
35+
reason="Currently installed pandas doesn't support plotting backends.",
36+
)
3737
def test_pandas_example():
3838
pd.options.plotting.backend = "plotly"
3939
ts = pd.Series(np.random.randn(1000), index=pd.date_range("1/1/2000", periods=1000))

0 commit comments

Comments
 (0)