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

Function test_get_tightbbox_polar

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

Source from the content-addressed store, hash-verified

351
352
353def test_get_tightbbox_polar():
354 fig, ax = plt.subplots(subplot_kw={'projection': 'polar'})
355 fig.canvas.draw()
356 bb = ax.get_tightbbox(fig.canvas.get_renderer())
357 assert_allclose(
358 bb.extents, [108.27778, 29.1111, 539.7222, 450.8889], rtol=1e-03)
359
360
361@check_figures_equal()

Callers

nothing calls this directly

Calls 4

subplotsMethod · 0.45
drawMethod · 0.45
get_tightbboxMethod · 0.45
get_rendererMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…