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

Function test_polar_log

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

Source from the content-addressed store, hash-verified

499
500@image_comparison(['polar_log.png'], style='default')
501def test_polar_log():
502 fig = plt.figure()
503 ax = fig.add_subplot(polar=True)
504
505 ax.set_rscale('log')
506 ax.set_rlim(1, 1000)
507
508 n = 100
509 ax.plot(np.linspace(0, 2 * np.pi, n), np.logspace(0, 2, n))
510
511
512@check_figures_equal()

Callers

nothing calls this directly

Calls 5

figureMethod · 0.80
add_subplotMethod · 0.80
set_rscaleMethod · 0.80
set_rlimMethod · 0.80
plotMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…