+
    NV-jM!  ã                  ó�  € ^ RI Ht ^ RIHtHtHt ^ RIt^ RIHtH	t	H
t
 ^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RIHt ^ RIHt ]'       d   ^ RIHt ]
R'R
 R ll4       t]
R'RR	/R R lll4       t]
R'RR	/R R lll4       tR(RR/R R llltR R ltR R ltR R ltR R ltR R ltR R ltR R  lt R! R" lt!R# R$ lt"R% R& lt#R# ))é    )Úannotations)Ú
CollectionÚIteratorÚSequenceN)ÚTYPE_CHECKINGÚcastÚoverload)ÚMatplotlibColor)Úfind_stack_level)Úis_list_like)ÚColormap.c          
     ó,   € V ^8„  d   QhRRRRRRRRR	R/# )
é   Ú
num_colorsÚintÚcolormapúColormap | NoneÚ
color_typeÚstrÚcolorzdict[str, Color]Úreturn© )Úformats   "Úr/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/pandas/plotting/_matplotlib/style.pyÚ__annotate__r      s:   € ÷ ñ Øðàðð ðð
 ðð ñó    c               ó   € R # ©Nr   ©r   r   r   r   s   &&&$r   Úget_standard_colorsr       s   € ñ r   r   c          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# )r   r   r   r   r   r   r   r   zColor | Sequence[Color] | Noner   úlist[Color]r   )r   s   "r   r   r   (   s:   € ÷ ñ Øðàðð ðð
 *ðð ñr   c               ó   € R # r   r   r   s   &&&$r   r    r    '   s   € ñ r   c          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# ©r   r   r   r   r   r   r   r   z1dict[str, Color] | Color | Sequence[Color] | Noner   zdict[str, Color] | list[Color]r   )r   s   "r   r   r   2   s:   € ÷ )ñ )Øð)àð)ð ð)ð
 =ð)ð $ñ)r   c               ó   € R # r   r   r   s   &&&$r   r    r    1   s   € ñ &)r   c          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# r%   r   )r   s   "r   r   r   ;   s:   € ÷ 1>ñ 1>Øð1>àð1>ð ð1>ð
 =ð1>ð $ñ1>r   c               óz   € \        V\        4      '       d   V# \        VVVV R7      p\        \	        W@R7      4      # )a7  
Get standard colors based on `colormap`, `color_type` or `color` inputs.

Parameters
----------
num_colors : int
    Minimum number of colors to be returned.
    Ignored if `color` is a dictionary.
colormap : :py:class:`matplotlib.colors.Colormap`, optional
    Matplotlib colormap.
    When provided, the resulting colors will be derived from the colormap.
color_type : {"default", "random"}, optional
    Type of colors to derive. Used if provided `color` and `colormap` are None.
    Ignored if either `color` or `colormap` are not None.
color : dict or str or sequence, optional
    Color(s) to be used for deriving sequence of colors.
    Can be either be a dictionary, or a single color (single color string,
    or sequence of floats representing a single color),
    or a sequence of colors.

Returns
-------
dict or list
    Standard colors. Can either be a mapping if `color` was a dictionary,
    or a list of colors with a length of `num_colors` or more.

Warns
-----
UserWarning
    If both `colormap` and `color` are provided.
    Parameter `color` will override.
©r   r   r   r   ©r   )Ú
isinstanceÚdictÚ_derive_colorsÚlistÚ_cycle_colors)r   r   r   r   Úcolorss   &&&$ r   r    r    ;   s?   € ôN �%œ×ÒØˆäØØØØô	€Fô ”˜fÔ<Ó=Ð=r   c          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# )r   r   z Color | Collection[Color] | Noner   zstr | Colormap | Noner   r   r   r   r   r"   r   )r   s   "r   r   r   o   sC   € ÷ 1Nñ 1Nà+ð1Nð $ð1Nð ð	1Nð
 ð1Nð ñ1Nr   c                ó¨   € V f   Ve   \        WR7      # V e0   Ve!   \        P                  ! R\        4       R7       \	        V 4      # \        W#R7      # )aõ  
Derive colors from either `colormap`, `color_type` or `color` inputs.

Get a list of colors either from `colormap`, or from `color`,
or from `color_type` (if both `colormap` and `color` are None).

Parameters
----------
color : str or sequence, optional
    Color(s) to be used for deriving sequence of colors.
    Can be either be a single color (single color string, or sequence of floats
    representing a single color), or a sequence of colors.
colormap : :py:class:`matplotlib.colors.Colormap`, optional
    Matplotlib colormap.
    When provided, the resulting colors will be derived from the colormap.
