MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_polar_rorigin

Function test_polar_rorigin

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

Source from the content-addressed store, hash-verified

175
176@image_comparison(['polar_rorigin.png'], style='default')
177def test_polar_rorigin():
178 r = np.arange(0, 3.0, 0.01)
179 theta = 2*np.pi*r
180
181 fig = plt.figure()
182 ax = fig.add_axes((0.1, 0.1, 0.8, 0.8), polar=True)
183 ax.plot(theta, r)
184 ax.set_rmax(2.0)
185 ax.set_rmin(0.5)
186 ax.set_rorigin(0.0)
187
188
189@image_comparison(['polar_invertedylim.png'], style='default')

Callers

nothing calls this directly

Calls 6

figureMethod · 0.80
add_axesMethod · 0.80
set_rmaxMethod · 0.80
set_rminMethod · 0.80
set_roriginMethod · 0.80
plotMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…