Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 940c679

Browse filesBrowse files
fixing CI
1 parent eb3f8c5 commit 940c679
Copy full SHA for 940c679

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

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

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/tests/test_core/test_px/test_pandas_backend.py
+4-4Lines changed: 4 additions & 4 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.