color_type : {"default", "random"}, optional
    Type of colors to derive. Used if provided `color` and `colormap` are None.
    Ignored if either `color` or `colormap`` are not None.
num_colors : int
    Number of colors to be extracted.

Returns
-------
list
    List of colors extracted.

Warns
-----
UserWarning
    If both `colormap` and `color` are provided.
    Parameter `color` will override.
r*   zC'color' and 'colormap' cannot be used simultaneously. Using 'color')Ú
stacklevel)Ú_get_colors_from_colormapÚwarningsÚwarnr   Ú_get_colors_from_colorÚ_get_colors_from_color_typer)   s   $$$$r   r-   r-   o   sS   € ðN ‚}˜Ò-Ü(¨ÔIÐIØ	Ò	ØÒÜ�MŠMØUÜ+Ó-õô & eÓ,Ð,ä*¨:ÔMÐMr   c               ó$   € V ^8„  d   QhRRRRRR/# )r   r0   r"   r   r   r   úIterator[Color]r   )r   s   "r   r   r   £   s&   € ÷ Eñ E˜+ð E°3ð E¸?ñ Er   c              #  ó¢   "  € \        V\        V 4      4      p\        P                  ! \        P                  ! V 4      V4       Rj  x€L
  R#  L5i)z¼Cycle colors until achieving max of `num_colors` or length of `colors`.

Extra colors will be ignored by matplotlib if there are more colors
than needed and nothing needs to be done here.
N)ÚmaxÚlenÚ	itertoolsÚisliceÚcycle)r0   r   Ú
max_colorss   && r   r/   r/   £   s6   é € ô �Z¤ V£Ó-€JÜ×Ò¤	§¢°Ó 7¸ÓD×DÔDùs   ‚AAÁAÁAc               ó$   € V ^8„  d   QhRRRRRR/# )r   r   ústr | Colormapr   r   r   r"   r   )r   s   "r   r   r   ­   s+   € ÷ Dñ DØðDàðDð ñDr   c                ó~   € \        V 4      p\        P                  ! ^ ^VR7       Uu. uF
  q2! V4      NK  	  up# u upi )zGet colors from colormap.)Únum)Ú_get_cmap_instanceÚnpÚlinspace)r   r   ÚcmaprE   s   &&  r   r4   r4   ­   s9   € ô
 ˜hÓ'€DÜ!#§¢¨Q°°zÕ!BÓCÑ!B˜#ˆD�ŽIÑ!BÑCÐCùÒCs   §:c               ó    € V ^8„  d   QhRRRR/# )r   r   rC   r   r   r   )r   s   "r   r   r   ¶   s   € ÷ ñ  ð °Hñ r   c                óŠ   € \        V \        4      '       d-   T p\        P                  V ,          p V f   \	        RV R24      hV # )z$Get instance of matplotlib colormap.z	Colormap z is not recognized)r+   r   ÚmplÚ	colormapsÚ
ValueError)r   rI   s   & r   rF   rF   ¶   sB   € ä�(œC× Ò ØˆÜ—=‘= Õ*ˆØÒÜ˜y¨¨Ð.@ÐAÓBÐBØ€Or   c               ó    € V ^8„  d   QhRRRR/# )r   r   úColor | Collection[Color]r   r"   r   )r   s   "r   r   r   À   s   € ÷ :ñ :Ø$ð:àñ:r   c                óä   € \        V 4      ^ 8X  d   \        RV  24      h\        V 4      '       d   \        \        V 4      p V .# \        \
        \        ,          V 4      p \        \        V 4      4      # )z!Get colors from user input color.zInvalid color argument: )r=   rN   Ú_is_single_colorr   ÚColorr   r.   Ú!_gen_list_of_colors_from_iterable©r   s   &r   r7   r7   À   sb   € ô ˆ5ƒz�Q„ÜÐ3°E°7Ð;Ó<Ð<ä˜×ÒÜ”U˜EÓ"ˆØˆwˆä”œEÕ" EÓ*€EÜÔ1°%Ó8Ó9Ð9r   c               ó    € V ^8„  d   QhRRRR/# ©r   r   rP   r   Úboolr   )r   s   "r   r   r   Ï   s   € ÷ ñ Ð5ð ¸$ñ r   c                ó~   € \        V \        4      '       d   \        V 4      '       d   R# \        V 4      '       d   R# R# )a  Check if `color` is a single color, not a sequence of colors.

Single color is of these kinds:
    - Named color "red", "C0", "firebrick"
    - Alias "g"
    - Sequence of floats, such as (0.1, 0.2, 0.3) or (0.1, 0.2, 0.3, 0.4).

See Also
--------
_is_single_string_color
TF)r+   r   Ú_is_single_string_colorÚ_is_floats_colorrU   s   &r   rR   rR   Ï   s0   € ô �%œ×ÒÔ"9¸%×"@Ò"@áä˜×ÒÙár   c               ó    € V ^8„  d   QhRRRR/# )r   r   zCollection[Color]r   r:   r   )r   s   "r   r   r   å   s   € ÷ 3ñ 3Ð->ð 3À?ñ 3r   c              #  óf   "  € V  F&  p\        V4      '       d   Vx € K  \        RV 24      h	  R# 5i)zK
Yield colors from string of several letters or from collection of colors.
zInvalid color N)rR   rN   )r   Úxs   & r   rT   rT   å   s3   é € ó ˆÜ˜A×ÒØŒGä˜~¨a¨SÐ1Ó2Ð2ó	 ùs   ‚/1c               ó    € V ^8„  d   QhRRRR/# rW   r   )r   s   "r   r   r   ð   s   € ÷ ñ Ð5ð ¸$ñ r   c                ó
  € \        \        V 4      ;'       di    \        V 4      ^8H  ;'       g    \        V 4      ^8H  ;'       d=    \        ;QJ d$    R V  4       F  '       d   K   R4      # 	  R4      # ! R V  4       4      4      # )zACheck if color comprises a sequence of floats representing color.c              3  óN   "  € T F  p\        V\        \        34      x € K  	  R # 5ir   )r+   r   Úfloat)Ú.0r^   s   & r   Ú	<genexpr>Ú#_is_floats_color.<locals>.<genexpr>õ   s   é € Ð;±U°”
˜1œs¤E˜l×+Ð+³Uùs   ‚#%FT)rX   r   r=   ÚallrU   s   &r   r[   r[   ð   s€   € äÜ�UÓ÷ 	<ð 	<Ü�‹Z˜1‰_×/Ð/¤ E£
¨a¡÷	<ð 	<ç‹CÑ;±UÓ;�CŒCóð ò óð ð Ñ;±UÓ;Ó;óð r   c               ó$   € V ^8„  d   QhRRRRRR/# )r   r   r   r   r   r   r"   r   )r   s   "r   r   r   ù   s&   € ÷ Lñ L¨Cð L¸Sð LÀ[ñ Lr   c           	     ój  € V R8X  dY   \         P                  R,          p\        P                  ! V\	        V\        V4      4      4       Uu. uF  pVR,          NK  	  up# V R8X  d?   \        P                  P                  V4      P                  V^34      P                  4       # \        R4      hu upi )z&Get colors from user input color type.Údefaultzaxes.prop_cycler   Úrandomz/color_type must be either 'default' or 'random')rL   ÚrcParamsr>   r?   Úminr=   rG   rj   Údefault_rngÚtolistrN   )r   r   Ú
prop_cycleÚcs   &&  r   r8   r8   ù   s¡   € à�YÔÜ—\‘\Ð"3Õ4ˆ
ô ×%Ò% j´#°jÄ#ÀjÃ/Ó2RÔSó
áS�ð ˆg�JˆJÙSñ
ð 	
ð 
�xÔ	Ü�y‰y×$Ñ$ ZÓ0×7Ñ7¸ÀQ¸ÓH×OÑOÓQÐQäÐJÓKÐKùò
s   ÁB0c               ó    € V ^8„  d   QhRRRR/# )r   r   rS   r   rX   r   )r   s   "r   r   r     s   € ÷ ñ  5ð ¨Tñ r   c                óŠ   € \         P                  P                  4       p VP                  V 4       R#   \         d     R# i ; i)a?  Check if `color` is a single string color.

Examples of single string colors:
    - 'r'
    - 'g'
    - 'red'
    - 'green'
    - 'C3'
    - 'firebrick'

Parameters
----------
color : Color
    Color string or sequence of floats.

Returns
-------
bool
    True if `color` looks like a valid color.
    False otherwise.
TF)Ú
matplotlibr0   ÚColorConverterÚto_rgbarN   )r   Úconvs   & r   rZ   rZ     sD   € ô, ×Ñ×+Ñ+Ó-€Dðð 	�‰�UÔñ øô ô Úðús    3 ³AÁA)..)Nri   )$Ú
__future__r   Úcollections.abcr   r   r   r>   Útypingr   r   r	   r5   rs   rL   Úmatplotlib.colorsÚnumpyrG   Úpandas._typingr
   rS   Úpandas.util._exceptionsr   Úpandas.core.dtypes.commonr   r   r    r-   r/   r4   rF   r7   rR   rT   r[   r8   rZ   r   r   r   Ú<module>r      sÞ   ðÝ "÷ñ ó
 ÷ñ ó
 ã Û Û å 3Ý 4å 2çÝ*ð 
öó 
ðð 
ñð
 -0÷ó 
ðð 
ñ)ð
 @C÷)ó 
ð)ñ1>ð
 @D÷1>ð 1>õh1NõhEõDõõ:õõ,3õõL÷r   