@@ -59,24 +59,24 @@ Here are the events that you can connect to, the class instances that
5959are sent back to you when the event occurs, and the event descriptions:
6060
6161
62- ======================= ======================================================= ======================================
63- Event name Class and description
64- ======================= ======================================================= ======================================
65- 'button_press_event' :class: ` ~matplotlib.backend_bases. MouseEvent ` - mouse button is pressed
66- 'button_release_event' :class: ` ~matplotlib.backend_bases. MouseEvent ` - mouse button is released
67- 'close_event' :class: ` ~matplotlib.backend_bases. CloseEvent ` - a figure is closed
68- 'draw_event' :class: ` ~matplotlib.backend_bases. DrawEvent ` - canvas draw (but before screen update)
69- 'key_press_event' :class: ` ~matplotlib.backend_bases. KeyEvent ` - key is pressed
70- 'key_release_event' :class: ` ~matplotlib.backend_bases. KeyEvent ` - key is released
71- 'motion_notify_event' :class: ` ~matplotlib.backend_bases. MouseEvent ` - mouse motion
72- 'pick_event' :class: ` ~matplotlib.backend_bases. PickEvent ` - an object in the canvas is selected
73- 'resize_event' :class: ` ~matplotlib.backend_bases. ResizeEvent ` - figure canvas is resized
74- 'scroll_event' :class: ` ~matplotlib.backend_bases. MouseEvent ` - mouse scroll wheel is rolled
75- 'figure_enter_event' :class: ` ~matplotlib.backend_bases. LocationEvent ` - mouse enters a new figure
76- 'figure_leave_event' :class: ` ~matplotlib.backend_bases. LocationEvent ` - mouse leaves a figure
77- 'axes_enter_event' :class: ` ~matplotlib.backend_bases. LocationEvent ` - mouse enters a new axes
78- 'axes_leave_event' :class: ` ~matplotlib.backend_bases. LocationEvent ` - mouse leaves an axes
79- ======================= ======================================================= ======================================
62+ ====================== ================ ======================================
63+ Event name Class Description
64+ ====================== ================ ======================================
65+ 'button_press_event' ` . MouseEvent ` mouse button is pressed
66+ 'button_release_event' ` . MouseEvent ` mouse button is released
67+ 'close_event' ` . CloseEvent ` a figure is closed
68+ 'draw_event' ` . DrawEvent ` canvas draw (but before screen update)
69+ 'key_press_event' ` . KeyEvent ` key is pressed
70+ 'key_release_event' ` . KeyEvent ` key is released
71+ 'motion_notify_event' ` . MouseEvent ` mouse motion
72+ 'pick_event' ` . PickEvent ` an object in the canvas is selected
73+ 'resize_event' ` . ResizeEvent ` figure canvas is resized
74+ 'scroll_event' ` . MouseEvent ` mouse scroll wheel is rolled
75+ 'figure_enter_event' ` . LocationEvent ` mouse enters a new figure
76+ 'figure_leave_event' ` . LocationEvent ` mouse leaves a figure
77+ 'axes_enter_event' ` . LocationEvent ` mouse enters a new axes
78+ 'axes_leave_event' ` . LocationEvent ` mouse leaves an axes
79+ ====================== ================ ======================================
8080
8181.. _event-attributes :
8282
0 commit comments