Skip to content

Commit 003d447

Browse files
committed
py2
1 parent b799e1e commit 003d447

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ def test_composite_hover():
3333
)
3434
assert (
3535
fig.data[0].hovertemplate
36-
== "tip=%{x}<br>total_bill=%{customdata[3]:.1f}<br>sex=%{customdata[1]}<extra></extra>"
36+
== "tip=%{x}<br>total_bill=%{customdata[3]:.1f}<br>sex=%{customdata[1]}<extra></extra>" or
37+
fig.data[0].hovertemplate
38+
== "tip=%{x}<br>total_bill=%{customdata[1]:.1f}<br>sex=%{customdata[3]}<extra></extra>"
3739
)
3840

3941

0 commit comments

Comments
 (0)