Skip to content

Commit ee48cca

Browse files
lock down fix for #1836
1 parent 0340077 commit ee48cca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: packages/python/plotly/plotly/tests/test_core/test_px/test_px_input.py

+3
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)