MCPcopy Create free account
hub / github.com/plotly/plotly.py / test_to_json

Function test_to_json

tests/test_io/test_to_from_json.py:39–40  ·  view source on GitHub ↗
(fig1)

Source from the content-addressed store, hash-verified

37# to_json
38# -------
39def test_to_json(fig1):
40 assert pio.to_json(fig1, remove_uids=False) == json.dumps(fig1, **opts)
41
42
43def test_to_json_remove_uids(fig1):

Callers

nothing calls this directly

Calls 1

to_jsonMethod · 0.45

Tested by

no test coverage detected