a
    SicM                  5  @   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 ZJedNg eK eL dOdPdQdRd d)ZMdSdT ZNedUg dVZOe eOZPdWdX ZQe eQZRdYdZ ZSd[d\ ZTd]d^ ZUd_d` ZVeUeVdaZWdbdc ZXe eXZYe e2ZZe e<d dde2e eNe?e?e ee eePe?e2e2e?eRe2e+eYeZdeZ[dfdgdNdhdidjdkdldmdn	Z\dodp ZG dqdr drej]Z^dsdt Z_dudv Z`G dwdx dxeaZbdydz Zce8e$e9e$e)e-e)e$e-e0eNe>e)e;e;e0e0e$eeeee2e2e2e$eOg d{e$e0e>e$e>e$e>e0e`e$e$eIe.e$e$e$e$e$e$e>e)e;e>e0e0eNe0e>e0eNe>e0eNe>e0eNe>e0eNe>e)e>e>e0eNe0e+e)e)eFeEe0e+e+e+e+e+e>e$e)g d|e-e-e$e$eGeGeGeGeGeGg d}g d~eHeAe)e@e-ddge$e$eNe$e1g de0g dg de%e>e>e0e$e$e$e$eCg deEe;e1e0e$g dg deCe0eEe>e e-dde$e$e-e$e-e$e_ddgeWd eWd eWd e$e$e)e)e#e)e)e)e)e)e)e)ddge$e$ebg de-e-eCeBe=e0e$e$e1e0e0e0e0e0e0e0e:e:e$e$e$e$e0e0e0e0e0e0e>e:e$e$e$e$e$eCg dg de$e$e$e$e0e0e0e0e0e0e>e:e$e$e$e$e$eCg dg de>eNe0e0eCeEeCeEe e0dde0e>e>e$e$e-e$eWd eWd eWd eWd eWd eWd e$eWd eWd e0e0e&e;e;ddge)eSe0e3e$e$ebddddgdd dD e$eJe-e4e-e$e$e4g de$e)e$dPdge*e$e$eWd e$eTe"e-e+e+e+e+e+e+e+e+e+e+e+e+e+e+e+g de0e)e)e-g de3e+e3e+e$d4ZdddiZedd edf D ZddS )ak  
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:`matplotlibrc.template` in Matplotlib's root source
directory.
    N)	lru_cachereduce)Number)_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)aggZcairopdfZpgf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 d S N)lowers
ignorecase N/var/www/html/django/DPS/env/lib/python3.9/site-packages/matplotlib/rcsetup.pyfunc;   s    z(ValidateInStrings.__init__.<locals>.funcc                    s   i | ]} ||qS r   r   ).0k)r   r   r   
<dictcomp>@       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 r2 fddt  D \}tj j |dd  jr@| }| jv rT j| S |d j dg  j	  }t
|tr|dr|ds|dr|dr|d	d
  jv r|d7 }t|d S )Nc                 3   s   | ]\}}| u r|V  qd S r   r   r    r!   vr&   r   r   	<genexpr>D   r#   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   r   r%   r$   values
isinstancestr
startswithendswith
ValueError)r&   r   r-   msgr   r*   r   __call__B   s2    


zValidateInStrings.__call__)F)__name__
__module____qualname__r'   r=   r   r   r   r   r   3   s   r   F)ndocc                   s~    fdd}zd j|_W n$ tyF   d tj|_Y n0 |jddd d |j |_|d urr|nj|_|S )Nc                    s   t | trVzfdd| dD }W q tyR    rLfdd| D }n Y q0 n:t| rt | ttfsfdd| D }ntd|  d urt	|krtd dt	| d	|  |S )
Nc                    s    g | ]}|  r |  qS r   stripr    r)   scalar_validatorr   r   
<listcomp>[   s   z1_listify_validator.<locals>.f.<locals>.<listcomp>,c                    s    g | ]}|  r |  qS r   rC   rE   rF   r   r   rH   a   r#   c                    s"   g | ]}t |tr|r |qS r   )r7   r8   rE   rF   r   r   rH   k   s   z0Expected str or other non-set iterable, but got z	Expected z values, but there are z values in )
r7   r8   split	Exceptionnpiterableset	frozensetr;   len)r   valallow_stringlistrA   rG   r   r   fX   s"    

z_listify_validator.<locals>.fz{}listz{}List.r1   r   )formatr>   AttributeErrortyper@   rsplit__doc__)rG   rS   rA   rB   rT   r   rR   r   _listify_validatorU   s    r[   c                 C   s   | S r   r   r   r   r   r   validate_any~   s    r\   c                 C   s6   zt |  | W S  ty0   t| dY n0 d S )Nz: should be a string that can be parsed by numpy.datetime64)rL   
datetime64r;   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dS )zConvert b to ``bool`` or raise.)tyyesontrue1r1   TT)rT   rA   noofffalse0r   FFzCannot convert z to boolNr7   r8   r   r;   )br   r   r   validate_bool   s    
rk   c                 C   sH   z
t | W S  ty4   t| tr0| dkr0Y dS Y n0 t| dd S )Nlinez0 cannot be interpreted as True, False, or "line")rk   r;   r7   r8   r   r   r   r   validate_axisbelow   s    

rm   c              
   C   sV   | dkr| S z
t | W S  tyP } z"t| d| d|W Y d}~n
d}~0 0 dS )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floatr;   r   er   r   r   validate_dpi   s    
rs   )
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 rFt | tsFtjddd z
| W S  ttfy } z$td| dj |W Y d }~n
d }~0 0 d S )Nnonez3.5zSupport for setting an rcParam that expects a str value to a non-str value is deprecated since %(since)s and support will be removed %(removal)s.)messagezCould not convert z to )r7   r8   r   r   r5   	TypeErrorr;   r>   rq   rt   clsr   r   	validator   s(    

z'_make_type_validator.<locals>.validator	validate_Z_or_NonerU   r1   r   )r>   r@   rY   )ry   rt   rz   r   rx   r   _make_type_validator   s    r|   Tzreturn a list of strings)rB   zreturn a list of floatsc                 C   s&   t | ttjfrt| S t| S d S r   )r7   r8   osPathLikefsdecodevalidate_stringr   r   r   r   _validate_pathlike   s    
r   c                 C   s   ddd}zt | }W n\ tyr   z||   W  Y S  tyl } ztdt| |W Y d}~n
d}~0 0 Y n&0 || vrtdt|  |S d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_intr;   r   KeyErrorlistr6   )r   Z	fonttypesZfonttyperr   r   r   r   validate_fonttype   s*    
r   backendr   c                 C   s"   | t u s| dr| nt| }|S )Nz	module://)_auto_backend_sentinelr9   _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   warn_externalr   r   r   r   _validate_toolbar  s    
r   c                 C   s   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   s   t | dr| S t| S )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)r7   r8   rematchr;   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sDt | drHdS | d u rTd S t| trjt| dksvt| dkrd|  }t|r|S |  d	krd S nt| r| S t| d
d S )NZ	linecolormfcmarkerfacecolormecmarkeredgecolor      #ru    does not look like a color arg)r   r   r7   r8   rP   r	   r   r;   )r   stmpr   r   r   _validate_color_or_linecolor!  s"    "r   c              	   C   s   t | trF|  dkrdS t| dks2t| dkrFd|  }t|rF|S t| rR| S zt| }W n ttfyv   Y n0 t|r|S t| ddS )r   ru   r   r   r   r   N)	r7   r8   r   rP   r	   astliteral_evalSyntaxErrorr;   )r   r   colorr   r   r   r   6  s     
r   zreturn a list of colorspecs)rS   rB   c                 C   s   t jttf| d | S )N)Zcmap)r   check_isinstancer8   r   r   r   r   r   _validate_cmapS  s    r   c              
   C   sJ   | dv r| S z
t | W S  tyD } ztd|W Y d }~n
d }~0 0 d S )N)r   equalz not a valid aspect specificationro   rq   r   r   r   validate_aspectX  s    
r   c                 C   s    | d u s| dkrd S t | S d S )Nr   )validate_fontsizer   r   r   r   validate_fontsize_Nonea  s    r   c              
   C   sr   g d}t | tr|  } | |v r&| S z
t| W S  tyl } z$td| d|f |W Y d }~n
d }~0 0 d S )N)	zxx-smallzx-smallsmallmediumlargezx-largezxx-largeZsmallerZlargerz5%s is not a valid font size. Valid font sizes are %s.z, )r7   r8   r   rp   r;   join)r   Z	fontsizesrr   r   r   r   r   h  s    

r   c              
   C   s\   g d}| |v r| S z
t | W S  ttfyV } zt|  d|W Y d }~n
d }~0 0 d S )N)Z
ultralightlightnormalregularbookr   romanZsemiboldZdemiboldZdemiboldZheavyz
extra boldblackz is not a valid font weight.intr;   rw   )r   weightsrr   r   r   r   validate_fontweighty  s    
r   c              
   C   s\   g d}| |v r| S z
t | W S  ttfyV } zt|  d|W Y d }~n
d }~0 0 d S )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stretchvaluesrr   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   s\   g d}t | tr|  } | d u s*| dkr.d S |  |v r>| S t|  dd| dd S )N)cmstixstixsansru   zB is not a valid fallback font name. Valid fallback font names are rI   z(. Passing 'None' will turn fallback off.)r7   r8   r   r;   r   )r   Z_fallback_fontsr   r   r   _validate_mathtext_fallback  s    
r   c                 C   sl   zt tdd| W S  ttfyf   zt| W  Y S  ty` } ztd|W Y d }~n
d }~0 0 Y n0 d S )N   rA   z1Not a valid whisker value [float, (float, float)])r[   validate_floatrw   r;   rp   rq   r   r   r   validate_whiskers  s    r   c                 C   s4   t | tr|  } | dv rd S tdddg| S d S )N)ru   Nrg   Fps.usedistillerZghostscriptZxpdf)r7   r8   r   r   r   r   r   r   validate_ps_distiller  s
    
