MCPcopy
hub / github.com/matplotlib/matplotlib / test_polar_invertedylim_rorigin

Function test_polar_invertedylim_rorigin

lib/matplotlib/tests/test_polar.py:197–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195
196@image_comparison(['polar_invertedylim_rorigin.png'], style='default')
197def test_polar_invertedylim_rorigin():
198 fig = plt.figure()
199 ax = fig.add_axes((0.1, 0.1, 0.8, 0.8), polar=True)
200 ax.yaxis.set_inverted(True)
201 # Set the rlims to inverted (2, 0) without calling set_rlim, to check that
202 # viewlims are correctly unstaled before draw()ing.
203 ax.plot([0, 0], [0, 2], c="none")
204 ax.margins(0)
205 ax.set_rorigin(3)
206
207
208@image_comparison(['polar_theta_position.png'], style='default')

Callers

nothing calls this directly

Calls 6

figureMethod · 0.80
add_axesMethod · 0.80
set_invertedMethod · 0.80
set_roriginMethod · 0.80
plotMethod · 0.45
marginsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…