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

Function test_markers

plotly/matplotlylib/mplexporter/tests/test_basic.py:50–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49
50def test_markers():
51 fig, ax = plt.subplots()
52 ax.plot(range(2), "ok")
53
54 _assert_output_equal(
55 fake_renderer_output(fig, FakeRenderer),
56 """
57 opening figure
58 opening axes
59 draw path with 25 vertices
60 draw path with 25 vertices
61 closing axes
62 closing figure
63 """,
64 )
65
66 _assert_output_equal(
67 fake_renderer_output(fig, FullFakeRenderer),
68 """
69 opening figure
70 opening axes
71 draw 2 markers
72 closing axes
73 closing figure
74 """,
75 )
76
77
78def test_path_collection():

Callers

nothing calls this directly

Calls 3

_assert_output_equalFunction · 0.85
fake_renderer_outputFunction · 0.85
subplotsMethod · 0.80

Tested by

no test coverage detected