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

Function test_multiaxes

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

Source from the content-addressed store, hash-verified

166
167
168def test_multiaxes():
169 fig, ax = plt.subplots(2)
170 ax[0].plot(range(4))
171 ax[1].plot(range(10))
172
173 _assert_output_equal(
174 fake_renderer_output(fig, FakeRenderer),
175 """
176 opening figure
177 opening axes
178 draw path with 4 vertices
179 closing axes
180 opening axes
181 draw path with 10 vertices
182 closing axes
183 closing figure
184 """,
185 )
186
187
188def test_image():

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