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

Function test_arrow_in_view

lib/matplotlib/tests/test_axes.py:823–827  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

821
822
823def test_arrow_in_view():
824 _, ax = plt.subplots()
825 ax.arrow(1, 1, 1, 1)
826 assert ax.get_xlim() == (0.8, 2.2)
827 assert ax.get_ylim() == (0.8, 2.2)
828
829
830def test_annotate_default_arrow():

Callers

nothing calls this directly

Calls 4

arrowMethod · 0.80
subplotsMethod · 0.45
get_xlimMethod · 0.45
get_ylimMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…