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

Skip to content

Commit 7f116b2

Browse files
authored
Merge pull request #15315 from meeseeksmachine/auto-backport-of-pr-15308-on-v3.2.x
Backport PR #15308 on branch v3.2.x (Doc: Add close event to list of events)
2 parents c968ce1 + a9bfe07 commit 7f116b2

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)