§
    †Ûgö  ã                   óŽ   — d dl mZ d dlmZ  G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d	„ d
e¦  «        ZdS )é    )Úcbook)ÚArtistc                   óx   — e Zd ZdZd„ Zd„ Zdd„Zd„ Zd„ Ze	j
        Z
e	j        Ze	j        Ze	j        Ze	j        ZdS )	Ú	ContainerzŽ
    Base class for containers.

    Containers are classes that collect semantically related Artists such as
    the bars of a bar plot.
    c                 ól   — d                      t          | ¦  «        j        t          | ¦  «        ¦  «        S )Nz<{} object of {} artists>)ÚformatÚtypeÚ__name__Úlen©Úselfs    úJ/granary/edev/quantum/lib/python3.11/site-packages/matplotlib/container.pyÚ__repr__zContainer.__repr__   s(   € Ø+ß’�˜T™
œ
Ô+­S°©Y¬YÑ7Ô7ð	9ó    c                 óD   — t                                | |d         ¦  «        S )Nr   )ÚtupleÚ__new__)ÚclsÚargsÚkwargss      r   r   zContainer.__new__   s   € Ý�}Š}˜S $ q¤'Ñ*Ô*Ð*r   Nc                 ót   — t          j        dg¬¦  «        | _        d | _        |                      |¦  «         d S )NÚpchanged)Úsignals)r   ÚCallbackRegistryÚ
_callbacksÚ_remove_methodÚ	set_label)r   ÚklÚlabels      r   Ú__init__zContainer.__init__   s9   € ÝÔ0¸*¸ÐFÑFÔFˆŒØ"ˆÔØ�Š�uÑÔÐÐÐr   c                 ó¢   — t          j        | d„ ¬¦  «        D ]}|�|                     ¦   «          Œ| j        r|                      | ¦  «         d S d S )Nc                 ó,   — t          | t          ¦  «        S ©N)Ú
isinstancer   )Úxs    r   ú<lambda>z"Container.remove.<locals>.<lambda>   s   € ­
°1µfÑ(=Ô(=€ r   )Úscalarp)r   ÚflattenÚremover   )r   Úcs     r   r)   zContainer.remove   sm   € Ý”ØÐ=Ð=ð?ñ ?ô ?ð 	ð 	ˆAàˆ}Ø—’‘
”
�
øØÔð 	&Ø×Ò Ñ%Ô%Ð%Ð%Ð%ð	&ð 	&r   c                 ó>   — d„ t          j        | ¦  «        D ¦   «         S )Nc                 ó   — g | ]}|®|‘ŒS r#   © )Ú.0Úchilds     r   ú
<listcomp>z*Container.get_children.<locals>.<listcomp>"   s   € ÐLÐLÐL˜%¸%Ð:K�Ð:KÐ:KÐ:Kr   )r   r(   r   s    r   Úget_childrenzContainer.get_children!   s    € ØLÐL¥5¤=°Ñ#6Ô#6ÐLÑLÔLÐLr   r#   )r
   Ú
__module__Ú__qualname__Ú__doc__r   r   r    r)   r1   r   Ú	get_labelr   Úadd_callbackÚremove_callbackr   r-   r   r   r   r      s”   € € € € € ðð ð9ð 9ð 9ð+ð +ð +ðð ð ð ð
&ð &ð &ðMð Mð Mð Ô €IØÔ €IØÔ&€LØÔ,€OØŒ€H€H€Hr   r   c                   ó,   ‡ — e Zd ZdZddddœˆ fd„Zˆ xZS )ÚBarContainera4  
    Container for the artists of bar plots (e.g. created by `.Axes.bar`).

    The container can be treated as a tuple of the *patches* themselves.
    Additionally, you can access these and further parameters by the
    attributes.

    Attributes
    ----------
    patches : list of :class:`~matplotlib.patches.Rectangle`
        The artists of the bars.

    errorbar : None or :class:`~matplotlib.container.ErrorbarContainer`
        A container for the error bar artists if error bars are present.
        *None* otherwise.

    datavalues : None or array-like
        The underlying data values corresponding to the bars.

    orientation : {'vertical', 'horizontal'}, default: None
        If 'vertical', the bars are assumed to be vertical.
        If 'horizontal', the bars are assumed to be horizontal.

    N)Ú
