Skip to content

Commit cd8e0be

Browse files
committed
Revert changes to to_json_plotly tests
1 parent 7bd7993 commit cd8e0be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/python/plotly/plotly/tests/test_io/test_to_from_plotly_json.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def datetime_array(request, datetime_value):
137137
def test_graph_object_input(engine, pretty):
138138
scatter = go.Scatter(x=[1, 2, 3], y=np.array([4, 5, 6]))
139139
result = pio.to_json_plotly(scatter, engine=engine)
140-
expected = """{"x":[1,2,3],"y":{"dtype":"i1","bdata":"BAUG"},"type":"scatter"}"""
140+
expected = """{"x":[1,2,3],"y":[4,5,6],"type":"scatter"}"""
141141
assert result == expected
142142
check_roundtrip(result, engine=engine, pretty=pretty)
143143

0 commit comments

Comments
 (0)