MCPcopy Index your code
hub / github.com/plotly/plotly.py / test_bar_data

Function test_bar_data

tests/test_optional/test_matplotlylib/test_data.py:65–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64@pytest.mark.skip
65def test_bar_data():
66 fig, ax = plt.subplots()
67 ax.bar(D["x1"], D["y1"])
68 renderer = run_fig(fig)
69 for yi, yf in zip(renderer.plotly_fig["data"][0]["y"], D["y1"]):
70 assert yi == yf, (
71 str(renderer.plotly_fig["data"][0]["y"]) + " is not " + str(D["y1"])
72 )
73
74
75@pytest.mark.skip

Callers

nothing calls this directly

Calls 3

run_figFunction · 0.85
subplotsMethod · 0.80
barMethod · 0.45

Tested by

no test coverage detected