Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0056025

Browse files
committed
Avoid really long lines in event handling docs.
We don't need to be strict with the line length in rst files, but it's still nice to stay within reasonable bounds.
1 parent 1c6ee08 commit 0056025

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

doc/users/event_handling.rst

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,24 @@ Here are the events that you can connect to, the class instances that
5959
are sent back to you when the event occurs, and the event descriptions:
6060

6161

62-
======================= =============================================================================================
62+
======================= ==========================================================
6363
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-
======================= =============================================================================================
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

Comments
 (0)