Concept Flow - Cursor and event handling
Start plot display
User moves mouse
Event triggered: mouse move
Cursor position updated
Display updated with cursor info
User clicks or closes plot
Event triggered: click or close
Handle event or exit
The flow shows how matplotlib listens for mouse events, updates cursor info on move, and handles clicks or closing events.