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 ee48cca

Browse filesBrowse files
lock down fix for plotly#1836
1 parent 0340077 commit ee48cca
Copy full SHA for ee48cca

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

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

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/tests/test_core/test_px/test_px_input.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ def test_pandas_series():
6161
assert fig.data[0].hovertemplate == "day=%{x}<br>y=%{y}"
6262
fig = px.bar(tips, x="day", y=before_tip, labels={"y": "bill"})
6363
assert fig.data[0].hovertemplate == "day=%{x}<br>bill=%{y}"
64+
# lock down that we can pass df.col to facet_*
65+
fig = px.bar(tips, x="day", y="tip", facet_row=tips.day, facet_col=tips.day)
66+
assert fig.data[0].hovertemplate == "day=%{x}<br>tip=%{y}"
6467

6568

6669
def test_several_dataframes():

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.