mpl.pyplot.FigureCanvasBase.enter_notify_event

FigureCanvasBase.enter_notify_event(guiEvent=None, xy=None)[source]

Backend derived classes should call this function when entering canvas

guiEvent
the native UI event that generated the mpl event
xy
the coordinate location of the pointer when the canvas is entered