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

Function test_lines

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

Source from the content-addressed store, hash-verified

21
22
23def test_lines():
24 fig, ax = plt.subplots()
25 ax.plot(range(20), "-k")
26
27 _assert_output_equal(
28 fake_renderer_output(fig, FakeRenderer),
29 """
30 opening figure
31 opening axes
32 draw path with 20 vertices
33 closing axes
34 closing figure
35 """,
36 )
37
38 _assert_output_equal(
39 fake_renderer_output(fig, FullFakeRenderer),
40 """
41 opening figure
42 opening axes
43 draw line with 20 points
44 closing axes
45 closing figure
46 """,
47 )
48
49
50def test_markers():

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