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

Function test_arc_spine_inner_no_axis

lib/matplotlib/tests/test_spines.py:161–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159
160
161def test_arc_spine_inner_no_axis():
162 # Backcompat: smoke test that inner arc spine does not need a registered
163 # axis in order to be drawn
164 fig = plt.figure()
165 ax = fig.add_subplot(projection="polar")
166 inner_spine = ax.spines["inner"]
167 inner_spine.register_axis(None)
168 assert ax.spines["inner"].axis is None
169
170 fig.draw_without_rendering()
171
172
173def test_spine_set_bounds_with_none():

Callers

nothing calls this directly

Calls 4

figureMethod · 0.80
add_subplotMethod · 0.80
register_axisMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…