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

Function test_thetalim_args

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

Source from the content-addressed store, hash-verified

393
394
395def test_thetalim_args():
396 ax = plt.subplot(projection='polar')
397 ax.set_thetalim(0, 1)
398 assert tuple(np.radians((ax.get_thetamin(), ax.get_thetamax()))) == (0, 1)
399 ax.set_thetalim((2, 3))
400 assert tuple(np.radians((ax.get_thetamin(), ax.get_thetamax()))) == (2, 3)
401
402
403def test_default_thetalocator():

Callers

nothing calls this directly

Calls 3

set_thetalimMethod · 0.80
get_thetaminMethod · 0.80
get_thetamaxMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…