r   	linestyler   ru     c              	   C   s   t | trNz
t| W S  ty&   Y n0 zt| } W n ttfyL   Y n0 dd }|| rt| dkr|| d r| \}}nd}| }t |trt|d dkrt	dd |D r||fS td| d	d
S )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   )rL   rM   r7   r8   bytes	bytearray)xr   r   r   _is_iterable_not_string_like  s    z9_validate_linestyle.<locals>._is_iterable_not_string_liker   r1   r   c                 s   s   | ]}t |tV  qd S r   )r7   r   )r    elemr   r   r   r+     r#   z&_validate_linestyle.<locals>.<genexpr>z
linestyle z$ is not a valid on-off ink sequence.N)
r7   r8   _validate_named_linestyler;   r   r   r   rP   r   all)lsr   offsetZonoffr   r   r   _validate_linestyle  s,    



r   markers.fillstyle)fullleftrightbottomtopru   c                 C   s   t | ttttdfr| S t | tr`t| dkrXtdd | D sTtdd | D rX| S tdt | t	rtdd | D r| S tdtd	dS )
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   s   | ]}t |tV  qd S r   r7   r   r    rr   r   r   r   r+     r#   z%validate_markevery.<locals>.<genexpr>c                 s   s   | ]}t |tV  qd S r   )r7   rp   r   r   r   r   r+     r#   z3'markevery' tuple must be pair of ints or of floatsc                 s   s   | ]}t |tV  qd S r   r   r   r   r   r   r+   
  r#   z3'markevery' list must have all elements of type intz!'markevery' is of an invalid type)
r7   slicerp   r   rX   tuplerP   r   rw   r   r   r   r   r   validate_markevery  s&    

r   c                 C   sH   t | tr4|  } | dkr| S | dkr*d S tdn| d urDtd| S )Ntightstandardz$bbox should be 'tight' or 'standard'ri   r   r   r   r   validate_bbox  s    

r   c                 C   s\   t | tr|  } | dks"| d u r&d S ztttdd| W S  tyV   tdY n0 d S )Nru   r   r   z.Expected a (scale, length, randomness) triplet)r7   r8   r   r   r[   r   r;   r   r   r   r   validate_sketch#  s    
r   c                 C   s6   t | } d|   krdk r$n n| S td|  d S )Nr   r1   zValue must be >=0 and <1; got r   RuntimeErrorr   r   r   r   !_validate_greaterequal0_lessthan1.  s    r   c                 C   s6   t | } d|   krdkr$n n| S td|  d S )Nr   r1   zValue must be >=0 and <=1; got r   r   r   r   r   "_validate_greaterequal0_lessequal16  s    r   )
0 <= x < 10 <= x <= 1c                 C   sH   t | tstdtjt| d t| h d }|rDt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   +O\rU   |*zUnknown hatch symbol(s): %s)r7   r8   r;   r   r   rN   r   )r   unknownr   r   r   validate_hatchD  s    
r   )rS   )r   	linewidthr   	facecolor	edgecolorZ	joinstyleZcapstyleZ	fillstyler   
markersizemarkeredgewidthr   Z	markeveryalphamarkerZhatchdashesr   r   r   r   r   r   r   r   )	clwr   fcecr   r   mewmsc                  O   s   | r|rt dn| s"|s"t dt| dkrPt| d tsDt dt| d S t| dkrp| d | d fg}nt| dkrt dn| }g }|D ]J\}}t||}t|d}|du rt d	| ||}|	||f qt
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 argumentsr1   r   zDIf only one positional argument given, it must be a Cycler instance.r   z+No more than 2 positional arguments allowedNzUnknown artist property: %sc                 s   s   | ]\}}t ||V  qd S r   )ccyclerr(   r   r   r   r+     r#   zcycler.<locals>.<genexpr>)rw   rP   r7   r   validate_cyclerr4   _prop_aliasesget_prop_validatorsappendr   operatoradd)argskwargspairs	validatedpropvals	norm_proprz   r   r   r   r   x  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)attrr9   r:   r;   generic_visit)r&   noder   r   r   visit_Attribute  s    z_DunderChecker.visit_AttributeN)r>   r?   r@   r  r   r   r   r   r    s   r  c           	   
   C   s  t | trjz&t t|  t| ti d} W n8 tyh } z t	| d| |W Y d}~n
d}~0 0 t | t
rz| }nt	d| |jttttB  }|rt	d| t }|jD ]d}t||}||kr||jv rt	d|d|d||v rt	d	|d
|d||g qt|t|jks8J |jD ]}t||}||| q>|  D ]\}}t| | qj|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   )r7   r8   r  visitr   parseevalr   BaseExceptionr;   r   keysrN   r
  r  r	  updaterP   Z
change_keyby_keyr4   )	r   rr   Zcycler_instZunknownscheckerr  r  r$   r  r   r   r   r    sF    







r  c              	   C   sp   g d}t | tr| |v r| S z
t| W S  ttfy>   Y n0 z
t| W S  ty\   Y n0 td|d S )N)r   sturgesfddoanescottricesqrtz='hist.bins' must be one of {}, an int or a sequence of floats)r7   r8   r   rw   r;   validate_floatlistrV   )r   Z
valid_strsr   r   r   validate_hist_bins  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@   rZ   r   r   r   r   r,    s   r,  c                 C   s*   t |tr"t |t}t| ||dS |S d S )Nr   )r7   r   r,  r   )r$   convr   r   r   r   _convert_validator_spec#  s    

r.  )r   flatnearestZgouraud)defaultZno_autohintZforce_autohintZ
no_hintingr   nativeeitherru   )Z
dejavusansZdejavuserifr   r   r   custom)Zrmcalitttsfbfr1  bbZfrakZscrr   upperr   )Zmpl2005Zmpl2014serialZthreaded)r   centerr   )r   r=  r   )minorbothmajor)r   r`   r?  r   r   dataZround_numbersr   r   Zconcise)bestzupper rightz
upper leftz
lower leftzlower rightr   zcenter leftzcenter rightzlower centerzupper centerr=  )outinZinout)r=  r   r   )r=  r   r   baselineZcenter_baseliner   Z	landscapeZportraitletterZlegalZledgerc                 C   s&   g | ]}t d D ]}| | qqS )   )range)r    abir   r   r   rH     s   rH   rI  )ZxelatexZlualatexZpdflatexpath)html5Zjshtmlru   )
pngjpegtiffrawrgbappmZsgibmpZpbmr   (4  r   backend_fallbackr   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_dashesr   zpcolor.shadingz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.hintingztext.hinting_factorztext.kerning_factorztext.antialiasedztext.parse_mathzmathtext.calzmathtext.rmzmathtext.ttzmathtext.itzmathtext.bfzmathtext.sfzmathtext.fontsetzmathtext.defaultzmathtext.fallbackzimage.aspectzimage.interpolationz
image.cmapz	image.lutzimage.originzimage.resamplezimage.composite_imagezcontour.negative_linestylezcontour.corner_maskzcontour.linewidthzcontour.algorithmzerrorbar.capsizezxaxis.labellocationzyaxis.labellocationz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.whichzaxes.grid.axiszaxes.labelsizezaxes.labelpadzaxes.labelweightzaxes.labelcolorzaxes.formatter.limitsz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_modezaxes.xmarginzaxes.ymarginzaxes.zmarginzpolaraxes.gridzaxes3d.gridz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.converterzdate.interval_multipleszlegend.fancyboxz
legend.locz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.labelsizezxtick.directionzxtick.alignmentz
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.labelsizezytick.directionzytick.alignmentz
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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savefig.formatzsavefig.bboxzsavefig.pad_incheszsavefig.directoryzsavefig.transparentztk.window_focuszps.papersizez	ps.useafmr   zps.distiller.reszps.fonttypezpdf.compressionzpdf.inheritcolorzpdf.use14corefontszpdf.fonttypezpgf.texsystemzpgf.rcfontszpgf.preamblezsvg.image_inlinezsvg.fonttypez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.htmlz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_moderW  c                 C   s   i | ]\}}|t ||qS r   )r.  )r    r!   r-  r   r   r   r"     s   r"   )F)grZ   r   	functoolsr   r   numbersr   r  r}   r   numpyrL   
matplotlibr   r   matplotlib.cbookr   matplotlib.colorsr   r	   Zmatplotlib._fontconfig_patternr   Zmatplotlib._enumsr   r   r   r   r  Zinteractive_bkZnon_interactive_bkZall_backendsr   r[   r\   Zvalidate_anylistr^   rk   rm   rs   r|   r8   r   Zvalidate_string_or_NoneZvalidate_stringlistr   r   Zvalidate_int_or_Nonerp   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   r6   r   r   Zvalidate_fillstyleZvalidate_fillstylelistr   Zvalidate_markeverylistr   r   r   r   Z_range_validatorsr   Zvalidate_hatchlistZvalidate_dashlistr
  r  NodeVisitorr  r  r+  r   r,  r.  _validators_hardcoded_defaultsr4   r   r   r   r   <module>   s  	"(		
	"%"	U;


      =