(event)
| 24 | |
| 25 | |
| 26 | def hover(event): |
| 27 | if fig.canvas.widgetlock.locked(): |
| 28 | # Don't do anything if the zoom/pan tools have been enabled. |
| 29 | return |
| 30 | |
| 31 | fig.canvas.set_cursor( |
| 32 | event.inaxes.cursor_to_use if event.inaxes else Cursors.POINTER) |
| 33 | |
| 34 | |
| 35 | fig.canvas.mpl_connect('motion_notify_event', hover) |
nothing calls this directly
no test coverage detected
searching dependent graphs…