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

Function test_polar_theta_position

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

Source from the content-addressed store, hash-verified

207
208@image_comparison(['polar_theta_position.png'], style='default')
209def test_polar_theta_position():
210 r = np.arange(0, 3.0, 0.01)
211 theta = 2*np.pi*r
212
213 fig = plt.figure()
214 ax = fig.add_axes((0.1, 0.1, 0.8, 0.8), polar=True)
215 ax.plot(theta, r)
216 ax.set_theta_zero_location("NW", 30)
217 ax.set_theta_direction('clockwise')
218
219
220@image_comparison(['polar_rlabel_position.png'], style='default')

Callers

nothing calls this directly

Calls 5

figureMethod · 0.80
add_axesMethod · 0.80
set_theta_directionMethod · 0.80
plotMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…