Ë
    íÍ:jõ  ã                   óL   — d dl Zd dlZd dlZd dlmZ d dlmZ	 d dl
mZ d„ Zd„ Zy)é    Nc                 ó²   — t        j                  |«      sBt        |t        j                  j
                  «      rt        |«      dk(  rt        | › d�«      ‚yyy)z0Raise a TypeError if an empty sequence is passedr   z must not be an empty sequenceN)ÚcbookÚis_scalar_or_stringÚ
isinstanceÚcollectionsÚabcÚSizedÚlenÚ	TypeError)ÚkeyÚvalues     ún/home/mcse/projects/srt_converter/srt-converter-venv/lib/python3.12/site-packages/matplotlib/_style_helpers.pyÚcheck_non_emptyr      sO   € ä×%Ñ% eÔ,Ü�uœkŸo™o×3Ñ3Ô4¼¸U»ÀqºÜ˜3˜%Ð=Ð>Ó?Ð?ð :IÐ4ð -ó    c                 ó.  ‡— i Ši }| j                  «       D ]ð  \  }}|dv ri|�t        j                  |d«      rt        j                  |«      ‰|<   Œ;t        ||«       t        j                  t        j                  |«      «      ‰|<   Œs|dv r8t        ||«       t        j                  t        j                  |«      «      ‰|<   Œ¯|dk(  r8t        ||«       t        j                  t        j                  |«      «      ‰|<   Œì|||<   Œò ˆfd„}| |«       fS )a~  
    Helper for handling style sequences (e.g. facecolor=['r', 'b', 'k']) within plotting
    methods that repeatedly call other plotting methods (e.g. hist, stackplot).  Remove
    style keywords from the given dictionary.  Return the reduced dictionary together
    with a generator which provides a series of dictionaries to be used in each call to
    the wrapped function.
    )Ú	facecolorÚ	edgecolorÚnone)ÚhatchÚ	linewidthÚ	linestylec               3   óz   •K  — 	 ‰j                  «       D � �ci c]  \  } }| t        |«      “Œ c}} –— Œ0c c}} w ­w)N)ÚitemsÚnext)r   ÚvalÚkw_iteratorss     €r   Ú	style_genz"style_generator.<locals>.style_gen/   s8   øè ø€ ØØ2>×2DÑ2DÓ2F×G¡h c¨3�3œ˜S›	‘>ÓGÒGð ùÛGùs   ƒ;˜5®;)r   r   Ú_str_lower_equalÚ	itertoolsÚrepeatr   ÚcycleÚmcolorsÚto_rgba_arrayÚnpÚ
atleast_1dÚmlinesÚ_get_dash_patterns)ÚkwÚremaining_kwr   r   r   r   s        @r   Ústyle_generatorr*      s  ø€ ð €LØ€LØ—h‘h“jò &‰
ˆˆUØÐ,Ñ,Øˆ}¤× 6Ñ 6°u¸fÔ EÜ$-×$4Ñ$4°UÓ$;�˜SÒ!ä  UÔ+Ü$-§O¡O´G×4IÑ4IÈ%Ó4PÓ$Q�˜SÒ!àÐ*Ñ*Ü˜C Ô'Ü )§¡´·±¸eÓ0DÓ EˆL˜Òà�KÒÜ˜C Ô'Ü )§¡´×0IÑ0IÈ%Ó0PÓ QˆL˜Òð !&ˆL˜Òð#&ô&Hð ™›Ð$Ð$r   )Úcollections.abcr   r   Únumpyr$   Úmatplotlib.cbookr   Úmatplotlib.colorsÚcolorsr"   Úmatplotlib.linesÚlinesr&   r   r*   © r   r   ú<module>r3      s"   ðÛ Û ã å  Ý #Ý !ò@ó!%r   