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

Function test_auto_boxlike_overlay

tests/test_optional/test_px/test_px_input.py:660–668  ·  view source on GitHub ↗
(constructor, fn, mode, x, y, color, result)

Source from the content-addressed store, hash-verified

658 ],
659)
660def test_auto_boxlike_overlay(constructor, fn, mode, x, y, color, result):
661 df = constructor(
662 dict(
663 categorical1=["a", "a", "b", "b"],
664 categorical2=["a", "a", "b", "b"],
665 numerical=[1, 2, 3, 4],
666 )
667 )
668 assert fn(df, x=x, y=y, color=color).layout[mode] == result
669
670
671@pytest.mark.parametrize("fn", [px.scatter, px.line, px.area, px.bar])

Callers

nothing calls this directly

Calls 2

constructorFunction · 0.85
fnFunction · 0.50

Tested by

no test coverage detected