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

Function test_polar_no_data

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

Source from the content-addressed store, hash-verified

293
294
295def test_polar_no_data():
296 plt.subplot(projection="polar")
297 ax = plt.gca()
298 assert ax.get_rmin() == 0 and ax.get_rmax() == 1
299 plt.close("all")
300 # Used to behave differently (by triggering an autoscale with no data).
301 plt.polar()
302 ax = plt.gca()
303 assert ax.get_rmin() == 0 and ax.get_rmax() == 1
304
305
306def test_polar_default_log_lims():

Callers

nothing calls this directly

Calls 4

gcaMethod · 0.80
get_rminMethod · 0.80
get_rmaxMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…