
    Mh4                     \    S SK r S SKJr  \ R                  " S5        S SKJr   " S S5      rg)    N)Series
matplotlibget_standard_colorsc                      \ rS rSr\R
                  R                  SS/ SQ4S/ SQ4S/ SQ4S	S
S/4SS
/4/5      S 5       r\R
                  R                  SSS/4S/ SQ4S/ SQ4S/ SQ4S/ SQ4/5      S 5       r\R
                  R                  SSS/4S/ SQ4S/ SQ4/5      S 5       r	\R
                  R                  SS/ SQ4S	/ SQ4S/ SQ4S/ SQ4/5      S 5       r
\R
                  R                  SS/ SQ4S	/ SQ4S/ SQ4S/ SQ4S/ SQ4S / S!Q4/5      S" 5       r\R
                  R                  SSS#/4S	S#S#/4S/ S$Q4/5      S% 5       r\R
                  R                  S&S'SS'/4S(S	S(S(/4S)S/ S*Q4/5      S+ 5       r\R
                  R                  S,S-/ S.\" / S/S09/5      S1 5       r\R
                  R                  S,/ S2Q5      S3 5       rS.rg4)5TestGetStandardColors	   znum_colors, expected   redgreenblue   )r   r   r   r   r      )r   r   r   r   r   r   r      r   r      c                     SS K nSSKJn  SU" / SQS90nUR                  US9   [	        US9nXb:X  d   e S S S 5        g ! , (       d  f       g = f)Nr   cycleraxes.prop_cycler   colorrc
num_colorsr   matplotlib.pyplotr   
rc_contextr   selfr   expectedmplr   
mpl_paramsresults          R/var/www/html/env/lib/python3.13/site-packages/pandas/tests/plotting/test_style.py)test_default_colors_named_from_prop_cycle?TestGetStandardColors.test_default_colors_named_from_prop_cycle
   sP     	!, v,DE

 ^^z^*(J?F%%% +**s	   ?
Ab)r)   gr   )r)   r*   r+   y)r)   r*   r+   r-   r)   )r)   r*   r+   r-   r)   r*   r+   c                     SS K nSSKJn  SU" SS90nUR                  US9   [	        US9nXb:X  d   e S S S 5        g ! , (       d  f       g = f)Nr   r   r   bgryr   r   r   r   r    s          r&   0test_default_colors_named_from_prop_cycle_stringFTestGetStandardColors.test_default_colors_named_from_prop_cycle_string   sO     	!, vF3

 ^^z^*(J?F%%% +**s	   =
Aznum_colors, expected_nameC0)r2   C1C2   )r2   r3   r4   C3C4C5C6C7C8C9r2   r3   c                     SS K nSS KJn  UR                  0 S9   U Vs/ s H  oTR	                  U5      PM     nn[        US9nXv:X  d   e S S S 5        g s  snf ! , (       d  f       g = f)Nr   r   r   )r   matplotlib.colorscolorsr   to_hexr   )r!   r   expected_namer#   mcolorsxr"   r%   s           r&   .test_default_colors_named_undefined_prop_cycleDTestGetStandardColors.test_default_colors_named_undefined_prop_cycle4   s]    2 	!+^^r^"3@A=aq)=HA(J?F%%% #"A #"s   AAAA
A(r   r   皙?皙?333333?)r   r   rG   r   c                 ,    / SQn[        X1S9nXB:X  d   eg )NrF   r   r   r   r!   r   r"   r   r%   s        r&   test_user_input_color_sequence4TestGetStandardColors.test_user_input_color_sequenceU   s     2$5H!!!    )r+   r*   r)   k)r+   r*   r)   rQ   r+      )r+   r*   r)   rQ   r+   r*   c                 (    Sn[        X1S9nXB:X  d   eg )NrgbkrL   r   rM   s        r&   test_user_input_color_string2TestGetStandardColors.test_user_input_color_stringc   s     $5H!!!rP   rG   )rG   rG   rG   c                 (    Sn[        X1S9nXB:X  d   eg )NrG   rL   r   rM   s        r&   test_user_input_color_floats2TestGetStandardColors.test_user_input_color_floatss   s      $5H!!!rP   zcolor, num_colors, expectedCrimson
DodgerBlue	firebrick)r\   r\   r\   c                 $    [        XS9nXC:X  d   eg )NrL   r   )r!   r   r   r"   r%   s        r&   "test_user_input_named_color_string8TestGetStandardColors.test_user_input_named_color_string   s     %5H!!!rP   r     object)dtypec                 ~    [         R                  " [        SS9   [        USS9  S S S 5        g ! , (       d  f       g = f)NzInvalid color argumentmatchr   rL   pytestraises
ValueErrorr   r!   r   s     r&   test_empty_color_raises-TestGetStandardColors.test_empty_color_raises   s(    ]]:-EFe: GFF   .
<)	bad_color)r   r   ro   )rH   )rH   rI   )rH   rI   rJ   g?g      ?c                 ~    [         R                  " [        SS9   [        USS9  S S S 5        g ! , (       d  f       g = f)NzInvalid colorre   r   rL   rg   rk   s     r&   test_bad_color_raises+TestGetStandardColors.test_bad_color_raises   s(     ]]:_=e: >==rn   N)__name__
__module____qualname____firstlineno__rh   markparametrizer'   r0   rD   rN   rU   rX   r^   r   rl   rq   __static_attributes__ra   rP   r&   r   r   	   s   [[()89GH !L	
		&		& [[J $%)*34	
		&		& [[#K"#	
0&10& [[12121289		
""
 [[$%$%$%$%)*./	

"
"
 [[!"/23CD	
""
 [[%I;'1|\:;!DE	
"" [[Wr2r6"H3M&NO; P; [[	
	;	;rP   r   )rh   pandasr   importorskip!pandas.plotting._matplotlib.styler   r   ra   rP   r&   <module>r}      s(        L ! AT; T;rP   