8000 Merge pull request #17169 from anntzer/draw_event-doc · larrybradley/matplotlib@8e2f715 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8e2f715

Browse files
authored
Merge pull request matplotlib#17169 from anntzer/draw_event-doc
Clarify that draw_event occurs after the canvas draw.
2 parents eecb9cc + 0d6a79b commit 8e2f715

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/users/event_handling.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,18 @@ disconnect the callback, just call::
5858
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

61-
6261
====================== ================ ======================================
6362
Event name Class Description
6463
====================== ================ ======================================
6564
'button_press_event' `.MouseEvent` mouse button is pressed
6665
'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)
66+
'close_event' `.CloseEvent` figure is closed
67+
'draw_event' `.DrawEvent` canvas has been drawn (but screen
68+
widget not updated yet)
6969
'key_press_event' `.KeyEvent` key is pressed
7070
'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
71+
'motion_notify_event' `.MouseEvent` mouse moves
72+
'pick_event' `.PickEvent` artist in the canvas is selected
7373
'resize_event' `.ResizeEvent` figure canvas is resized
7474
'scroll_event' `.MouseEvent` mouse scroll wheel is rolled
7575
'figure_enter_event' `.LocationEvent` mouse enters a new figure

0 commit comments

Comments
 (0)
0