datavaluesÚorientationc                ót   •— || _         || _        || _        || _         t	          ¦   «         j        |fi |¤Ž d S r#   )ÚpatchesÚerrorbarr:   r;   Úsuperr    )r   r=   r>   r:   r;   r   Ú	__class__s         €r   r    zBarContainer.__init__E   sE   ø€ àˆŒØ ˆŒØ$ˆŒØ&ˆÔØ�‰ŒÔ˜Ð+Ð+ FÐ+Ð+Ð+Ð+Ð+r   r#   ©r
   r2   r3   r4   r    Ú__classcell__©r@   s   @r   r9   r9   +   sV   ø€ € € € € ðð ð2,¸TØ!ð,ð ,ð ,ð ,ð ,ð ,ð ,ð ,ð ,ð ,ð ,r   r9   c                   ó$   ‡ — e Zd ZdZdˆ fd„	Zˆ xZS )ÚErrorbarContainera  
    Container for the artists of error bars (e.g. created by `.Axes.errorbar`).

    The container can be treated as the *lines* tuple itself.
    Additionally, you can access these and further parameters by the
    attributes.

    Attributes
    ----------
    lines : tuple
        Tuple of ``(data_line, caplines, barlinecols)``.

        - data_line : :class:`~matplotlib.lines.Line2D` instance of
          x, y plot markers and/or line.
        - caplines : tuple of :class:`~matplotlib.lines.Line2D` instances of
          the error bar caps.
        - barlinecols : list of :class:`~matplotlib.collections.LineCollection`
          with the horizontal and vertical error ranges.

    has_xerr, has_yerr : bool
        ``True`` if the errorbar has x/y errors.

    Fc                 óf   •— || _         || _        || _         t          ¦   «         j        |fi |¤Ž d S r#   )ÚlinesÚhas_xerrÚhas_yerrr?   r    )r   rG   rH   rI   r   r@   s        €r   r    zErrorbarContainer.__init__g   s=   ø€ ØˆŒ
Ø ˆŒØ ˆŒØ�‰ŒÔ˜Ð)Ð) &Ð)Ð)Ð)Ð)Ð)r   )FFrA   rC   s   @r   rE   rE   N   sG   ø€ € € € € ðð ð0*ð *ð *ð *ð *ð *ð *ð *ð *ð *r   rE   c                   ó"   ‡ — e Zd ZdZˆ fd„Zˆ xZS )ÚStemContainera  
    Container for the artists created in a :meth:`.Axes.stem` plot.

    The container can be treated like a namedtuple ``(markerline, stemlines,
    baseline)``.

    Attributes
    ----------
    markerline :  :class:`~matplotlib.lines.Line2D`
        The artist of the markers at the stem heads.

    stemlines : list of :class:`~matplotlib.lines.Line2D`
        The artists of the vertical lines for all stems.

    baseline : :class:`~matplotlib.lines.Line2D`
        The artist of the horizontal baseline.
    c                 ór   •— |\  }}}|| _         || _        || _         t          ¦   «         j        |fi |¤Ž dS )ab  
        Parameters
        ----------
        markerline_stemlines_baseline : tuple
            Tuple of ``(markerline, stemlines, baseline)``.
            ``markerline`` contains the `.LineCollection` of the markers,
            ``stemlines`` is a `.LineCollection` of the main lines,
            ``baseline`` is the `.Line2D` of the baseline.
        N)Ú
markerlineÚ	stemlinesÚbaseliner?   r    )r   Úmarkerline_stemlines_baseliner   rM   rN   rO   r@   s         €r   r    zStemContainer.__init__€   sM   ø€ ð +HÑ'ˆ
�I˜xØ$ˆŒØ"ˆŒØ ˆŒØ�‰ŒÔÐ6ÐAÐA¸&ÐAÐAÐAÐAÐAr   rA   rC   s   @r   rK   rK   n   sK   ø€ € € € € ðð ð"Bð Bð Bð Bð Bð Bð Bð Bð Br   rK   N)	Ú
matplotlibr   Úmatplotlib.artistr   r   r   r9   rE   rK   r-   r   r   ú<module>rS      sè   ðØ Ð Ð Ð Ð Ð Ø $Ð $Ð $Ð $Ð $Ð $ð#ð #ð #ð #ð #�ñ #ô #ð #ðL ,ð  ,ð  ,ð  ,ð  ,�9ñ  ,ô  ,ð  ,ðF*ð *ð *ð *ð *˜	ñ *ô *ð *ð@ Bð  Bð  Bð  Bð  B�Iñ  Bô  Bð  Bð  Bð  Br   