Skip to content

Commit b190995

Browse files
Doc: Add close event to list of events
1 parent 030157c commit b190995

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)