rL i dZy)cv|jjr|j|Dcgc]}|jj|| }} |jj ||D]}|jj |ycc}w#|D]}|jj |wxYw)a Run *figure*'s event loop while listening to interactive events. The events listed in *event_names* are passed to *handler*. This function is used to implement `.Figure.waitforbuttonpress`, `.Figure.ginput`, and `.Axes.clabel`. Parameters ---------- figure : `~matplotlib.figure.Figure` event_names : list of str The names of the events passed to *handler*. timeout : float If positive, the event loop is stopped after *timeout* seconds. handler : Callable[[Event], Any] Function called for each event; it can force an early exit of the event loop by calling ``canvas.stop_event_loop()``. N)canvasmanagershow mpl_connectstart_event_loopmpl_disconnect)figure event_namestimeouthandlernamecidscids `/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/matplotlib/_blocking_input.pyblocking_input_looprs(}} AL MFMM % %dG 4 MD M. &&w/ .C MM ( ( - . N  .C MM ( ( - .s#BB$B8N)rrrs .r