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

Function _helper_y

lib/matplotlib/tests/test_axes.py:7589–7594  ·  view source on GitHub ↗
(ax)

Source from the content-addressed store, hash-verified

7587 assert r[-1] > 14
7588
7589 def _helper_y(ax):
7590 ax2 = ax.twiny()
7591 ax2.remove()
7592 ax.set_ylim(0, 15)
7593 r = ax.yaxis.get_major_locator()()
7594 assert r[-1] > 14
7595
7596 return {"x": _helper_x, "y": _helper_y}[request.param]
7597

Callers

nothing calls this directly

Calls 4

get_major_locatorMethod · 0.80
twinyMethod · 0.45
removeMethod · 0.45
set_ylimMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…