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

Function test_annotate_default_arrow

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

Source from the content-addressed store, hash-verified

828
829
830def test_annotate_default_arrow():
831 # Check that we can make an annotation arrow with only default properties.
832 fig, ax = plt.subplots()
833 ann = ax.annotate("foo", (0, 1), xytext=(2, 3))
834 assert ann.arrow_patch is None
835 ann = ax.annotate("foo", (0, 1), xytext=(2, 3), arrowprops={})
836 assert ann.arrow_patch is not None
837
838
839def test_annotate_signature():

Callers

nothing calls this directly

Calls 2

annotateMethod · 0.80
subplotsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…