diff --git a/doc/users/event_handling.rst b/doc/users/event_handling.rst index 3390c2bf183f..17225510e8ed 100644 --- a/doc/users/event_handling.rst +++ b/doc/users/event_handling.rst @@ -59,24 +59,24 @@ Here are the events that you can connect to, the class instances that are sent back to you when the event occurs, and the event descriptions: -======================= ============================================================================================= -Event name Class and description -======================= ============================================================================================= -'button_press_event' :class:`~matplotlib.backend_bases.MouseEvent` - mouse button is pressed -'button_release_event' :class:`~matplotlib.backend_bases.MouseEvent` - mouse button is released -'close_event' :class:`~matplotlib.backend_bases.CloseEvent` - a figure is closed -'draw_event' :class:`~matplotlib.backend_bases.DrawEvent` - canvas draw (but before screen update) -'key_press_event' :class:`~matplotlib.backend_bases.KeyEvent` - key is pressed -'key_release_event' :class:`~matplotlib.backend_bases.KeyEvent` - key is released -'motion_notify_event' :class:`~matplotlib.backend_bases.MouseEvent` - mouse motion -'pick_event' :class:`~matplotlib.backend_bases.PickEvent` - an object in the canvas is selected -'resize_event' :class:`~matplotlib.backend_bases.ResizeEvent` - figure canvas is resized -'scroll_event' :class:`~matplotlib.backend_bases.MouseEvent` - mouse scroll wheel is rolled -'figure_enter_event' :class:`~matplotlib.backend_bases.LocationEvent` - mouse enters a new figure -'figure_leave_event' :class:`~matplotlib.backend_bases.LocationEvent` - mouse leaves a figure -'axes_enter_event' :class:`~matplotlib.backend_bases.LocationEvent` - mouse enters a new axes -'axes_leave_event' :class:`~matplotlib.backend_bases.LocationEvent` - mouse leaves an axes -======================= ============================================================================================= +====================== ================ ====================================== +Event name Class Description +====================== ================ ====================================== +'button_press_event' `.MouseEvent` mouse button is pressed +'button_release_event' `.MouseEvent` mouse button is released +'close_event' `.CloseEvent` a figure is closed +'draw_event' `.DrawEvent` canvas draw (but before screen update) +'key_press_event' `.KeyEvent` key is pressed +'key_release_event' `.KeyEvent` key is released +'motion_notify_event' `.MouseEvent` mouse motion +'pick_event' `.PickEvent` an object in the canvas is selected +'resize_event' `.ResizeEvent` figure canvas is resized +'scroll_event' `.MouseEvent` mouse scroll wheel is rolled +'figure_enter_event' `.LocationEvent` mouse enters a new figure +'figure_leave_event' `.LocationEvent` mouse leaves a figure +'axes_enter_event' `.LocationEvent` mouse enters a new axes +'axes_leave_event' `.LocationEvent` mouse leaves an axes +====================== ================ ====================================== .. _event-attributes: