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

Function test_remove_draggable

lib/matplotlib/tests/test_offsetbox.py:447–452  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

445
446
447def test_remove_draggable():
448 fig, ax = plt.subplots()
449 an = ax.annotate("foo", (.5, .5))
450 an.draggable(True)
451 an.remove()
452 MouseEvent("button_release_event", fig.canvas, 1, 1)._process()
453
454
455def test_draggable_in_subfigure():

Callers

nothing calls this directly

Calls 6

MouseEventClass · 0.90
annotateMethod · 0.80
draggableMethod · 0.80
_processMethod · 0.80
subplotsMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…