Skip to content

Commit 14a1da6

Browse files
Update packages/python/plotly/plotly/tests/test_optional/test_px/test_px.py
Co-authored-by: Emily KL <4672118+emilykl@users.noreply.github.com>
1 parent 5e6fb93 commit 14a1da6

File tree

1 file changed

+1
-1
lines changed
  • packages/python/plotly/plotly/tests/test_optional/test_px

1 file changed

+1
-1
lines changed

packages/python/plotly/plotly/tests/test_optional/test_px/test_px.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def test_category_order_with_category_as_x(backend):
307307
)
308308
assert fig["layout"]["xaxis"]["categoryarray"] == ("Thur", "Fri", "Sat", "Sun")
309309
for trace in fig["data"]:
310-
assert sorted(set(trace["x"])) == ["Fri", "Sat", "Sun", "Thur"]
310+
assert set(trace["x"]) == {"Thur", "Fri", "Sat", "Sun"}
311311

312312

313313
def test_permissive_defaults():

0 commit comments

Comments
 (0)