o
    i                     @   s  d Z ddlZddlmZmZ ddlmZ ddlZddlZddl	Z	ddl
ZddlmZmZ ddlmZ ddlmZmZ ddlmZ dd	lmZmZ dd
lmZmZ g dZg dZee ZG dd dZeddddddZ dd Z!e e!Z"dd Z#dd Z$dd Z%dd Z&ddddZ'e'e(Z)e'e(d dZ*e e)d!d"Z+e'e,Z-e'e,d dZ.e'e/Z0e'e/d dZ1e e0d#d"Z2d$d% Z3d&d' Z4ed(ed d)Z5e6 Z7d*d+ Z8d,d- Z9d.d/ Z:d0d1 Z;d2d3 Z<d4d5 Z=d6d7 Z>e e>d d8d9Z?d:d; Z@d<d= ZAd>d? ZBd@dA ZCe eCZDdBdC ZEdDdE ZFdFdG ZGdHdI ZHdJdK ZIdLdM ZJdNdO ZKedPg eL eM dQdRdSdTd d)ZNdUdV ZOedWg dXZPe ePZQdYdZ ZRe eRZSd[d\ ZTd]d^ ZUd_d` ZVdadb ZWdcdd ZXdedf ZYe eYZZe e2Z[dgdh Z\i die e<d djdke2dPe eOdle?dme?dne edoe edpeQdqe?dre2dse2dte?dueSdve2dwe+dxeZdye[Z]didkdPdldmdqdtdsdrdz	Z^d{d| ZG d}d~ d~ej_Z`edg dd d)Zadd Zbdd Zcdd ZdG dd deeZfdd Zgi d(e8de$de+de9de$de)de-de)de$de-de0deOde>de)de;de;de0i de0de$dedededede2de2de2de$dWePdg dde$de0de>de$de>i de$de>de0dedde$de$deIde.de$de$de$de$de$de$de>de)de;i de>de0de0deOde0de>de0deOde>de0deOde>de0deOde>de0deOi de>de)de>de>de0deOde0de+de)de)deFdeEde0de+de+de+de+i de+de>de$de)dg dde-de-de$de$deGdeGdeGdeGdeGdeGdeGdg di dg ddeHdeAde)de@de-dddgde$de$deOde$d e1dg dde0dg ddg dde%i d	e>d
e>de0de$de$de$de$deCdg ddeEde;de1de0de$dg ddg ddeCi de0deEde>de e-d d!d"e$d#e$d$e-d%e$d&e-d'e$d(ecd)d*d+gd,eVd-eVd.eVd/e$d0e$i d1e>d2e>d3e>d4e)d5e)d6e#d7e)d8e)d9e)d:e)d;e)d<e)d=e)d>d?d@gdAe$dBe$debi dCe-dDe-dEeCdFeBdGe=dHe0dIe$dJe$dKe1dLe0dMe0dNe0dOe0dPe0dQe0dRe0dSe:i dTe:dUe$dVe$dWe$dXe$dYe0dZe0d[e0d\e0d]e0d^e0d_e>d`e:dae$dbe$dce$dde$i dee$dfe\dgeCdhg didjg dkdle$dme$dne$doe$dpe0dqe0dre0dse0dte0due0dve>dwe:i dxe$dye$dze$d{e$d|e$d}e\d~eCdg didg dde>deOde0de0deCdeEdeCdeEi de e0d d!de0de>de>de$de$de-de$dg dde0de0de0de0de0de0de$de0i de0de0de0de&de;de;dddgde)deTde0de3de$de$deKde$deJde-i de4de-de$de$de4dg dde$de)de$ddRdgde*de$de$deWde$deUde"i de-de+de+de+de+de+de+de+de+de+de+de+de+de+de+de+dg dӢe0e)e)e-g dԢe3e+e3e+e$d՜
ZhddiZidאd؄ ehj D ZhdS (  az  
The rcsetup module contains the validation code for customization using
Matplotlib's rc settings.

Each rc setting is assigned a function used to validate any attempted changes
to that setting.  The validation functions are defined in the rcsetup module,
and are used to construct the rcParams global object which stores the settings
and is referenced throughout Matplotlib.

The default values of the rc settings are set in the default matplotlibrc file.
Any additions or deletions to the parameter set listed here should also be
propagated to the :file:`lib/matplotlib/mpl-data/matplotlibrc` in Matplotlib's
root source directory.
    N)	lru_cachereduce)Real)_apicbook)	ls_mapper)Colormapis_color_likeparse_fontconfig_pattern)	JoinStyleCapStyle)Cyclercycler)ZGTK3AggZ	GTK3CairoZGTK4AggZ	GTK4CairoZMacOSXZnbAggZQtAggZQtCairoZQt5AggZQt5CairoZTkAggZTkCairoZWebAggZWXZWXAggZWXCairo)ZaggZcairoZpdfZpgfZpssvgtemplatec                   @   s$   e Zd ZdddddZdd ZdS )	ValidateInStringsFN)_deprecated_sincec                   s6   || _ | _|| _fdd  fdd|D | _dS )z#*valid* is a list of legal strings.c                    s    r|   S | S N)lowers
