a
    Sic                     @   s   d d Z dS )c              
      sh    j jr    fdd|D }z& j | W |D ]} j | q8n|D ]} j | qP0 dS )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()``.
    c                    s   g | ]} j |qS  )canvasmpl_connect).0namefigurehandlerr   V/var/www/html/django/DPS/env/lib/python3.9/site-packages/matplotlib/_blocking_input.py
<listcomp>       z'blocking_input_loop.<locals>.<listcomp>N)r   managershowstart_event_loopmpl_disconnect)r   Zevent_namestimeoutr   cidscidr   r   r	   blocking_input_loop   s    r   N)r   r   r   r   r	   <module>   r   