Skip to content

Commit a550200

Browse files
authored
Merge pull request #15308 from matplotlib/doc-add-close-event
Doc: Add close event to list of events
2 parents 9eee66f + b190995 commit a550200

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/users/event_handling.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ Event name Class and description
6464
======================= =============================================================================================
6565
'button_press_event' :class:`~matplotlib.backend_bases.MouseEvent` - mouse button is pressed
6666
'button_release_event' :class:`~matplotlib.backend_bases.MouseEvent` - mouse button is released
67+
'close_event' :class:`~matplotlib.backend_bases.CloseEvent` - a figure is closed
6768
'draw_event' :class:`~matplotlib.backend_bases.DrawEvent` - canvas draw (but before screen update)
6869
'key_press_event' :class:`~matplotlib.backend_bases.KeyEvent` - key is pressed
6970
'key_release_event' :class:`~matplotlib.backend_bases.KeyEvent` - key is released

0 commit comments

Comments
 (0)