ignorecase a/var/www/html/eduruby.in/lip-sync/lip-sync-env/lib/python3.10/site-packages/matplotlib/rcsetup.pyfunc;   s   z(ValidateInStrings.__init__.<locals>.funcc                    s   i | ]} ||qS r   r   ).0k)r   r   r   
<dictcomp>@   s    z.ValidateInStrings.__init__.<locals>.<dictcomp>N)keyr   r   valid)selfr    r!   r   r   r   )r   r   r   __init__4   s
   zValidateInStrings.__init__c                    s    j r fddt  D \}tj j |dd  jr%t|tr%| }| j	v r/ j	| S |d j
 dg  j	  }t|tre|drN|dsX|dre|dre|d	d
  j	v re|d7 }t|)Nc                 3   s     | ]\}}| u r|V  qd S r   r   r   r   vr"   r   r   	<genexpr>D   s    z-ValidateInStrings.__call__.<locals>.<genexpr>function)nameobj_typez is not a valid value for z; supported values are "'   z'; remove quotes surrounding your string)r   globalsitemsr   warn_deprecatedr   
isinstancestrr   r!   r    values
startswithendswith
ValueError)r"   r   r)   msgr   r&   r   __call__B   s0   


zValidateInStrings.__call__F)__name__
__module____qualname__r#   r9   r   r   r   r   r   3   s
    r   F)ndocc                   s    fdd}z	j  d|_ W n ty#   tj  d|_ Y nw |jddd d |j  |_|d ur<||_|S j|_|S )Nc                    s   t | tr*zfdd| dD }W n3 ty)    r&fdd| D }n Y nw t| r@t | ttfs@fdd| D }ntd|  d ur`t	|kr`td dt	| d	|  |S )
Nc                        g | ]}|  r |  qS r   stripr   r%   scalar_validatorr   r   
<listcomp>[   s    z1_listify_validator.<locals>.f.<locals>.<listcomp>,c                    r@   r   rA   rC   rD   r   r   rF   a   s     c                    s"   g | ]}t |tr|r |qS r   )r2   r3   rC   rD   r   r   rF   k   s
    z0Expected str or other non-set iterable, but got z	Expected z values, but there are z values in )
r2   r3   split	Exceptionnpiterableset	frozensetr7   len)r   valallow_stringlistr>   rE   r   r   fX   s&   
	z_listify_validator.<locals>.flistList.r-   r   )r;   AttributeErrortyper=   rsplit__doc__)rE   rQ   r>   r?   rR   r   rP   r   _listify_validatorU   s   rZ   c                 C   s   | S r   r   r   r   r   r   validate_any~   s   r[   c                 C   s.   zt |  | W S  ty   t| dw )Nz: should be a string that can be parsed by numpy.datetime64)rJ   Z
datetime64r7   r   r   r   r   _validate_date   s   
r\   c                 C   s:   t | tr	|  } | dv rdS | dv rdS td| d)zConvert b to ``bool`` or raise.)tyyesontrue1r-   TT)rR   r>   noofffalse0r   FFzCannot convert z to boolr2   r3   r   r7   )br   r   r   validate_bool   s   
ri   c                 C   sD   zt | W S  ty   t| tr| dkrY dS Y nw t| d)Nlinez0 cannot be interpreted as True, False, or "line")ri   r7   r2   r3   r   r   r   r   validate_axisbelow   s   

rk   c              
   C   sF   | dkr| S zt | W S  ty" } zt| d| d|d}~ww )z<Confirm s is string 'figure' or convert s to float or raise.figurez. is not string "figure" and could not convert z	 to floatNfloatr7   r   er   r   r   validate_dpi   s   
