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

Function test_line_mode

tests/test_optional/test_px/test_px.py:103–112  ·  view source on GitHub ↗
(backend, extra_kwargs, expected_mode)

Source from the content-addressed store, hash-verified

101 ],
102)
103def test_line_mode(backend, extra_kwargs, expected_mode):
104 gapminder = px.data.gapminder(return_type=backend)
105 fig = px.line(
106 gapminder,
107 x="year",
108 y="pop",
109 color="country",
110 **extra_kwargs,
111 )
112 assert fig.data[0].mode == expected_mode
113
114
115def test_px_templates(backend):

Callers

nothing calls this directly

Calls 1

lineMethod · 0.45

Tested by

no test coverage detected