Skip to content

Commit

Permalink
lock down fix for #1836
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaskruchten committed Oct 22, 2019
1 parent 0340077 commit ee48cca
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def test_pandas_series():
assert fig.data[0].hovertemplate == "day=%{x}<br>y=%{y}"
fig = px.bar(tips, x="day", y=before_tip, labels={"y": "bill"})
assert fig.data[0].hovertemplate == "day=%{x}<br>bill=%{y}"
# lock down that we can pass df.col to facet_*
fig = px.bar(tips, x="day", y="tip", facet_row=tips.day, facet_col=tips.day)
assert fig.data[0].hovertemplate == "day=%{x}<br>tip=%{y}"


def test_several_dataframes():
Expand Down

0 comments on commit ee48cca

Please sign in to comment.