rq   )
allow_nonec                   sP    fdd}dj  |_  r| j d7  _ |jddd d |j  |_|S )zp
    Return a validator that converts inputs to *cls* or raises (and possibly
    allows ``None`` as well).
    c              
      s    r| d u st | tr|  dkrd S tu r$t | ts$td| dz| W S  ttfyC } ztd| dj |d }~ww )NnonezCould not convert z to strz to )r2   r3   r   r7   	TypeErrorr;   ro   rr   clsr   r   	validator   s   
z'_make_type_validator.<locals>.validatorZ	validate_Z_or_NonerU   r-   r   )r;   r=   rX   )rv   rr   rw   r   ru   r   _make_type_validator   s   rx   Tzreturn a list of strings)r?   zreturn a list of floatsc                 C   s"   t | ttjfrt| S t| S r   )r2   r3   osPathLikefsdecodevalidate_stringr   r   r   r   _validate_pathlike   s   
r}   c                 C   s   ddd}zt | }W n& ty1   z	||   W  Y S  ty0 } z	tdt| |d}~ww w || vrBtdt|  |S )z`
    Confirm that this is a Postscript or PDF font type that we know how to
    convert to.
       *   )Ztype3Ztruetypez*Supported Postscript/PDF font types are %sN)validate_intr7   r   KeyErrorrS   r4   )r   Z	fonttypesZfonttyperp   r   r   r   validate_fonttype   s0   
r   backendr   c                 C   s&   | t u s	| dr| }|S t| }|S )Nz	module://)_auto_backend_sentinelr5   _validate_standard_backends)r   r   r   r   r   validate_backend   s   r   c                 C   s,   t dg ddd| } | dkrtd | S )Ntoolbar)NoneZtoolbar2toolmanagerTr   r   zyTreat the new Tool classes introduced in v1.5 as experimental for now; the API and rcParam may change in future versions.)r   r   Zwarn_externalr   r   r   r   _validate_toolbar   s   
r   c                 C      t | dr| S t| S )Return a valid color arg.inheritr   
_str_equalvalidate_colorr   r   r   r   validate_color_or_inherit
  s   r   c                 C   r   )Nautor   r   r   r   r   validate_color_or_auto  s   r   c                 C   s.   t | trtd| rtd| dt| S )Nz^C[0-9]$zCannot put cycle reference (z) in prop_cycler)r2   r3   rematchr7   r   r   r   r   r   validate_color_for_prop_cycle  s   r   c                 C   s   t | dr| S t | dst | drdS t | ds"t | dr$dS | d u r*d S t| tr5t| dks;t| dkrNd|  }t|rE|S |  d	krMd S nt| rT| S t| d
)NZ	linecolormfcmarkerfacecolormecmarkeredgecolor      #rs    does not look like a color arg)r   r   r2   r3   rN   r	   r   r7   )r   stmpr   r   r   _validate_color_or_linecolor  s$   "r   c              	   C   s   t | tr#|  dkrdS t| dkst| dkr#d|  }t|r#|S t| r)| S zt| }W n ttfy;   Y nw t|rB|S t| d)r   rs   r   r   r   r   )	r2   r3   r   rN   r	   astliteral_evalSyntaxErrorr7   )r   r   colorr   r   r   r   3  s"   
r   zreturn a list of colorspecs)rQ   r?   c                 C   s   t jttf| d | S )N)Zcmap)r   check_isinstancer3   r   r   r   r   r   _validate_cmapP  s   r   c              
   C   s:   | dv r| S zt | W S  ty } ztd|d }~ww )N)r   equalz not a valid aspect specificationrm   ro   r   r   r   validate_aspectU  s   

r   c                 C   s   | d u s| dkr
d S t | S )Nr   )validate_fontsizer   r   r   r   validate_fontsize_None^  s   r   c              
   C   sb   g d}t | tr|  } | |v r| S zt| W S  ty0 } ztd| d|f |d }~ww )N)	zxx-smallzx-smallZsmallmediumZlargezx-largezxx-largeZsmallerZlargerz5%s is not a valid font size. Valid font sizes are %s.z, )r2   r3   r   rn   r7   join)r   Z	fontsizesrp   r   r   r   r   e  s   

r   c              
   C   L   g d}| |v r
| S zt | W S  ttfy% } zt|  d|d }~ww )N)Z
ultralightZlightnormalregularbookr   romanZsemiboldZdemiboldZdemiboldZheavyz
extra boldblackz is not a valid font weight.intr7   rt   )r   weightsrp   r   r   r   validate_fontweightv  s   
r   c              
   C   r   )N)	zultra-condensedzextra-condensedZ	condensedzsemi-condensedr   zsemi-expandedexpandedzextra-expandedzultra-expandedz is not a valid font stretch.r   )r   Zstretchvaluesrp   r   r   r   validate_fontstretch  s   
r   c                 C   s   t |  | S r   r
   r   r   r   r   validate_font_properties  s   r   c                 C   sX   g d}t | tr|  } | d u s| dkrd S |  |v r| S t|  dd| d)N)cmstixstixsansrs   zB is not a valid fallback font name. Valid fallback font names are rG   z(. Passing 'None' will turn fallback off.)r2   r3   r   r7   r   )r   Z_fallback_fontsr   r   r   _validate_mathtext_fallback  s   
r   c                 C   sX   z	t tdd| W S  ttfy+   zt| W  Y S  ty* } ztd|d }~ww w )N   r>   z1Not a valid whisker value [float, (float, float)])rZ   validate_floatrt   r7   rn   ro   r   r   r   validate_whiskers  s   r   c                 C   s0   t | tr	|  } | dv rd S tdddg| S )N)rs   Nre   Fps.usedistillerZghostscriptZxpdf)r2   r3   r   r   r   r   r   r   validate_ps_distiller  s
   
r   c                 C   sF   t ddddddgdd d	D d
d| } | dkr!tjdddd | S )Nps.papersizerl   r   letterZlegalledgerc                 S   s&   g | ]}t d D ]}| | qqS )   )range)r   abir   r   r   rF     s   & z'_validate_papersize.<locals>.<listcomp>r   Tr   z3.8zps.papersize='auto'zQPass an explicit paper type, figure, or omit the *ps.papersize* rcParam entirely.)r)   Zaddendum)r   r   r1   r   r   r   r   _validate_papersize  s   r   Z	linestyler   rs     c              	   C   s   t | tr'zt| W S  ty   Y nw zt| } W n ttfy&   Y nw dd }|| r^t| dkr@|| d r@| \}}nd}| }t |tr^t|d dkr^t	dd |D r^||fS td| d	)
zf
    A validator for all possible line styles, the named ones *and*
    the on-off ink sequences.
    c                 S   s   t | ot| tttf S r   )rJ   rK   r2   r3   bytes	bytearray)xr   r   r   _is_iterable_not_string_like  s   z9_validate_linestyle.<locals>._is_iterable_not_string_liker   r-   r   c                 s       | ]}t |tV  qd S r   r2   r   )r   elemr   r   r   r'         z&_validate_linestyle.<locals>.<genexpr>z
linestyle z$ is not a valid on-off ink sequence.)
r2   r3   _validate_named_linestyler7   r   r   r   rN   r   all)lsr   offsetZonoffr   r   r   _validate_linestyle  s.   



r   zmarkers.fillstyle)fullleftrightbottomtoprs   c                 C   s   t | ttttdfr| S t | tr0t| dkr,tdd | D s*tdd | D r,| S tdt | t	rDtdd | D r@| S tdtd	)
a  
    Validate the markevery property of a Line2D object.

    Parameters
    ----------
    s : None, int, (int, int), slice, float, (float, float), or list[int]

    Returns
    -------
    None, int, (int, int), slice, float, (float, float), or list[int]
    Nr   c                 s   r   r   r2   r   r   rp   r   r   r   r'     r   z%validate_markevery.<locals>.<genexpr>c                 s   r   r   )r2   rn   r   r   r   r   r'     r   z3'markevery' tuple must be pair of ints or of floatsc                 s   r   r   r   r   r   r   r   r'     r   z3'markevery' list must have all elements of type intz!'markevery' is of an invalid type)
r2   slicern   r   rW   tuplerN   r   rt   rS   r   r   r   r   validate_markevery  s&   

r   c                 C   sF   t | tr|  } | dkr| S | dkrd S td| d ur!td| S )NZtightstandardz$bbox should be 'tight' or 'standard'rg   r   r   r   r   validate_bbox  s   
r   c                 C   sT   t | tr	|  } | dks| d u rd S ztttdd| W S  ty)   tdw )Nrs   r~   r   z.Expected a (scale, length, randomness) triplet)r2   r3   r   r   rZ   r   r7   r   r   r   r   validate_sketch-  s   
r   c                 C   s"   t | } | dkr
| S td|  )Ng      zValue must be >-0.5; got r   RuntimeErrorr   r   r   r   _validate_greaterthan_minushalf8     r   c                 C   s.   t | } d|   krdkr| S  td|  )Nr   r-   zValue must be >=0 and <=1; got r   r   r   r   r   "_validate_greaterequal0_lessequal1@  s
   r   c                 C   s"   t | } | dkr
| S td|  )Nr   zValue must be >=0; got )r   r   r   r   r   r   _validate_int_greaterequal0H  r   r   c                 C   sH   t | ts	tdtjt| d t| h d }|r"tdt| | S )z
    Validate a hatch pattern.
    A hatch pattern string can have any sequence of the following
    characters: ``\ / | - + * . x o O``.
    zHatch pattern must be a string)Zhatch_pattern>
   +O*/r   orU   \|-zUnknown hatch symbol(s): %s)r2   r3   r7   r   r   rL   rS   )r   unknownr   r   r   validate_hatchP  s   
r   c              	   C   sF   t | tr|  dkr| S zt| } | W S  ttfy"   Y tdw )z
    Validate ndiv parameter related to the minor ticks.
    It controls the number of minor ticks to be placed between
    two major ticks.
    r   z5'tick.minor.ndivs' must be 'auto' or non-negative int)r2   r3   r   r   r   r7   r   r   r   r   _validate_minor_tick_ndivsc  s   r   r   )rQ   Z	linewidthZ	facecolorZ	edgecolorZ	joinstyleZcapstyleZ	fillstyler   Z
markersizeZmarkeredgewidthr   Z	markeveryalphamarkerZhatchdashes)	cZlwr   Zfcecr   r   Zmewmsc                  O   s   | r|rt d| s|st dt| dkr't| d ts!t dt| d S t| dkr7| d | d fg}nt| dkrFtddt| | }g }|D ]%\}}t	||}t
	|d	}|d	u rht d
| ||}|||f qNttjdd |D S )a!  
    Create a `~cycler.Cycler` object much like :func:`cycler.cycler`,
    but includes input validation.

    Call signatures::

      cycler(cycler)
      cycler(label=values[, label2=values2[, ...]])
      cycler(label, values)

    Form 1 copies a given `~cycler.Cycler` object.

    Form 2 creates a `~cycler.Cycler` which cycles over one or more
    properties simultaneously. If multiple properties are given, their
    value lists must have the same length.

    Form 3 creates a `~cycler.Cycler` for a single property. This form
    exists for compatibility with the original cycler. Its use is
    discouraged in favor of the kwarg form, i.e. ``cycler(label=values)``.

    Parameters
    ----------
    cycler : Cycler
        Copy constructor for Cycler.

    label : str
        The property key. Must be a valid `.Artist` property.
        For example, 'color' or 'linestyle'. Aliases are allowed,
        such as 'c' for 'color' and 'lw' for 'linewidth'.

    values : iterable
        Finite-length iterable of the property values. These values
        are validated and will raise a ValueError if invalid.

    Returns
    -------
    Cycler
        A new :class:`~cycler.Cycler` for the given properties.

    Examples
    --------
    Creating a cycler for a single property:

    >>> c = cycler(color=['red', 'green', 'blue'])

    Creating a cycler for simultaneously cycling over multiple properties
    (e.g. red circle, green plus, blue cross):

    >>> c = cycler(color=['red', 'green', 'blue'],
    ...            marker=['o', '+', 'x'])

    zEcycler() can only accept positional OR keyword arguments -- not both.z2cycler() must have positional OR keyword argumentsr-   r   zDIf only one positional argument given, it must be a Cycler instance.r   r   z0-2NzUnknown artist property: %sc                 s   s    | ]
\}}t ||V  qd S r   )ccyclerr$   r   r   r   r'     s    zcycler.<locals>.<genexpr>)rt   rN   r2   r   validate_cyclerr   Znargs_errorr0   _prop_aliasesget_prop_validatorsappendr   operatoradd)argskwargspairsZ	validatedpropvals	norm_proprw   r   r   r   r     s,   5r   c                   @   s   e Zd Zdd ZdS )_DunderCheckerc                 C   s.   |j dr|j drtd| | d S )N__z)cycler strings with dunders are forbidden)attrr5   r6   r7   generic_visit)r"   noder   r   r   visit_Attribute  s   z_DunderChecker.visit_AttributeN)r;   r<   r=   r  r   r   r   r   r    s    r  z
legend.loc)bestzupper rightz
upper leftz
lower leftzlower rightr   zcenter leftzcenter rightzlower centerzupper centercenterc              	   C   s   t | tr'zt| W S  ty   Y nw zt| } W n ttfy&   Y nw t | tr8d|   kr7dkr8| S  t | trNt	| dkrNt
dd | D rN| S t|  d)ae  
    Confirm that loc is a type which rc.Params["legend.loc"] supports.

    .. versionadded:: 3.8

    Parameters
    ----------
    loc : str | int | (float, float) | str((float, float))
        The location of the legend.

    Returns
    -------
    loc : str | int | (float, float) or raise ValueError exception
        The location of the legend.
    r   
   r   c                 s   r   r   r   r   r   r   r   r'     r   z'_validate_legend_loc.<locals>.<genexpr>z  is not a valid legend location.)r2   r3   _validate_named_legend_locr7   r   r   r   r   r   rN   r   )locr   r   r   _validate_legend_loc  s&   



r  c           	   
   C   sr  t | tr/zt t|  t| ti d} W n ty. } z
t	| d| |d}~ww t | t
r7| }nt	d| |jttttB  }|rQt	d| t }|jD ]1}t||}||krs||jv rst	d|d|d||v rt	d	|d
|d||g qWt|t|jksJ |jD ]}t||}||| q|  D ]
\}}t| | q|S )z?Return a Cycler object from a string repr or the object itself.)r   __builtins__z% is not a valid cycler construction: Nz+Object is not a string or Cycler instance: zUnknown artist properties: %szCannot specify both z and alias z in the same prop_cyclez(Another property was already aliased to z. Collision normalizing rU   )r2   r3   r  visitr   parseevalr   BaseExceptionr7   r   keysrL   r  r  r  updaterN   Z
change_keyby_keyr0   )	r   rp   Zcycler_instZunknownscheckerr  r  r    r  r   r   r   r    sJ   






r  c              	   C   sn   g d}t | tr| |v r| S zt| W S  ttfy   Y nw zt| W S  ty.   Y nw td| d)N)r   ZsturgesfdZdoaneZscottricesqrtz'hist.bins' must be one of z , an int or a sequence of floats)r2   r3   r   rt   r7   validate_floatlist)r   Z
valid_strsr   r   r   validate_hist_binsZ  s   

r'  c                   @   s   e Zd ZdZdS )_ignorecasezAA marker class indicating that a list-of-str is case-insensitive.N)r;   r<   r=   rY   r   r   r   r   r(  j  s    r(  c                 C   s&   t |trt |t}t| ||dS |S )Nr   )r2   rS   r(  r   )r    convr   r   r   r   _convert_validator_specn  s   

r*  Zbackend_fallbackzfigure.hooksr   interactivetimezonezwebagg.portzwebagg.addresszwebagg.open_in_browserzwebagg.port_retrieszlines.linewidthzlines.linestylezlines.colorzlines.markerzlines.markerfacecolorzlines.markeredgecolorzlines.markeredgewidthzlines.markersizezlines.antialiasedzlines.dash_joinstylezlines.solid_joinstylezlines.dash_capstylezlines.solid_capstylezlines.dashed_patternzlines.dashdot_patternzlines.dotted_patternzlines.scale_dasheszpcolor.shading)r   ZflatZnearestZgouraudzpcolormesh.snapzpatch.linewidthzpatch.edgecolorzpatch.force_edgecolorzpatch.facecolorzpatch.antialiasedzhatch.colorzhatch.linewidthz	hist.binszboxplot.notchzboxplot.verticalzboxplot.whiskerszboxplot.bootstrapzboxplot.patchartistzboxplot.showmeanszboxplot.showcapszboxplot.showboxzboxplot.showflierszboxplot.meanlinezboxplot.flierprops.colorzboxplot.flierprops.markerz"boxplot.flierprops.markerfacecolorz"boxplot.flierprops.markeredgecolorz"boxplot.flierprops.markeredgewidthzboxplot.flierprops.markersizezboxplot.flierprops.linestylezboxplot.flierprops.linewidthzboxplot.boxprops.colorzboxplot.boxprops.linewidthzboxplot.boxprops.linestylezboxplot.whiskerprops.colorzboxplot.whiskerprops.linewidthzboxplot.whiskerprops.linestylezboxplot.capprops.colorzboxplot.capprops.linewidthzboxplot.capprops.linestylezboxplot.medianprops.colorzboxplot.medianprops.linewidthzboxplot.medianprops.linestylezboxplot.meanprops.colorzboxplot.meanprops.markerz!boxplot.meanprops.markerfacecolorz!boxplot.meanprops.markeredgecolorzboxplot.meanprops.markersizezboxplot.meanprops.linestylezboxplot.meanprops.linewidthzfont.familyz
font.stylezfont.variantzfont.stretchzfont.weightz	font.sizez
font.serifzfont.sans-serifzfont.cursivezfont.fantasyzfont.monospacez
text.colorztext.usetexztext.latex.preambleztext.hinting)defaultZno_autohintZforce_autohintZ
no_hintingr   nativeZeitherrs   ztext.hinting_factorztext.kerning_factorztext.antialiasedztext.parse_mathzmathtext.calzmathtext.rmzmathtext.ttzmathtext.itzmathtext.bfzmathtext.bfitzmathtext.sfzmathtext.fontset)Z
dejavusansZdejavuserifr   r   r   Zcustomzmathtext.default)ZrmcalZbfititttZsfbfr-  ZbbZfrakZscrr   zmathtext.fallbackzimage.aspectzimage.interpolationz
image.cmapz	image.lutzimage.originupperr   zimage.resamplezimage.composite_imagezcontour.negative_linestylezcontour.corner_maskzcontour.linewidthzcontour.algorithm)Zmpl2005Zmpl2014serialZthreadedzerrorbar.capsizezxaxis.labellocation)r   r  r   zyaxis.labellocation)r   r  r   zaxes.axisbelowzaxes.facecolorzaxes.edgecolorzaxes.linewidthzaxes.spines.leftzaxes.spines.rightzaxes.spines.bottomzaxes.spines.topzaxes.titlesizezaxes.titlelocationzaxes.titleweightzaxes.titlecolorzaxes.titleyzaxes.titlepadz	axes.gridzaxes.grid.which)minorbothmajorzaxes.grid.axis)r   r^   r6  zaxes.labelsizezaxes.labelpadzaxes.labelweightzaxes.labelcolorzaxes.formatter.limitsr   r   zaxes.formatter.use_localezaxes.formatter.use_mathtextzaxes.formatter.min_exponentzaxes.formatter.useoffsetzaxes.formatter.offset_thresholdzaxes.unicode_minuszaxes.prop_cyclezaxes.autolimit_modedataZround_numberszaxes.xmarginzaxes.ymarginzaxes.zmarginzpolaraxes.gridzaxes3d.gridzaxes3d.xaxis.panecolorzaxes3d.yaxis.panecolorzaxes3d.zaxis.panecolorzscatter.markerzscatter.edgecolorsz
date.epochzdate.autoformatter.yearzdate.autoformatter.monthzdate.autoformatter.dayzdate.autoformatter.hourzdate.autoformatter.minutezdate.autoformatter.secondzdate.autoformatter.microsecondzdate.converterr   Zconcisezdate.interval_multipleszlegend.fancyboxzlegend.numpointszlegend.scatterpointszlegend.fontsizezlegend.title_fontsizezlegend.labelcolorzlegend.markerscalezlegend.shadowzlegend.frameonzlegend.framealphazlegend.borderpadzlegend.labelspacingzlegend.handlelengthzlegend.handleheightzlegend.handletextpadzlegend.borderaxespadzlegend.columnspacingzlegend.facecolorzlegend.edgecolorz	xtick.topzxtick.bottomzxtick.labeltopzxtick.labelbottomzxtick.major.sizezxtick.minor.sizezxtick.major.widthzxtick.minor.widthzxtick.major.padzxtick.minor.padzxtick.colorzxtick.labelcolorzxtick.minor.visiblezxtick.minor.topzxtick.minor.bottomzxtick.major.topzxtick.major.bottomzxtick.minor.ndivszxtick.labelsizezxtick.direction)outinZinoutzxtick.alignment)r  r   r   z
ytick.leftzytick.rightzytick.labelleftzytick.labelrightzytick.major.sizezytick.minor.sizezytick.major.widthzytick.minor.widthzytick.major.padzytick.minor.padzytick.colorzytick.labelcolorzytick.minor.visiblezytick.minor.leftzytick.minor.rightzytick.major.leftzytick.major.rightzytick.minor.ndivszytick.labelsizezytick.directionzytick.alignment)r  r   r   ZbaselineZcenter_baselinez
grid.colorzgrid.linestylezgrid.linewidthz
grid.alphazfigure.titlesizezfigure.titleweightzfigure.labelsizezfigure.labelweightzfigure.figsizez
figure.dpizfigure.facecolorzfigure.edgecolorzfigure.frameonzfigure.autolayoutzfigure.max_open_warningzfigure.raise_windowzmacosx.window_mode)systemtabZwindowzfigure.subplot.leftzfigure.subplot.rightzfigure.subplot.bottomzfigure.subplot.topzfigure.subplot.wspacezfigure.subplot.hspacezfigure.constrained_layout.usez figure.constrained_layout.hspacez figure.constrained_layout.wspacezfigure.constrained_layout.h_padzfigure.constrained_layout.w_padzsavefig.dpizsavefig.facecolorzsavefig.edgecolorzsavefig.orientationZ	landscapeZportraitzsavefig.formatzsavefig.bboxzsavefig.pad_incheszsavefig.directoryzsavefig.transparentztk.window_focusr   z	ps.useafmr   zps.distiller.reszps.fonttypezpdf.compressionzpdf.inheritcolorzpdf.use14corefontszpdf.fonttypezpgf.texsystem)ZxelatexZlualatexZpdflatexzpgf.rcfontszpgf.preamblezsvg.image_inlinezsvg.fonttypepathzsvg.hashsaltzdocstring.hardcopyzpath.simplifyzpath.simplify_thresholdz	path.snapzpath.sketchzpath.effectszagg.path.chunksizezkeymap.fullscreenzkeymap.homezkeymap.backzkeymap.forwardz
keymap.panzkeymap.zoomzkeymap.savezkeymap.quitzkeymap.quit_allzkeymap.gridzkeymap.grid_minorzkeymap.yscalezkeymap.xscalezkeymap.helpzkeymap.copyzanimation.html)html5Zjshtmlrs   )
ZpngZjpegZtiffrawZrgbappmZsgiZbmpZpbmr   )
zanimation.embed_limitzanimation.writerzanimation.codeczanimation.bitratezanimation.frame_formatzanimation.ffmpeg_pathzanimation.ffmpeg_argszanimation.convert_pathzanimation.convert_args_internal.classic_moderA  c                 C   s   i | ]
\}}|t ||qS r   )r*  )r   r   r)  r   r   r   r   A  s    r   r:   )krY   r   	functoolsr   r   numbersr   r  ry   r   numpyrJ   Z
matplotlibr   r   Zmatplotlib.cbookr   Zmatplotlib.colorsr   r	   Zmatplotlib._fontconfig_patternr   Zmatplotlib._enumsr   r   r   r   r   Zinteractive_bkZnon_interactive_bkZall_backendsr   rZ   r[   Zvalidate_anylistr\   ri   rk   rq   rx   r3   r|   Zvalidate_string_or_NoneZvalidate_stringlistr   r   Zvalidate_int_or_Nonern   r   Zvalidate_float_or_Noner&  r}   r   r   objectr   r   r   r   r   r   r   r   Zvalidate_colorlistr   r   r   r   Zvalidate_fontsizelistr   r   r   r   r   r   r   r  r4   r   r   Zvalidate_fillstyleZvalidate_fillstylelistr   Zvalidate_markeverylistr   r   r   r   r   r   Zvalidate_hatchlistZvalidate_dashlistr   r  r  NodeVisitorr  r  r  r  r'  rS   r(  r*  Z_validatorsZ_hardcoded_defaultsr0   r   r   r   r   <module>   s   	"(		
		"%"	
U
";	
!$%()*+,/036789:;<=>?ABCDEFGHJKLNOPRSTVWXZ[\]^_`cdefghijklmpqrsuvwxz{|}~           	  
                        !  "  #  $  &  '  (  )  +  ,  -  .  0  2  3  4  5  6  7  8  9  <  >  ?  A  B  C  D  G  J  K  L  M  O  P  R  S  T  W  X  Z  [  \  ]  ^  _  `  a  c  e  h  i  l  n  o  p  r  t  v  x  z  }                     
                                                                                !    "    #    $    &    '    (    )    *    +    ,    -    .    /    0    1    2    3    4    5    6    8    9    :    ;    >    ?    @    A    E    F    I    J    M    N    O    P    Q    R    S    T    U    W    X    Y    Z    [    \    ^    a    b    d    e    h    i    j    k    l    m    n    p    q    s    v    w    y    z    {    |    }                                       	      
                                                                                                             !      "      #      $      %      (      +   
   D

