
    h
                       S r SSKrSSKrSSKrSSKJr  SSKrSSKrSSK	r
SSK	JrJr  SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSKJ r!  SSK"J#r$  \RJ                  " \&5      r'Sr(\RR                  " \RT                  5      r+\+RY                  5       r-\+R\                  R_                  5        V s/ s H  n \0" \1" U 5      5      PM     sn r2\-\2-    Vs/ s H  nSU-   PM
     snr3 " S S\Rh                  5      r5 " S	 S
\55      r6 " S S\55      r7 " S S5      r8 " S S5      r9 " S S\Rh                  5      r:S r; " S S\:5      r< " S S\:5      r=gs  sn f s  snf )z*
Classes for the ticks and x- and y-axis.
    N)Real)_apicbook   grid_c                     ^  \ rS rSrSrSSSSSSSSSSSSSSSSSSSSS.U 4S jjrS	 r\S
 5       rS r	S r
S rS rSU 4S jjrS rS rS rS r\R&                  S 5       rU 4S jrS rS rS rS rS rS rSrU =r$ )Tick%   a  
Abstract base class for the axis ticks, grid lines and labels.

Ticks mark a position on an Axis. They contain two lines as markers and
two labels; one each for the bottom and top positions (in case of an
`.XAxis`) or for the left and right positions (in case of a `.YAxis`).

Attributes
----------
tick1line : `~matplotlib.lines.Line2D`
    The left/bottom tick marker.
tick2line : `~matplotlib.lines.Line2D`
    The right/top tick marker.
gridline : `~matplotlib.lines.Line2D`
    The grid line associated with the label position.
label1 : `~matplotlib.text.Text`
    The left/bottom tick label.
label2 : `~matplotlib.text.Text`
    The right/top tick label.

NTFr   )sizewidthcolortickdirpad	labelsize
labelcolorlabelfontfamilyzordergridOntick1Ontick2Onlabel1Onlabel2Onmajorlabelrotation
grid_colorgrid_linestylegrid_linewidth
grid_alphac                0  > [         TU ]  5         UcW  [        R                  S   nU(       a  US;   a  [        R                  S   nO#U(       d  US;   a  [        R                  S   nOSnU R	                  UR                  SS95        Xl        X l        UU l        U R                  nU(       a  SOS	nUc  [        R                  U S
U S3   nX0l
        Uc  [        R                  U S
U S3   nX@l        Uc  [        R                  U S3   nUc  [        R                  U S
U S3   nXpl        U	c  [        R                  U S3   n	[        R                  " U	S5      (       a  [        R                  U S3   n	Uc  [        R                  U S3   nU R                  U5        Uc?  U(       a  [         R"                  R$                  S-   nO[         R"                  R$                  nXl        [        R(                  " US5      n[        R(                  " US5      n[        R(                  " US5      nUc.  [*        R,                  " U5      (       d  [        R                  S   nUR/                  5        VVs0 s H  u  nnUSS U_M     nnn[         R"                  " / / USXXSUS9	U l        [         R"                  " / / USXXSUS9	U l        [         R"                  " / / 4UUUUUSS.UD6U l        [6        U R4                  R9                  5       l        [<        R>                  " [@        RB                  [@        RB                  XUXRD                  S   S9U l#        [<        R>                  " [@        RB                  [@        RB                  XUXRD                  S   S9U l$        U RK                  U5        U R0                  U R2                  U R4                  U RF                  U RH                  4 H  nU RM                  U5        M     U RO                  U5        gs  snnf )z
bbox is the Bound2D bounding box in display coords of the Axes
loc is the tick location in data coords
size is the tick size in points
Naxes.grid.whichbothr   	axes.gridr"   minorFrootr   r%   .z.sizez.widthz.colorz.padz.labelcolorinheritz
.labelsizeg{Gz?z
grid.colorzgrid.linestylezgrid.linewidthz
grid.alpha   none)r   	linestyler   visiblemarkeredgecolor
markersizemarkeredgewidth )r   alphar-   r,   	linewidthmarker   )fontsizer   r-   
fontfamilyrotation)(super__init__mplrcParams
set_figure
get_figureaxes_loc_major__name___size_width	_base_padr   
_str_equal_set_labelrotationmlinesLine2Dr   _zorder
_val_or_rcmcolors_has_alpha_channelitems	tick1line	tick2linegridlineGRIDLINE_INTERPOLATION_STEPSget_path_interpolation_stepsmtextTextnpnan_labelrotationlabel1label2_apply_tickdir_set_artist_propsupdate_position) selfr?   locr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   kwargswhichnamemajor_minorkvgrid_kwartist	__class__s                                   A/var/www/html/env/lib/python3.13/site-packages/matplotlib/axis.pyr:   Tick.__init__;   s   : 	>LL!23E%#44k2%+<"<k2U34		}}!&gG<<<4&+e <=D
=LLD6;-v!>?E=LLD61E;,,$qT:;Ck&:;JJ	22fo6JvZ%89I.>--4--^^J=
8HI8HIg&@&@&L&L l3J(.711QR5!876&!E

  6&!E

 
J$r
 	
 ) 	 5jjFFBFF(&1D1DQ1GI jjFFBFF(&1D1DQ1GI
 	G$~~t~~t}}{{DKK1F""6*1 	S!G 8s   7Pc                     [        U[        5      (       a  UnSnO$[        U[        [        45      (       a  Uu  p#OSnUn[        R
                  " SS/US9  X#4U l        g )Nr   defaultauto)r   )
isinstancestrtuplelistr   check_in_listrY   )r_   r   modeangles       rj   rG   Tick._set_labelrotation   s\    mS)) DEt}55'KD%D!EFI.dC#m    c                 <    U R                   U R                  5       -   $ N)rE   get_tick_paddingr_   s    rj   _pad	Tick._pad   s    ~~ 5 5 777rw   c                     Uc!  [         R                  U R                   S3   nO[        R                  " / SQUS9  Xl        g)z;Set tick direction.  Valid values are 'out', 'in', 'inout'.Nz
.direction)inoutinout)r   )r;   r<   rB   r   rs   _tickdir)r_   r   s     rj   r\   Tick._apply_tickdir   s8     ?lldmm_J#?@G5wGrw   c                     U R                   $ ry   )r   r{   s    rj   get_tickdirTick.get_tickdir   s    }}rw   c                 D    SSSS.nU R                   XR                     -  $ )z/Get the length of the tick outside of the Axes.g              ?      ?)r   r   r   )rC   r   )r_   paddings     rj   rz   Tick.get_tick_padding   s,     

 zzGMM222rw   c                 x    U R                   U R                  U R                  U R                  U R                  /nU$ ry   )rO   rP   rQ   rZ   r[   )r_   childrens     rj   get_childrenTick.get_children   s.    NNDNNMM4;;=rw   c                 h   > [         TU ]  X5        U R                  R                  X5        SU l        g NT)r9   set_clip_pathrQ   stale)r_   path	transformri   s      rj   r   Tick.set_clip_path   s)    d.##D4
rw   c                 
    S0 4$ )z
Test whether the mouse event occurred in the Tick marks.

This function always returns false.  It is more useful to test if the
axis as a whole contains the mouse rather than the set of tick marks.
F )r_   
mouseevents     rj   containsTick.contains   s     byrw   c                 0    U R                  US9  SU l        g)zE
Set the tick label pad in points

Parameters
----------
val : float
)r   TN)_apply_paramsr   r_   vals     rj   set_padTick.set_pad   s     	s#
rw   c                     U R                   $ )z.Get the value of the tick label pad in points.)rE   r{   s    rj   get_padTick.get_pad  s    ~~rw   c                     U R                   $ )z3Return the tick location (data coords) as a scalar.)r@   r{   s    rj   get_locTick.get_loc  s    yyrw   c                 t   U R                  5       (       d  SU l        g UR                  U R                  U R	                  5       S9  U R
                  U R                  U R                  U R                  U R                  4 H  nUR                  U5        M     UR                  U R                  5        SU l        g )NFgid)get_visibler   
open_grouprB   get_gidrQ   rO   rP   rZ   r[   drawclose_group)r_   rendererrh   s      rj   r   	Tick.draw  s    !!DJDMMt||~>}}dnndnn{{DKK1FKK!1 	T]]+
rw   c                    > [         TU ]  U5        U R                  R                  U5        U R                  R                  U5        SU l        g)zD
Set the url of label1 and label2.

Parameters
----------
url : str
TN)r9   set_urlrZ   r[   r   )r_   urlri   s     rj   r   Tick.set_url  s<     	C C 
rw   c                 @    UR                  U R                  SS95        g NFr&   r=   r>   r_   as     rj   r]   Tick._set_artist_props%  s    	T__%_01rw   c                     [        S5      e)zH
Return the view limits ``(min, max)`` of the axis the tick belongs to.
Derived must overrideNotImplementedErrorr{   s    rj   get_view_intervalTick.get_view_interval(  s     ""9::rw   c                 P  ^ SU R                   4SU R                  4SU R                  4SU R                  4SU R                  44 H-  u  p#UT;   d  M  UR                  TR                  U5      5        M/     [        U4S jS 5       5      (       Ga?  TR                  SU R                  5      U l        TR                  S	U R                  5      U l	        TR                  S
U R                  5      U l
        U R                  TR                  SU R                  5      5        U R                  U R                  4 H9  nUR                  U R                  5        UR                  U R                  5        M;     U R                  5       S   nU R                  R!                  U5        U R#                  5       S   nU R                  R!                  U5        TR%                  5        VVs0 s H  u  pgUS;   d  M  Xg_M     nnnST;   a  TS   US'   U R                  R&                  " S0 UD6  U R                  R&                  " S0 UD6  UR%                  5        H  u  pg[)        U SU-   U5        M     ST;   al  U R+                  TR                  S5      5        U R                  R'                  U R,                  S   S9  U R                  R'                  U R,                  S   S9  TR%                  5        VVs0 s H  u  pgUS;   d  M  USS  U_M     n	nnU R                  R&                  " S0 U	D6  U R                  R&                  " S0 U	D6  TR%                  5        VVs0 s H  u  pgU[.        ;   d  M  USS  U_M     n
nnU R                   R&                  " S0 U
D6  g s  snnf s  snnf s  snnf )Nr   r   r   r   r   c              3   ,   >#    U  H	  oT;   v   M     g 7fry   r   ).0re   ra   s     rj   	<genexpr>%Tick._apply_params.<locals>.<genexpr>6  s     H$GqF{$Gs   )r   r   r   r   r   r   r   r   r   )r   r   r   r.   _r   r5   )r8   )r   r   r   r*   r   )rQ   rO   rP   rZ   r[   set_visiblepopanyrC   rD   rE   r\   r   set_markersizeset_markeredgewidth_get_text1_transformset_transform_get_text2_transformrN   setsetattrrG   rY   _gridline_param_names)r_   ra   rc   targetlinetransre   rf   tick_kwlabel_kwrg   s    `         rj   r   Tick._apply_params.  s   &6'8'8($++6($++6	8LD
 v~""6::d#348 H$GHHHFDJJ7DJ !**Wdkk:DK#ZZt~~>DN 

9dmm DE8##DJJ/((5 9 --/2EKK%%e,--/2EKK%%e,$*LLNONDAa;N6N414NOf)/G%&%W%%W%MMODAD#'1% $ f$##FJJ$?@KKOOT%8%8%;O<KKOOT%8%8%;O<)/ LJJ AabE1H L#(##(#(. 200 1QR5!8 2$G$) PL
2s$   #N3N0N 
NN",
N"c                     [        S5      e):Set the location of tick in data coords with scalar *loc*.r   r   r_   r`   s     rj   r^   Tick.update_position]      !"9::rw   c                     [        S5      eNr   r   r{   s    rj   r   Tick._get_text1_transforma      !"9::rw   c                     [        S5      er   r   r{   s    rj   r   Tick._get_text2_transformd  r   rw   )rE   rY   r@   rA   rC   r   rD   rJ   r?   rQ   rZ   r[   r   rO   rP   ry   )rB   
__module____qualname____firstlineno____doc__r:   rG   propertyr|   r\   r   rz   r   r   r   r   r   r   martistallow_rasterizationr   r   r]   r   r   r^   r   r   __static_attributes____classcell__ri   s   @rj   r	   r	   %   s    . +@" @"D
, 8 8
 3
	   	 !	2;-%^;;; ;rw   r	   c                   T   ^  \ rS rSrSrSr U 4S jrS rS rU 4S jrS r	S	 r
S
rU =r$ )XTickih  ze
Contains all the Artists needed to make an x tick - the tick line,
the label text and the grid line
xtickc                   > [         TU ]  " U0 UD6  U R                  nU R                  R	                  S/S/4UR                  S5      S9  U R                  R	                  S/S/4UR                  S5      S9  U R                  R	                  SS/SS/4UR                  S5      S9  U R                  5       u  pEnU R                  R	                  SSXVUS9  U R                  5       u  pEnU R                  R	                  SSXVUS9  g Nr   tick1)datar   r5   tick2gridxyverticalalignmenthorizontalalignmentr   )r9   r:   r?   rO   r   get_xaxis_transformrP   rQ   r   rZ   r   r[   r_   argsra   axr   vahari   s          rj   r:   XTick.__init__o     $)&)YY#sr'='=g'F 	 	H#sr'='=g'F 	 	Ha&1a&!R-C-CF-K 	 	M 11321 E 	 	
 11321 E 	 	
rw   c                 L    U R                   R                  U R                  5      $ ry   )r?   get_xaxis_text1_transformr|   r{   s    rj   r   XTick._get_text1_transform      yy22499==rw   c                 L    U R                   R                  U R                  5      $ ry   )r?   get_xaxis_text2_transformr|   r{   s    rj   r   XTick._get_text2_transform  r  rw   c                 2  > [         TU ]  U5        [        R                  [        R                  4[        R                  [        R                  4SS.U R
                     u  p#U R                  R                  U5        U R                  R                  U5        g )N)|r  r   r   r   )	r9   r\   rH   TICKDOWNTICKUPr   rO   
set_markerrP   r_   r   mark1mark2ri   s       rj   r\   XTick._apply_tickdir  sp    w'OOV]]3==&//2
 --	
 	!!%(!!%(rw   c                 2   U R                   R                  U45        U R                  R                  U45        U R                  R                  U45        U R                  R                  U5        U R                  R                  U5        Xl        SU l        gr   TN)	rO   	set_xdatarP   rQ   rZ   set_xr[   r@   r   r   s     rj   r^   XTick.update_position  n      #(  #('##	
rw   c                 B    U R                   R                  R                  $ ry   )r?   viewLim	intervalxr{   s    rj   r   XTick.get_view_interval      yy  ***rw   r@   r   rB   r   r   r   r   r:   r   r   r\   r^   r   r   r   r   s   @rj   r   r   h  2     H
,>>	)+ +rw   r   c                   T   ^  \ rS rSrSrSr U 4S jrS rS rU 4S jrS r	S	 r
S
rU =r$ )YTicki  zd
Contains all the Artists needed to make a Y tick - the tick line,
the label text and the grid line
ytickc                   > [         TU ]  " U0 UD6  U R                  nU R                  R	                  S/S/4UR                  S5      S9  U R                  R	                  S/S/4UR                  S5      S9  U R                  R	                  SS/SS/4UR                  S5      S9  U R                  5       u  pEnU R                  R	                  SSXVUS9  U R                  5       u  pEnU R                  R	                  SSXVUS9  g r   )r9   r:   r?   rO   r   get_yaxis_transformrP   rQ   r   rZ   r   r[   r   s          rj   r:   YTick.__init__  r  rw   c                 L    U R                   R                  U R                  5      $ ry   )r?   get_yaxis_text1_transformr|   r{   s    rj   r   YTick._get_text1_transform  r  rw   c                 L    U R                   R                  U R                  5      $ ry   )r?   get_yaxis_text2_transformr|   r{   s    rj   r   YTick._get_text2_transform  r  rw   c                 2  > [         TU ]  U5        [        R                  [        R                  4[        R                  [        R                  4SS.U R
                     u  p#U R                  R                  U5        U R                  R                  U5        g )N)r   r   r  )	r9   r\   rH   TICKLEFT	TICKRIGHTr   rO   r  rP   r  s       rj   r\   YTick._apply_tickdir  st    w'OOV%5%56##V__5
 --	
 	!!%(!!%(rw   c                 2   U R                   R                  U45        U R                  R                  U45        U R                  R                  U45        U R                  R                  U5        U R                  R                  U5        Xl        SU l        gr  )	rO   	set_ydatarP   rQ   rZ   set_yr[   r@   r   r   s     rj   r^   YTick.update_position  r  rw   c                 B    U R                   R                  R                  $ ry   )r?   r  	intervalyr{   s    rj   r   YTick.get_view_interval  r  rw   r   r!  r   s   @rj   r$  r$    r"  rw   r$  c                       \ rS rSrSrS r\S 5       r\R                  S 5       r\S 5       r	\	R                  S 5       r	Sr
g	)
Tickeri  a  
A container for the objects defining tick position and format.

Attributes
----------
locator : `~matplotlib.ticker.Locator` subclass
    Determines the positions of the ticks.
formatter : `~matplotlib.ticker.Formatter` subclass
    Determines the format of the tick labels.
c                 <    S U l         S U l        SU l        SU l        g r   )_locator
_formatter_locator_is_default_formatter_is_defaultr{   s    rj   r:   Ticker.__init__  s     #' %)"rw   c                     U R                   $ ry   )r=  r{   s    rj   locatorTicker.locator  s    }}rw   c                 d    [        U[        R                  5      (       d  [        S5      eXl        g )Nz7locator must be a subclass of matplotlib.ticker.Locator)ro   mtickerLocator	TypeErrorr=  r_   rC  s     rj   rC  rD    s*    '7??33 8 9 9rw   c                     U R                   $ ry   )r>  r{   s    rj   	formatterTicker.formatter      rw   c                 d    [        U[        R                  5      (       d  [        S5      eXl        g )Nz;formatter must be a subclass of matplotlib.ticker.Formatter)ro   rF  	FormatterrH  r>  r_   rK  s     rj   rK  rL    s,    )W%6%677 : ; ;#rw   )r>  r@  r=  r?  N)rB   r   r   r   r   r:   r   rC  setterrK  r   r   rw   rj   r;  r;    sf    	*   ^^      $ $rw   r;  c                   $    \ rS rSrSrS rS rSrg)_LazyTickListi  z
A descriptor for lazy instantiation of tick lists.

See comment above definition of the ``majorTicks`` and ``minorTicks``
attributes.
c                     Xl         g ry   rA   )r_   r   s     rj   r:   _LazyTickList.__init__  s    rw   c                     Uc  U $ U R                   (       a*  / Ul        UR                  SS9nU/Ul        UR                  $ / Ul        UR                  SS9nU/Ul        UR                  $ )NTr   F)rA   
majorTicks	_get_tick
minorTicks)r_   instanceownerticks       rj   __get___LazyTickList.__get__  sx    K {{&(#)))5'+f#***&(#)))6'+f#***rw   rU  N)rB   r   r   r   r   r:   r_  r   r   rw   rj   rS  rS    s    +rw   rS  c                   N  ^  \ rS rSrSrSrSr\R                  " SSS9r	S r
S	S
S.U 4S jjr\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       rS rS rS r\" S
S9r\" SS9rS rS r\" \\SS9rS|S jrS rS  rS! rS" rS# r S$ r!S% r"S& r#S' r$S( r%S) r&S* r'S+ r(S, r)S}S- jr*SS. jr+\,S~S/ j5       r-S|U 4S0 jjr.S1 r/S~S2 jr0S3 r1S~S4 jr2S5 r3S6 r4S7 r5S
S8.S9 jr6S: r7S; r8S|S< jr9S|SS=.S> jjr:S? r;\<Rz                  S@ 5       r>SA r?SB r@SC rASD rBSE rCSF rDSG rESSH jrFSI rGSJ rHS~SK jrISL rJSM rKSSN.SO jrLS~SP jrMSQ rNSR rOSS rPST rQSU rRSV rSSW rTSX rUS|SY jrVS|SZ jrWSS[ jrXS\ rYS] rZS^ r[S_ r\S` r]Sa r^Sb r_Sc r`Sd raS|Se jrbSf rcSg rdSh reSi rfSj rgSk rh\" \C\hSlS9ri\jSm 5       rkSSSn.So jrlSSN.Sp jrmS|SSN.Sq jjrnSr roSs rpSt rqS|Su jrrSv rsSw rtSx ruSy rvSz rwS{rxU =ry$ )Axisi-  a=  
Base class for `.XAxis` and `.YAxis`.

Attributes
----------
isDefault_label : bool

axes : `~matplotlib.axes.Axes`
    The `~.axes.Axes` to which the Axis belongs.
major : `~matplotlib.axis.Ticker`
    Determines the major tick positions and their label format.
minor : `~matplotlib.axis.Ticker`
    Determines the minor tick positions and their label format.
callbacks : `~matplotlib.cbook.CallbackRegistry`

label : `~matplotlib.text.Text`
    The axis label.
labelpad : float
    The distance between the axis label and the tick labels.
    Defaults to :rc:`axes.labelpad`.
offsetText : `~matplotlib.text.Text`
    A `.Text` object containing the data offset of the ticks (if any).
pickradius : float
    The acceptance radius for containment tests. See also `.Axis.contains`.
majorTicks : list of `.Tick`
    The major ticks.

    .. warning::

        Ticks are not guaranteed to be persistent. Various operations
        can create, delete and modify the Tick instances. There is an
        imminent risk that changes to individual ticks will not
        survive if you work on the figure further (including also
        panning/zooming on a displayed figure).

        Working on the individual ticks is a method of last resort.
        Use `.set_tick_params` instead if possible.

minorTicks : list of `.Tick`
    The minor ticks.
   Nz3.10z'get_converter and set_converter methods)alternativec                     SR                   " [        U 5      R                  /U R                  R                  R                  S5      Q76 $ )Nz	{}({},{})r   r   )formattyperB   r?   	transAxesr   r{   s    rj   __str__Axis.__str__`  sB    !!JI"&))"5"5"?"?"GI 	Irw      T)
pickradiusclearc                  > [         TU ]  5         SU l        U R                  UR	                  SS95        SU l        Xl        [        5       U l        [        5       U l	        [        R                  " S/S9U l        SU l        [        R                  " [         R"                  [         R"                  [$        R&                  S   [$        R&                  S   [$        R&                  S   S	9U l        U R+                  U R(                  5        [        R                  " [         R"                  [         R"                  5      U l        U R+                  U R,                  5        [$        R&                  S
   U l        X l        [3        5       U l        [3        5       U l        U(       a  U R9                  5         OSU l        SU l        SU l        SU l         g)a  
Parameters
----------
axes : `~matplotlib.axes.Axes`
    The `~.axes.Axes` to which the created Axis belongs.
pickradius : float
    The acceptance radius for containment tests. See also
    `.Axis.contains`.
clear : bool, default: True
    Whether to clear the Axis on creation. This is not required, e.g.,  when
    creating an Axis as part of an Axes, as ``Axes.clear`` will call
    ``Axis.clear``.
    .. versionadded:: 3.8
TFr&   unitssignalsaxes.labelsizeaxes.labelweightaxes.labelcolor)r6   
fontweightr   axes.labelpadN)!r9   r:   _remove_overlapping_locsr=   r>   isDefault_labelr?   r;  r   r%   r   CallbackRegistry	callbacks_autolabelposrU   rV   rW   rX   r;   r<   labelr]   
offsetTextlabelpadrm  dict_major_tick_kw_minor_tick_kwrn  
_converter_converter_is_explicitrp  _autoscale_on)r_   r?   rm  rn  ri   s       rj   r:   Axis.__init__d  sC    	(,%U34#	X
X
//	B!ZZFFBFF\\"23||$67,,01	

 	tzz***RVVRVV4t/_5$ #f"fJJL"DO*/D'DJ!rw   c                 .    U R                   R                  $ ry   r   r?  r{   s    rj   isDefault_majlocAxis.isDefault_majloc      zz---rw   c                 $    XR                   l        g ry   r  r_   values     rj   r  r        ).

&rw   c                 .    U R                   R                  $ ry   r   r@  r{   s    rj   isDefault_majfmtAxis.isDefault_majfmt      zz///rw   c                 $    XR                   l        g ry   r  r  s     rj   r  r        +0

(rw   c                 .    U R                   R                  $ ry   r%   r?  r{   s    rj   isDefault_minlocAxis.isDefault_minloc  r  rw   c                 $    XR                   l        g ry   r  r  s     rj   r  r    r  rw   c                 .    U R                   R                  $ ry   r%   r@  r{   s    rj   isDefault_minfmtAxis.isDefault_minfmt  r  rw   c                 $    XR                   l        g ry   r  r  s     rj   r  r    r  rw   c                     U R                   R                  U R                  5          R                  U R                   5      $ )z/Return Grouper of shared Axes for current axis.)r?   _shared_axes_get_axis_nameget_siblingsr{   s    rj   _get_shared_axesAxis._get_shared_axes  s3    yy%%!##/<		#:	;rw   c                     U R                  5       nU R                  5        Vs/ s H  o"R                  U   PM     sn$ s  snf )z,Return list of shared axis for current axis.)r  r  	_axis_map)r_   rc   r   s      rj   _get_shared_axisAxis._get_shared_axis  s:    ""$-1-B-B-DE-DrT"-DEEEs   >c                 r   ^  [        U 4S jT R                  R                  R                  5        5       5      $ )zReturn the axis name.c              3   :   >#    U  H  u  pUTL d  M  Uv   M     g 7fry   r   )r   rc   axisr_   s      rj   r   &Axis._get_axis_name.<locals>.<genexpr>  s#      %+FZTt| D+Fs   	)nextr?   r  rN   r{   s   `rj   r  Axis._get_axis_name  s/     %499+>+>+D+D+F % % 	%rw   rX  Fc                     U R                   $ ry   )rx  r{   s    rj   get_remove_overlapping_locs Axis.get_remove_overlapping_locs  s    ,,,rw   c                 $    [        U5      U l        g ry   )boolrx  r   s     rj   set_remove_overlapping_locs Axis.set_remove_overlapping_locs  s    (,S	%rw   zUIf minor ticker locations that overlap with major ticker locations should be trimmed.)docc                     SU l         Uc  U R                  R                  nU R                  R	                  U5        U R                  R                  X45        SU l        g)a  
Set the coordinates of the label.

By default, the x coordinate of the y label and the y coordinate of the
x label are determined by the tick label bounding boxes, but this can
lead to poor alignment of multiple labels if there are multiple Axes.

You can also specify the coordinate system of the label with the
transform.  If None, the default coordinate system will be the axes
coordinate system: (0, 0) is bottom left, (0.5, 0.5) is center, etc.
FNT)r|  r?   ri  r}  r   set_positionr   )r_   r   r   r   s       rj   set_label_coordsAxis.set_label_coords  sN     #		++I

  +

'
rw   c                 6    U R                   R                  5       $ )z,Return the transform used in the Axis' scale)_scaleget_transformr{   s    rj   r  Axis.get_transform  s    {{((**rw   c                 .    U R                   R                  $ )z#Return this Axis' scale (as a str).)r  rc   r{   s    rj   	get_scaleAxis.get_scale  s    {{rw   c                     [        U[        R                  5      (       d  [        R                  " X40 UD6U l        OXl        U R                  R                  U 5        SU l        SU l        SU l        SU l	        g r   )
ro   mscale	ScaleBasescale_factoryr  #set_default_locators_and_formattersr  r  r  r  )r_   r  ra   s      rj   
_set_scaleAxis._set_scale  sc    %!1!122 ..uEfEDKK77= $ $ $ $rw   c           
      X   U R                  5       nU R                  5       R                  [        R                  * [        R                  5      nU R                  5        H:  nUR                  U   R                  " U40 UD6  UR                  5         SUl	        M<     U R                  5       R                  [        R                  * [        R                  5      nXF:w  aH  U R                  R                  " S0 U R                  R                   Vs0 s H  nSU 3Xs:H  _M     snD6  ggs  snf )a  
Set this Axis' scale.

Parameters
----------
value : str or `.ScaleBase`
    The axis scale type to apply.  Valid string values are the names of scale
    classes ("linear", "log", "function",...).  These may be the names of any
    of the :ref:`built-in scales<builtin_scales>` or of any custom scales
    registered using `matplotlib.scale.register_scale`.

**kwargs
    If *value* is a string, keywords are passed to the instantiation method of
    the respective class.
TscaleNr   )r  get_major_locatornonsingularrW   infr  r  r  _update_transScaler   r?   autoscale_view_axis_names)r_   r  ra   rc   old_default_limsr   new_default_limsre   s           rj   _set_axes_scaleAxis._set_axes_scale  s      ""$ 224(["&&"&&9 	'')BLL))%:6:!!#BH * !224(["&&"&&9 	/ II$$ K37993H3HI3HaU1#;	)3HIK 0 Js   D'c                 V    U R                   R                  XU R                  5       5      $ )z[
Return the range *vmin*, *vmax*, restricted to the domain supported by the
current scale.
)r  limit_range_for_scale
get_minpos)r_   vminvmaxs      rj   r  Axis.limit_range_for_scale%  s"    
 {{00T__=NOOrw   c                     U R                   $ )z'Return whether this Axis is autoscaled.r  r{   s    rj   _get_autoscale_onAxis._get_autoscale_on,  s    !!!rw   c                     Ub  Xl         gg)z
Set whether this Axis is autoscaled when drawing or by `.Axes.autoscale_view`.

If b is None, then the value is not changed.

Parameters
----------
b : bool
Nr  )r_   bs     rj   _set_autoscale_onAxis._set_autoscale_on0  s     =!" rw   c                 r    U R                   U R                  /U R                  5       QU R                  5       Q$ ry   )r}  r~  get_major_ticksget_minor_ticksr{   s    rj   r   Axis.get_children=  s?    

DOO B%%'B*.*>*>*@B 	Brw   c                     U R                   R                  5         [        R                  S   =(       a    [        R                  S   S;   U R                   S'   g )Nr#   r    r!   r   )r  rn  r;   r<   r{   s    rj   _reset_major_tick_kwAxis._reset_major_tick_kwA  I    !!#[) E./3DD 	H%rw   c                     U R                   R                  5         [        R                  S   =(       a    [        R                  S   S;   U R                   S'   g )Nr#   r    r$   r   )r  rn  r;   r<   r{   s    rj   _reset_minor_tick_kwAxis._reset_minor_tick_kwG  r  rw   c                 f   U R                   R                  5         U R                   R                  [        R                  S   5        U R                   R                  [        R                  S   5        U R                   R                  [        R                  S   5        U R                  R                  5         [        R                  S   U l        U R                  5         U R                  S5        [        R                  " S/S9U l        [        R                  S   =(       a    [        R                  S	   S
;   U R                  S'   [        R                  S   =(       a    [        R                  S	   S;   U R                  S'   U R!                  5         SU l        SU l        SU l        SU l        g)z
Clear the axis.

This resets axis properties to their default values:

- the label
- the scale
- locators, formatters and ticks
- major and minor grid
- units
- registered callbacks
ru  rs  rt  rw  linearrp  rq  r#   r    r!   r   r$   NFT)r}  _reset_visual_defaults	set_colorr;   r<   set_fontsizeset_fontweightr~  r  _initr  r   rz  r{  r  r  reset_ticksr  r  rp  r   r{   s    rj   rn  
Axis.clearM  sN    	

))+ 	

S\\*;<=

-= >?

!!#,,/A"BC..0_5

! //	B [) E./3DD 	H% [) E./3DD 	H% 	&+#

rw   c                      U ?  U ? U R                  U R                  R
                  5        g! [         a     N6f = f! [         a     NCf = f! [         a     gf = f)z[
Re-initialize the major and minor Tick lists.

Each list starts with a single fresh Tick.
N)rY  AttributeErrorr[  r   r?   patchr{   s    rj   r  Axis.reset_ticksx  sk    			tyy/  		  		  		s,   . > %A 
;;
A
A
AAc                    U R                  5       nUS:X  aG  U R                  nU R                  [        R                  " UR
                  UR                  5      5        gUS:X  aG  U R                  nU R                  [        R                  " UR                  UR                  5      5        gUS:X  aP  U R                  nU R                  [        R                  " UR                  UR                  UR                  S95        gUS:X  a$  U R                  [        R                  " SS95        gU R                  [        R                  " 5       5        g)	a  
Display default minor ticks on the Axis, depending on the scale
(`~.axis.Axis.get_scale`).

Scales use specific minor locators:

- log: `~.LogLocator`
- symlog: `~.SymmetricalLogLocator`
- asinh: `~.AsinhLocator`
- logit: `~.LogitLocator`
- default: `~.AutoMinorLocator`

Displaying minor ticks may reduce performance; you may turn them off
using `minorticks_off()` if drawing speed is a problem.
logsymlogasinh)basesubslogitTr%   N)r  r  set_minor_locatorrF  
LogLocatorr  r  SymmetricalLogLocator
_transformAsinhLocatorlinear_width_base_subsLogitLocatorAutoMinorLocator)r_   r  ss      rj   minorticks_onAxis.minorticks_on  s       E>A""7#5#5affaff#EFhA""--allAFFCEgA""((agg./gg78 g""7#7#7d#CD""7#;#;#=>rw   c                 L    U R                  [        R                  " 5       5        g)z!Remove minor ticks from the Axis.N)r  rF  NullLocatorr{   s    rj   minorticks_offAxis.minorticks_off  s    w2245rw   c                    [         R                  " / SQUS9  U R                  U5      nU(       at  US;   a+  U R                  5         U R                  R                  U5        US;   a+  U R                  5         U R                  R                  U5        U R                  5         GOUS;   a@  U R                  R                  U5        U R                   H  nUR                  " S0 UD6  M     US;   a@  U R                  R                  U5        U R                   H  nUR                  " S0 UD6  M     SU;   d  SU;   aX  U R                  R                  U R                  R                  SS5      =(       d    U R                  R                  SS5      5        SU;   a  U R                  R                  US   5        S	U l        g
)a  
Set appearance parameters for ticks, ticklabels, and gridlines.

For documentation of keyword arguments, see
:meth:`matplotlib.axes.Axes.tick_params`.

See Also
--------
.Axis.get_tick_params
    View the current style settings for ticks, ticklabels, and
    gridlines.
r   r%   r"   rb   r   r"   r%   r"   r   r   Fr   TNr   )r   rs   _translate_tick_paramsr  r  updater  r  r  rY  r   r[  r~  r   getr  r   )r_   rb   resetra   kwtransr^  s         rj   set_tick_paramsAxis.set_tick_params  s~    	5UC--f5 ))))+##**73))))+##**73))##**73 OOD&&11 ,))##**73 OOD&&11 , W$
g(=++''++J> B**..z5AC w&))',*?@
rw   c                     [         R                  " SS/US9  US:X  a  U R                  U R                  SS9$ U R                  U R                  SS9$ )aM  
Get appearance parameters for ticks, ticklabels, and gridlines.

.. versionadded:: 3.7

Parameters
----------
which : {'major', 'minor'}, default: 'major'
    The group of ticks for which the parameters are retrieved.

Returns
-------
dict
    Properties for styling tick elements added to the axis.

Notes
-----
This method returns the appearance parameters for styling *new*
elements added to this axis and may be different from the values
on current elements if they were modified directly by the user
(e.g., via ``set_*`` methods on individual tick objects).

Examples
--------
::

    >>> ax.yaxis.set_tick_params(labelsize=30, labelcolor='red',
    ...                          direction='out', which='major')
    >>> ax.yaxis.get_tick_params(which='major')
    {'direction': 'out',
    'left': True,
    'right': False,
    'labelleft': True,
    'labelright': False,
    'gridOn': False,
    'labelsize': 30,
    'labelcolor': 'red'}
    >>> ax.yaxis.get_tick_params(which='minor')
    {'left': True,
    'right': False,
    'labelleft': True,
    'labelright': False,
    'gridOn': False}


r   r%   r  Treverse)r   rs   r  r  r  )r_   rb   s     rj   get_tick_paramsAxis.get_tick_params  sc    ^ 	GW-U;G..##T /   **4+>+>*MMrw   c                 J   0 UEnSSSSSSSSS	S
SSSSSSSSSSSSSSS/[         QnSSSSSSSSSSSS.nU(       aW  0 nU R                  S:H  n/ SQnUR                  5        H-  u  pX;   d  M  U(       a  X;   a  M  UR                  U
5      Xi'   M/     O:UR                  5        V	V
s0 s H  u  pX;   d  M  XR                  U	5      _M     nn	n
SU;   a  UR                  S5      nXS'   XS'   U H  nX;  d  M
  [	        SU< SU< 35      e   UR                  U5        U$ s  sn
n	f ) a  
Translate the kwargs supported by `.Axis.set_tick_params` to kwargs
supported by `.Tick._apply_params`.

In particular, this maps axis specific names like 'top', 'left'
to the generic tick1, tick2 logic of the axis. Additionally, there
are some other name translations.

Returns a new dict of translated kwargs.

Note: Use reverse=True to translate from those supported by
`.Tick._apply_params` back to those supported by
`.Axis.set_tick_params`.
r   r   r   r   r   r   r   r   r   r   r   r   r   r   length	directionleftbottomrighttop	labelleftlabelbottom
labelrightlabeltopr   )r(  r)  r8   r*  r+  r,  r-  r.  r/  r0  r1  r   )r*  r,  r.  r0  colorszkeyword z' is not recognized; valid keywords are )r   	axis_namerN   r   
ValueErrorr  )clskwr$  kw_allowed_keyskeymapr  	is_x_axisy_axis_keysoldkeynewkeyckeys                rj   r  Axis._translate_tick_params  sr     f GWi'8(Hy*jk68Wej$ #$ "'#%$"
 G,IFK"(,,.= V%: *-''&/ #1 '-lln&4NF ('&4   s?!A G$%L!C& L*+ + 
 	ss   %D4Dc                    > [         TU ]  X5        U R                  U R                  -    H  nUR                  X5        M     SU l        g r   )r9   r   rY  r[  r   )r_   r   r   childri   s       rj   r   Axis.set_clip_path[  s<    d.__t6E0 7
rw   c                     [        S5      e)z3Return the ``(min, max)`` view limits of this axis.r   r   r{   s    rj   r   Axis.get_view_intervala  r   rw   c                     [        S5      e)a  
Set the axis view limits.  This method is for internal use; Matplotlib
users should typically use e.g. `~.Axes.set_xlim` or `~.Axes.set_ylim`.

If *ignore* is False (the default), this method will never reduce the
preexisting view limits, only expand them if *vmin* or *vmax* are not
within them.  Moreover, the order of *vmin* and *vmax* does not matter;
the orientation of the axis will not change.

If *ignore* is True, the view limits will be set exactly to ``(vmin,
vmax)`` in that order.
r   r   r_   r  r  ignores       rj   set_view_intervalAxis.set_view_intervale  s     ""9::rw   c                     [        S5      e)z3Return the ``(min, max)`` data limits of this axis.r   r   r{   s    rj   get_data_intervalAxis.get_data_intervalt  r   rw   c                     [        S5      e)a  
Set the axis data limits.  This method is for internal use.

If *ignore* is False (the default), this method will never reduce the
preexisting data limits, only expand them if *vmin* or *vmax* are not
within them.  Moreover, the order of *vmin* and *vmax* does not matter;
the orientation of the axis will not change.

If *ignore* is True, the data limits will be set exactly to ``(vmin,
vmax)`` in that order.
r   r   rG  s       rj   set_data_intervalAxis.set_data_intervalx  s     ""9::rw   c                 .    U R                  5       u  pX!:  $ )a  
Return whether this Axis is oriented in the "inverse" direction.

The "normal" direction is increasing to the right for the x-axis and to
the top for the y-axis; the "inverse" direction is increasing to the
left for the x-axis and to the bottom for the y-axis.
)r   )r_   lowhighs      rj   get_invertedAxis.get_inverted  s     **,	zrw   c                 p    U R                  5       u  p#U R                  " [        X#4[        U5      S9SS06  g)a  
Set whether this Axis is oriented in the "inverse" direction.

The "normal" direction is increasing to the right for the x-axis and to
the top for the y-axis; the "inverse" direction is increasing to the
left for the x-axis and to the bottom for the y-axis.
r#  rn   N)r   _set_limsortedr  )r_   invertedr   r  s       rj   set_invertedAxis.set_inverted  s2     %%'vqfd8n=IDIrw   c                     g)zc
Set the default limits for the axis data and view interval if they
have not been not mutated yet.
Nr   r{   s    rj   set_default_intervalsAxis.set_default_intervals  s    rw   )emitc                v   U R                  5       nU R                  R                  XQU44/SS9  U R                  R                  XR                  5      nU R                  R                  X R                  5      nUb  Uc  U R                  5       u  pgUc  UnUc  UnU R                  5       S:X  ab  US::  d  US::  aV  U R                  5       u  pgUS::  a  [        R                  " SU S35        UnUS::  a  [        R                  " SU S35        UnX:X  a  [        R                  " SU S35        [        X:  5      nU R                  5       R                  X5      u  pU R                  X5      u  p[        X/[        U5      S	9u  pU R                  XS
S9  U R                  5        H  n	SU	R                   U'   M     U R#                  U5        U(       a  U R                  R$                  R'                  U S3U R                  5        U R                  5        H  n
XR                  L a  M  U
R(                  U   R+                  XSUS9  U(       a  U
R$                  R'                  U S3U
5        U
R-                  SS9=nU R-                  SS9:w  d  M{  UR.                  R1                  5         M     S
U l        X4$ )a  
Set view limits.

This method is a helper for the Axes ``set_xlim``, ``set_ylim``, and
``set_zlim`` methods.

Parameters
----------
v0, v1 : float
    The view limits.  (Passing *v0* as a (low, high) pair is not
    supported; normalization must occur in the Axes setters.)
emit : bool, default: True
    Whether to notify observers of limit change.
auto : bool or None, default: False
    Whether to turn on autoscaling of the x-axis. True turns on, False
    turns off, None leaves unchanged.
F)convertr  r   zAttempt to set non-positive z)lim on a log-scaled axis will be ignored.z)Attempting to set identical low and high z<lims makes transformation singular; automatically expanding.r#  TrH  lim_changed)r_  rn   r&   )r  r?   _process_unit_info_validate_converted_limitsconvert_unitsr   r  r   warn_externalr  r  r  r  rX  rI  r  _stale_viewlimsr  r{  processr  rW  r>   canvas	draw_idler   )r_   v0v1r_  rn   rc   old0old1r$  r   other	other_figs               rj   rW  Axis._set_lim  s   $ ""$		$$t"X&6%7$GYY11"6H6HIYY11"6H6HI: //1JDzz>>u$"'R1W //1JDQw""%A$ HH $I JQw""%A$ HH $I J8;D6 BJ KL rw-'')55b=++B3$w-8rd3'')B',Bt$ *t$II''4&(<diiH..0II%%..rE.MOO++tfK,@%H"'"2"2"2">>YU34$$..0 1 
vrw   c                 H    Uc  g UR                  U R                  SS95        g r   r   r   s     rj   r]   Axis._set_artist_props  s!    9	T__%_01rw   c                    U R                  5       nU R                  R                  R                  U5      nU R	                  [        U5      5      n[        X1U5       HM  u  pEnUR                  U5        UR                  R                  U5        UR                  R                  U5        MO     U R                  5       nU R                  R                  R                  U5      nU R                  [        U5      5      n	[        XU5       HM  u  pEnUR                  U5        UR                  R                  U5        UR                  R                  U5        MO     / UQU	Qn
U R                  5       u  pX:  a  Xp[        U S5      (       aF  U R                   R"                  S:X  a,  [$        R&                  S   (       a  SnX-
  nXU-  -
  nXU-  -   nU R)                  5       R+                  X/5      n/ nU
 H`  n U R)                  5       R+                  UR-                  5       5      n[.        R0                  " UU5      (       a  UR3                  U5        M`  Mb     U$ ! [4         a     Ms  f = f)z
Update ticks (position and labels) using the current data interval of
the axes.  Return the list of ticks that will be drawn.
r?   3dzaxes3d.automargingqq?)get_majorticklocsr   rK  format_ticksr  lenzipr^   rZ   set_textr[   get_minorticklocsr%   r  r   hasattrr?   rc   r;   r<   r  r   r   mtransforms_interval_contains_closeappendAssertionError)r_   
major_locsmajor_labelsmajor_ticksr^  r`   r}  
minor_locsminor_labelsminor_ticksticksview_low	view_highmargindelta
interval_tticks_to_drawloc_ts                     rj   _update_ticksAxis._update_ticks  s#   
 ++-
zz++88D**3z?; #K\ JDu  %KK  'KK  ' !K ++-
zz++88D**3z?; #K\ JDu  %KK  'KK  ' !K -+,,"446"+iD&!!diinn&<LL!45
 *F(E!FN2I&.0H'')33X4IJ
D/**,66t||~F 77
EJJ!((. K   "  s   7-I
I'&I'c                    Uc  U R                  SS9R                  5       nU Vs/ s H>  o3R                  R                  5       (       d  M#  UR                  R	                  U5      PM@     snU Vs/ s H>  o3R
                  R                  5       (       d  M#  UR
                  R	                  U5      PM@     sn4$ s  snf s  snf )z8Return lists of bboxes for ticks' label1's and label2's.Tr&   )r>   _get_rendererrZ   r   get_window_extentr[   )r_   r  r   r^  s       rj   _get_ticklabel_bboxesAxis._get_ticklabel_bboxes0  s    D1??AH"A"Tkk&=&=&? 9..x8"A #A"Tkk&=&=&? 9..x8"AB 	B AAs   "B9B90"B>B>)for_layout_onlyc                  ^ U R                  5       (       a  U(       a  U R                  5       (       d  gTc  U R                  SS9R                  5       mU R	                  5       nU R                  T5        U R                  UT5      u  pEU R                  XE5        U R                  R                  U R                  R                  R                  5       5        / U4S jU R                  4 5       QUQUQnU R                  R                  5       (       a  U R                  R                  T5      nU(       a  U R                  S:X  aH  UR                   S:  a8  UR"                  UR$                  -   S-  S-
  Ul        UR"                  S	-   Ul        U R                  S
:X  aH  UR&                  S:  a8  UR(                  UR*                  -   S-  S-
  Ul        UR(                  S	-   Ul        UR-                  U5        U Vs/ s H[  nSUR                   s=:  a  [.        R0                  :  d  M*  O  M.  SUR&                  s=:  a  [.        R0                  :  d  MU  O  MY  UPM]     nnU(       a  [2        R4                  R7                  U5      $ gs  snf )a`  
Return a bounding box that encloses the axis. It only accounts
tick labels, axis label, and offsetText.

If *for_layout_only* is True, then the width of the label (if this
is an x-axis) or the height of the label (if this is a y-axis) is
collapsed to near zero.  This allows tight/constrained_layout to ignore
too-long labels when doing their layout.
NTr&   c              3   t   >#    U  H-  nUR                  5       (       d  M  UR                  T5      v   M/     g 7fry   )r   r  )r   r   r   s     rj   r   %Axis.get_tightbbox.<locals>.<genexpr>R  s1      "(! ,a!!(++(s   88r   r      r   r   r   )r   get_in_layoutr>   r  r  _update_label_positionr  _update_offset_text_positionr~  r{  r   rK  
get_offsetr}  r  r3  r   x0x1heighty0y1r  rW   r  r~  Bboxunion)	r_   r   r  r  tlb1tlb2bboxesbbr  s	    `       rj   get_tightbboxAxis.get_tightbbox9  s    !!_T=O=O=Q=QD1??AH**,##H- //xH
))$5  !5!5!@!@!BC
"("
 	
 	
 ::!!##--h7B >>S(RXX\UURUU]a/#5BEEECKBE>>S(RYY]UURUU]a/#5BEEECKBEMM"# EV)266) ) ./!((.CRVV.C .C V E##))&11Es   :)J'J+#JJJc                 2   / n[        U R                  5      (       a,  UR                  U R                  S   R                  5       5        [        U R                  5      (       a,  UR                  U R                  S   R                  5       5        [        USS9$ )Nr   )rm   )ry  rY  r  rz   r[  max)r_   valuess     rj   rz   Axis.get_tick_paddingl  sn    tMM$//!,==?@tMM$//!,==?@61%%rw   c                 P   U R                  5       (       d  g UR                  [        U R                  5       S9  U R	                  5       nU R                  X!5      u  p4U H  nUR                  U5        M     U R                  U5        U R                  R                  U5        U R                  X45        U R                  R                  U R                  R                  R                  5       5        U R                  R                  U5        UR                  [        5        SU l        g )Nr   F)r   r   rB   r   r  r  r   r  r}  r  r~  r{  r   rK  r  r   r   )r_   r   r  r  r  r^  s         rj   r   	Axis.drawt  s     !!H$,,.9**,//H
!DIIh " 	##H-

!))$5  !5!5!@!@!BCX&X&
rw   c                     U R                  5       n[        R                  " SU Vs/ s H  o"R                  PM     sn5      $ s  snf )z6Return this Axis' grid lines as a list of `.Line2D`\s.zLine2D gridline)r  r   silent_listrQ   )r_   r  r^  s      rj   get_gridlinesAxis.get_gridlines  s?    $$&  !2<A!BED--E!BD 	D!Bs   A
c                     [        S5      e)z>Assigning legend labels is not supported. Raises RuntimeError.zfA legend label cannot be assigned to an Axis. Did you mean to set the axis label via set_label_text()?)RuntimeError)r_   r  s     rj   	set_labelAxis.set_label  s    78 	8rw   c                     U R                   $ )z
Return the axis label as a Text instance.

.. admonition:: Discouraged

   This overrides `.Artist.get_label`, which is for legend labels, with a new
   semantic. It is recommended to use the attribute ``Axis.label`` instead.
)r}  r{   s    rj   	get_labelAxis.get_label  s     zzrw   c                     U R                   $ )z.Return the axis offsetText as a Text instance.)r~  r{   s    rj   get_offset_textAxis.get_offset_text  rM  rw   c                     U R                   $ )z0Return the depth of the axis used by the picker.)_pickradiusr{   s    rj   get_pickradiusAxis.get_pickradius  s    rw   c                 N   U R                  5         U R                  5       nU Vs/ s H/  o"R                  R                  5       (       d  M#  UR                  PM1     nnU Vs/ s H/  o"R                  R                  5       (       d  M#  UR                  PM1     nnX4-   $ s  snf s  snf )z@Return this Axis' major tick labels, as a list of `~.text.Text`.)r  r  rZ   r   r[   r_   r  r^  labels1labels2s        rj   get_majorticklabelsAxis.get_majorticklabels  |    $$&+0N54KK4K4K4M;4;;5N+0N54KK4K4K4M;4;;5N   ON   "BB!"B"B"c                 N   U R                  5         U R                  5       nU Vs/ s H/  o"R                  R                  5       (       d  M#  UR                  PM1     nnU Vs/ s H/  o"R                  R                  5       (       d  M#  UR                  PM1     nnX4-   $ s  snf s  snf )z@Return this Axis' minor tick labels, as a list of `~.text.Text`.)r  r  rZ   r   r[   r  s        rj   get_minorticklabelsAxis.get_minorticklabels  r  r  c                 *   Ubj  US:X  a  U R                  5       $ US:X  a  U R                  5       $ US:X  a!  U R                  5       U R                  5       -   $ [        R                  " / SQUS9  U(       a  U R                  5       $ U R                  5       $ )a  
Get this Axis' tick labels.

Parameters
----------
minor : bool
   Whether to return the minor or the major ticklabels.

which : None, ('minor', 'major', 'both')
   Overrides *minor*.

   Selects which ticklabels to return

Returns
-------
list of `~matplotlib.text.Text`
r%   r   r"   r  r  )r  r  r   rs   )r_   r%   rb   s      rj   get_ticklabelsAxis.get_ticklabels  s    $ //11'!//11&//1D4L4L4NNN""#=UK++--''))rw   c                     / nU R                  5       nU H9  nUR                  UR                  5        UR                  UR                  5        M;     [        R
                  " SU5      $ )z<Return this Axis' major tick lines as a list of `.Line2D`\s.Line2D ticklines)r  r  rO   rP   r   r  r_   linesr  r^  s       rj   get_majorticklinesAxis.get_majorticklines  U    $$&DLL(LL(    !3U;;rw   c                     / nU R                  5       nU H9  nUR                  UR                  5        UR                  UR                  5        M;     [        R
                  " SU5      $ )z<Return this Axis' minor tick lines as a list of `.Line2D`\s.r  )r  r  rO   rP   r   r  r  s       rj   get_minorticklinesAxis.get_minorticklines  r  rw   c                 P    U(       a  U R                  5       $ U R                  5       $ )z6Return this Axis' tick lines as a list of `.Line2D`\s.)r  r  r_   r%   s     rj   get_ticklinesAxis.get_ticklines  s#    **,,&&((rw   c                 6    U R                   R                  5       $ )z;Return this Axis' major tick locations in data coordinates.r   rC  r{   s    rj   rw  Axis.get_majorticklocs  s    zz!!##rw   c                     [         R                  " U R                  R                  5       5      nU R                  (       a  U R
                  R                  5       nU R                  R                  5       nUR                  U5      nUR                  U5      n[        UR                  U R                  5       5      5      u  pgXv-
  S-  n[         R                  " USS2S4   USSS24   USS9R                  SS9n	X)    nU$ )z;Return this Axis' minor tick locations in data coordinates.gh㈵>Nr   )atolrtolr5   )r  )rW   asarrayr%   rC  remove_overlapping_locsr   r  r  r   rX  r   iscloser   )
r_   r  r  r   tr_minor_locstr_major_locslohitolmasks
             rj   r|  Axis.get_minorticklocs  s     ZZ

 2 2 45
''++-J113I%//
;M%//
;MI//0F0F0HIJFB 7d"C::mAtG4mD!G6L#&Q003 #E*Jrw   r  c                P    U(       a  U R                  5       $ U R                  5       $ )ao  
Return this Axis' tick locations in data coordinates.

The locations are not clipped to the current axis limits and hence
may contain locations that are not visible in the output.

Parameters
----------
minor : bool, default: False
    True to return the minor tick directions,
    False to return the major tick directions.

Returns
-------
array of tick locations
)r|  rw  r  s     rj   get_ticklocsAxis.get_ticklocs	  s#    " ,1t%%'Nd6L6L6NNrw   c                    U(       a>  [         R                  " U R                  5        Vs/ s H  o"R                  PM     sn5      $ [         R                  " U R	                  5        Vs/ s H  o"R                  PM     sn5      $ s  snf s  snf )z
Return an array of this Axis' tick directions.

Parameters
----------
minor : bool, default: False
    True to return the minor tick directions,
    False to return the major tick directions.

Returns
-------
array of tick directions
)rW   arrayr  r   r  )r_   r%   r^  s      rj   get_ticks_directionAxis.get_ticks_direction  sy     88+/+?+?+AB+A4+ABD D 88+/+?+?+AB+A4+ABD D C Cs   B(B	c                     U R                   c#  [        SU R                  R                   S35      eU(       a  U R                  OU R
                  nU R                   " U R                  S4SU0UD6$ )z!Return the default tick instance.zThe Axis subclass z3 must define _tick_class or reimplement _get_tick()r   r   )_tick_classr   ri   rB   r  r  r?   )r_   r   r   s      rj   rZ  Axis._get_tick1  so    #%$T^^%<%<$= >9 9: : */$%%D4G4G		1EEEWEErw   c                     U R                   nUR                  S[        R                  U S3   5      n[        R
                  " US9R                  5       $ )z
Return the text size of tick labels for this Axis.

This is a convenience function to avoid having to create a `Tick` in
`.get_tick_space`, since it is expensive.
r   ztick.labelsize)r   )r  r  r;   r<   rU   FontPropertiesget_size_in_points)r_   r3  r   r   s       rj   _get_tick_label_sizeAxis._get_tick_label_size:  sM     %%{{;<<9+^(DEG##.AACCrw   c                    Ub  Uc  gUR                   R                  UR                   5        UR                  R                  UR                  5        UR                  R                  UR                  5        UR                  R                  UR                  5        UR
                  R                  UR
                  5        UR                  U5        UR                  Ul        UR                  Ul        UR                  Ul        UR                  Ul	        UR                  Ul
        UR                  Ul        UR                  Ul        g)z3Copy the properties from *src* tick to *dest* tick.N)rZ   update_fromr[   rO   rP   rQ   r@   rC   rD   rE   rY   rJ   r   )r_   srcdests      rj   _copy_tick_propsAxis._copy_tick_propsF  s    ;$,

+

+""3==1""3==1!!#,,/HH	YY
jj!00{{rw   c                 6    U R                   R                  5       $ )zGet the text of the label.)r}  get_textr{   s    rj   get_label_textAxis.get_label_textX  s    zz""$$rw   c                 .    U R                   R                  $ )z$Get the locator of the major ticker.r  r{   s    rj   r  Axis.get_major_locator\      zz!!!rw   c                 .    U R                   R                  $ )z$Get the locator of the minor ticker.)r%   rC  r{   s    rj   get_minor_locatorAxis.get_minor_locator`  r  rw   c                 .    U R                   R                  $ )z&Get the formatter of the major ticker.)r   rK  r{   s    rj   get_major_formatterAxis.get_major_formatterd      zz###rw   c                 .    U R                   R                  $ )z&Get the formatter of the minor ticker.)r%   rK  r{   s    rj   get_minor_formatterAxis.get_minor_formatterh  r  rw   c                 R   Uc  [        U R                  5       5      n[        U R                  5      U:  ad  U R                  SS9nU R                  R	                  U5        U R                  U R                  S   U5        [        U R                  5      U:  a  Md  U R                  SU $ )a  
Return the list of major `.Tick`\s.

.. warning::

    Ticks are not guaranteed to be persistent. Various operations
    can create, delete and modify the Tick instances. There is an
    imminent risk that changes to individual ticks will not
    survive if you work on the figure further (including also
    panning/zooming on a displayed figure).

    Working on the individual ticks is a method of last resort.
    Use `.set_tick_params` instead if possible.
NTrX  r   )ry  rw  rY  rZ  r  r  r_   numticksr^  s      rj   r  Axis.get_major_ticksl  s     41134H$//"X->>>-DOO""4(!!$//!"4d;	 $//"X- y))rw   c                 R   Uc  [        U R                  5       5      n[        U R                  5      U:  ad  U R                  SS9nU R                  R	                  U5        U R                  U R                  S   U5        [        U R                  5      U:  a  Md  U R                  SU $ )a  
Return the list of minor `.Tick`\s.

.. warning::

    Ticks are not guaranteed to be persistent. Various operations
    can create, delete and modify the Tick instances. There is an
    imminent risk that changes to individual ticks will not
    survive if you work on the figure further (including also
    panning/zooming on a displayed figure).

    Working on the individual ticks is a method of last resort.
    Use `.set_tick_params` instead if possible.
NFrX  r   )ry  r|  r[  rZ  r  r  r  s      rj   r  Axis.get_minor_ticks  s     41134H$//"X->>>.DOO""4(!!$//!"4d;	 $//"X- y))rw   c                    U(       a%  Uc  SnOU(       d  [         R                  " S5        SnUR                  5       n[         R                  " / SQUS9  UR	                  5        VVs0 s H  u  pESU 3U_M     nnnUS;   a0  Uc  U R
                  S   (       + OUUS'   U R                  " SS	S
0UD6  US;   a0  Uc  U R                  S   (       + OUUS'   U R                  " SS	S0UD6  SU l        gs  snnf )a%  
Configure the grid lines.

Parameters
----------
visible : bool or None
    Whether to show the grid lines.  If any *kwargs* are supplied, it
    is assumed you want the grid on and *visible* will be set to True.

    If *visible* is *None* and there are no *kwargs*, this toggles the
    visibility of the lines.

which : {'major', 'minor', 'both'}
    The grid lines to apply the changes on.

**kwargs : `~matplotlib.lines.Line2D` properties
    Define the line properties of the grid, e.g.::

        grid(color='r', linestyle='-', linewidth=2)
NTz_First parameter to grid() is false, but line properties are supplied. The grid will be enabled.r  r  r   r  r   rb   r%   r  r   r   )	r   rg  lowerrs   rN   r  r   r  r   )r_   r-   rb   ra   rc   r  gridkws          rj   r   	Axis.grid  s   * "" $; < 5UC;A<<>J>KDE$.%'>J%%#*? %)$7$7$A A8? 8  9w9&9%%#*? %)$7$7$A A8? 8  9w9&9
 Ks   'C0c                 |   U R                   (       d   [        R                  R                  U5      nOU R                  nUc  gU R                  U:g  nU R                  U5        U R                  R                  X5      nUb  U R                  c  U R                  U5        OU(       a  U R                  5         SU l
        g)z
Introspect *data* for units converter and update the
``axis.get_converter`` instance if necessary. Return *True*
if *data* is registered for unit conversion.
FT)r  munitsregistryget_converterr  _set_converterdefault_unitsrp  	set_units_update_axisinfor   )r_   r   	converterneednewrm   s        rj   update_unitsAxis.update_units  s     **55d;II//Y.I&////;4::#5NN7#!!#
rw   c                 4   U R                   c  gU R                   R                  U R                  U 5      nUc  gUR                  bW  U R                  R
                  UR                  :w  a3  U R                  (       a"  U R                  UR                  5        SU l        UR                  bW  U R                  R
                  UR                  :w  a3  U R                  (       a"  U R                  UR                  5        SU l
        UR                  bW  U R                  R                  UR                  :w  a3  U R                  (       a"  U R                  UR                  5        SU l        UR                   bW  U R                  R                  UR                   :w  a3  U R"                  (       a"  U R%                  UR                   5        SU l        UR&                  b3  U R(                  (       a"  U R+                  UR&                  5        SU l        U R-                  5         g)z\
Check the axis converter for the stored units to see if the
axis info needs to be updated.
NT)r  axisinforp  majlocr   rC  r  set_major_locatorminlocr%   r  r  majfmtrK  r  set_major_formatterminfmtr  set_minor_formatterr}  ry  set_label_textr]  )r_   infos     rj   r(  Axis._update_axisinfo  ss   
 ??"''

D9<;;"::,1F1F""4;;/$(D!;;"::,1F1F""4;;/$(D!;;"::4;;.43H3H$$T[[1$(D!;;"::4;;.43H3H$$T[[1$(D!::!d&:&:

+#'D ""$rw   c                 H    U R                   S L=(       d    U R                  S L$ ry   )r  rp  r{   s    rj   
have_unitsAxis.have_units  s    d*Ddjj.DDrw   c                 |   [         R                  " U5      (       a  U$ U R                  c.  U R                  [         R                  R                  U5      5        U R                  c  U$  U R                  R                  XR                  U 5      nU$ ! [         a   n[         R                  " SU< 35      UeS nAff = f)Nz*Failed to convert value(s) to axis units: )
r"  _is_natively_supportedr  r%  r#  r$  ra  rp  	ExceptionConversionError)r_   r   retes       rj   rf  Axis.convert_units  s    ((++H??" = =a @A??"H	A//))!ZZ>C 
  	A(( *334%*9 :?@A	As   )&B 
B;B66B;c                     U R                   $ )zc
Get the unit converter for axis.

Returns
-------
`~matplotlib.units.ConversionInterface` or None
)r  r{   s    rj   r$  Axis.get_converter  s     rw   c                 4    U R                  U5        SU l        g)zm
Set the unit converter for axis.

Parameters
----------
converter : `~matplotlib.units.ConversionInterface`
TN)r%  r  r_   r)  s     rj   set_converterAxis.set_converter#  s     	I&&*#rw   c                 ^   U R                   UL d  U R                   U:X  a  g U R                  (       a  [        S5      eU R                   b^  [        U[	        U R                   5      5      (       d:  [        U R                   [	        U5      5      (       d  [
        R                  " S5        Xl         g )Nz*Axis already has an explicit converter setz]This axis already has a converter set and is updating to a potentially incompatible converter)r  r  r  ro   rh  r   rg  rF  s     rj   r%  Axis._set_converter.  s    ??i'4??i+G&&KLLOO'9d4??&;<<4??DO<<F $rw   c                     XR                   :X  a  gU R                  5        H;  nXl         UR                  5         UR                  R	                  S5        SUl        M=     g)z~
Set the units for axis.

Parameters
----------
u : units tag

Notes
-----
The units of any shared axis will also be updated.
Nrp  T)rp  r  r(  r{  ri  r   )r_   ur  s      rj   r'  Axis.set_units>  sM     

?))+DJ!!#NN""7+DJ	 ,rw   c                     U R                   $ )zReturn the units for axis.)rp  r{   s    rj   	get_unitsAxis.get_unitsR  s    zzrw   c                     SU l         U R                  R                  U5        Ub  U R                  R                  U5        U R                  R                  U5        SU l        U R                  $ )a  
Set the text value of the axis label.

Parameters
----------
label : str
    Text string.
fontdict : dict
    Text properties.

    .. admonition:: Discouraged

       The use of *fontdict* is discouraged. Parameters should be passed as
       individual keyword arguments or using dictionary-unpacking
       ``set_label_text(..., **fontdict)``.

**kwargs
    Merged into fontdict.
FT)ry  r}  r{  r  r   )r_   r}  fontdictra   s       rj   r6  Axis.set_label_textV  sY    (  %

E"JJh'

&!
zzrw   c                 :    U R                  XR                  5        g)a
  
Set the formatter of the major ticker.

In addition to a `~matplotlib.ticker.Formatter` instance,
this also accepts a ``str`` or function.

For a ``str`` a `~matplotlib.ticker.StrMethodFormatter` is used.
The field used for the value must be labeled ``'x'`` and the field used
for the position must be labeled ``'pos'``.
See the  `~matplotlib.ticker.StrMethodFormatter` documentation for
more information.

For a function, a `~matplotlib.ticker.FuncFormatter` is used.
The function must take two inputs (a tick value ``x`` and a
position ``pos``), and return a string containing the corresponding
tick label.
See the  `~matplotlib.ticker.FuncFormatter` documentation for
more information.

Parameters
----------
formatter : `~matplotlib.ticker.Formatter`, ``str``, or function
N)_set_formatterr   rP  s     rj   r3  Axis.set_major_formatterr  s    0 	Izz2rw   c                 :    U R                  XR                  5        g)a  
Set the formatter of the minor ticker.

In addition to a `~matplotlib.ticker.Formatter` instance,
this also accepts a ``str`` or function.
See `.Axis.set_major_formatter` for more information.

Parameters
----------
formatter : `~matplotlib.ticker.Formatter`, ``str``, or function
N)rU  r%   rP  s     rj   r5  Axis.set_minor_formatter  s     	Izz2rw   c                    [        U[        5      (       a  [        R                  " U5      nOi[	        U5      (       a6  [        U[        R
                  5      (       d  [        R                  " U5      nO#[        R                  " [        R                  US9  [        U[        R                  5      (       aX  [        UR                  5      S:  a?  [        UR                  [        R                  5      (       d  [        R                  " S5        X R                   :X  a  SU l        OSU l        Xl        UR)                  U 5        SU l        g )N)rK  r   =FixedFormatter should only be used together with FixedLocatorFT)ro   rp   rF  StrMethodFormattercallable
TickHelperFuncFormatterr   check_isinstancerO  FixedFormatterry  seqrC  FixedLocatorrg  r   r  r  rK  set_axisr   )r_   rK  levels      rj   rU  Axis._set_formatter  s    i%%229=I y!!Y(:(:;;--i8I!!'"3"3yIy'"8"899	&*"5=='2F2FGG  3 4 JJ$)D!$)D!#4 
rw   c                 (   [         R                  " [        R                  US9  SU l        XR
                  l        U R
                  R                  (       a%  U R
                  R                  R                  U5        UR                  U 5        SU l
        g)zd
Set the locator of the major ticker.

Parameters
----------
locator : `~matplotlib.ticker.Locator`
rC  FTN)r   r_  rF  rG  r  r   rC  rK  _set_locatorrc  r   rI  s     rj   r0  Axis.set_major_locator  d     	goow? %$

::JJ  --g6
rw   c                 (   [         R                  " [        R                  US9  SU l        XR
                  l        U R
                  R                  (       a%  U R
                  R                  R                  U5        UR                  U 5        SU l
        g)zd
Set the locator of the minor ticker.

Parameters
----------
locator : `~matplotlib.ticker.Locator`
rg  FTN)r   r_  rF  rG  r  r%   rC  rK  rh  rc  r   rI  s     rj   r  Axis.set_minor_locator  rj  rw   c                 \    [        U[        5      (       a  US:  a  [        S5      eXl        g)z
Set the depth of the axis used by the picker.

Parameters
----------
pickradius : float
    The acceptance radius for containment tests.
    See also `.Axis.contains`.
r   z pick radius should be a distanceN)ro   r   r4  r  )r_   rm  s     rj   set_pickradiusAxis.set_pickradius  s)     *d++zA~?@@%rw   zGThe acceptance radius for containment tests. See also `.Axis.contains`.c                 &    U R                  US5      $ )Nr1   )r  )tickdr   poss      rj   _format_with_dictAxis._format_with_dict  s    yyBrw   )r%   rR  c                `    U Vs/ s H&  n[        US5      (       a  UR                  5       OUPM(     nnU(       a  U R                  5       OU R	                  5       nU(       d  [
        R                  " 5       nGO[        U[
        R                  5      (       a  [        UR                  5      [        U5      :w  a=  [        U5      S:w  a.  [        S[        UR                  5       S[        U5       S35      e[        UR                  U5       VV	s0 s H  u  pX_M	     n
nn	[        R                  " U R                  U
5      n[
        R                   " U5      nO,["        R$                  " S	5        [
        R&                  " U5      n[(        R*                  " 5          [(        R,                  " S
SS9  U(       a<  U R/                  U5        U R1                  5       nU R3                  [        U5      5      nO;U R5                  U5        U R7                  5       nU R9                  [        U5      5      nSSS5        / nUb  UR;                  U5        [=        [        WW5      5       GH  u  nu  nnUR?                  U5        U" X5      nUR@                  RC                  U5        UR@                  RE                  U5        URF                  RC                  U5        URF                  RE                  U5        UR@                  RI                  5       (       a  URK                  UR@                  5        URF                  RI                  5       (       d  M  URK                  URF                  5        GM     SU l&        U$ s  snf ! [         a    [        US S35      Sef = fs  sn	nf ! , (       d  f       GNv= f)aV  
[*Discouraged*] Set this Axis' tick labels with list of string labels.

.. admonition:: Discouraged

    The use of this method is discouraged, because of the dependency on
    tick positions. In most cases, you'll want to use
    ``Axes.set_[x/y/z]ticks(positions, labels)`` or ``Axis.set_ticks``
    instead.

    If you are using this method, you should always fix the tick
    positions before, e.g. by using `.Axis.set_ticks` or by explicitly
    setting a `~.ticker.FixedLocator`. Otherwise, ticks are free to
    move and the labels may end up in unexpected positions.

Parameters
----------
labels : sequence of str or of `.Text`\s
    Texts for labeling each tick location in the sequence set by
    `.Axis.set_ticks`; the number of labels must match the number of locations.
    The labels are used as is, via a `.FixedFormatter` (without further
    formatting).

minor : bool
    If True, set minor ticks instead of major ticks.

fontdict : dict, optional

    .. admonition:: Discouraged

       The use of *fontdict* is discouraged. Parameters should be passed as
       individual keyword arguments or using dictionary-unpacking
       ``set_ticklabels(..., **fontdict)``.

    A dictionary controlling the appearance of the ticklabels.
    The default *fontdict* is::

       {'fontsize': rcParams['axes.titlesize'],
        'fontweight': rcParams['axes.titleweight'],
        'verticalalignment': 'baseline',
        'horizontalalignment': loc}

**kwargs
    Text properties.

    .. warning::

        This only sets the properties of the current ticks, which is
        only sufficient for static plots.

        Ticks are not guaranteed to be persistent. Various operations
        can create, delete and modify the Tick instances. There is an
        imminent risk that these settings can get lost if you work on
        the figure further (including also panning/zooming on a
        displayed figure).

        Use `.set_tick_params` instead if possible.

Returns
-------
list of `.Text`\s
    For each tick, includes ``tick.label1`` if it is visible, then
    ``tick.label2`` if it is visible, in that order.
r  =z must be a sequenceNr   z&The number of FixedLocator locations (zJ), usually from a call to set_ticks, does not match the number of labels (z).zrset_ticklabels() should only be used with a fixed number of ticks, i.e. after set_ticks() or using a FixedLocator.rH  rZ  )messageT)'r}  r  rH  r  r  rF  NullFormatterro   rb  ry  locsr4  rz  	functoolspartialrs  r^  r   rg  r`  warningscatch_warningsfilterwarningsr5  r|  r  r3  rw  r  r  	enumerater^   rZ   r{  _internal_updater[   r   r  r   )r_   labelsr%   rR  ra   trC  rK  r`   labrq  funcry  r  r@  rr  r^  
tick_labels                     rj   set_ticklabelsAxis.set_ticklabels  s   B	H%'%! '.a&<&<ajjl!C%  ' 054))+..0 	--/I!5!566 7<< CK/CK14D W\\*+ ,..1&k]">? ?
 /2',,.GH.G(#SX.GEH$$T%;%;UCD--d3IJK  ..v6I$$&##WY ((3--/,,SY7((3--/,,SY7 ' MM(# )#dE*: ;C#t  %"3,JKK  ,KK((0KK  ,KK((0{{&&((

4;;'{{&&((

4;;' !< 

w' 	Hvaj(;<=4G	H  I '&s.   M: -M5M: NBN5M: :N
N-c                   U R                  U5      n[        R                  " U5      n[        U5      (       a;  U R	                  5        H'  nUR                  [        U5      [        U5      5        M)     SU R                  l	        U(       a+  U R                  U5        U R                  [        U5      5      $ U R                  U5        U R                  [        U5      5      $ r   )rf  rF  rb  ry  r  rI  minr  r?   r   r  r  r0  r  )r_   r  r%   rC  r  s        rj   _set_tick_locationsAxis._set_tick_locationsj  s     ""5)&&u-u::--/&&s5z3u:> 0 		""7+''E
33""7+''E
33rw   c                    Uc+  U(       a$  [        [        U5      5      n[        SU< S35      eU R                  XS9nUb  U R                  " U4SU0UD6  U$ )a|  
Set this Axis' tick locations and optionally tick labels.

If necessary, the view limits of the Axis are expanded so that all
given ticks are visible.

Parameters
----------
ticks : 1D array-like
    Array of tick locations (either floats or in axis units). The axis
    `.Locator` is replaced by a `~.ticker.FixedLocator`.

    Pass an empty list (``set_ticks([])``) to remove all ticks.

    Some tick formatters will not label arbitrary tick positions;
    e.g. log formatters only label decade ticks by default. In
    such a case you can set a formatter explicitly on the axis
    using `.Axis.set_major_formatter` or provide formatted
    *labels* yourself.

labels : list of str, optional
    Tick labels for each location in *ticks*; must have the same length as
    *ticks*. If set, the labels are used as is, via a `.FixedFormatter`.
    If not set, the labels are generated using the axis tick `.Formatter`.

minor : bool, default: False
    If ``False``, set only the major ticks; if ``True``, only the minor ticks.

**kwargs
    `.Text` properties for the labels. Using these is only allowed if
    you pass *labels*. In other cases, please use `~.Axes.tick_params`.

Notes
-----
The mandatory expansion of the view limits is an intentional design
choice to prevent the surprise of a non-visible tick. If you need
other limits, you should set the limits explicitly after setting the
ticks.
z"Incorrect use of keyword argument zr. Keyword arguments other than 'minor' modify the text labels and can only be used if 'labels' are passed as well.r  r%   )r  iterr4  r  r  )r_   r  r  r%   ra   	first_keyresults          rj   	set_ticksAxis.set_ticks|  sq    P >fT&\*I4YM B/ /0 0 ))%)=>e>v>rw   c                    U R                  5       nX R                  SS9R                  ;  a  / / 4$ U R                  SS9R                  U   n/ n/ nUR                  U R                  5       HW  nUR
                  U   nUR                  5       nUR                  X5      u  pUR                  U	5        UR                  U
5        MY     XE4$ )z
Get the bounding boxes for this `.axis` and its siblings
as set by `.Figure.align_xlabels` or  `.Figure.align_ylabels`.

By default, it just gets bboxes for *self*.
Fr&   )	r  r>   _align_label_groupsr  r?   r  r  r  extend)r_   r   rc   grouperr  bboxes2r   r  r  tlbr  s              rj   _get_tick_boxes_siblingsAxis._get_tick_boxes_siblings  s     ""$E2FFFr6M//u/-AA$G&&tyy1B<<%D ..0M22=KICMM#NN4  2 rw   c                     [        S5      e)zb
Update the label position based on the bounding box enclosing
all the ticklabels and axis spine.
r   r   )r_   r   s     rj   r  Axis._update_label_position      
 ""9::rw   c                     [        S5      e)z`
Update the offset text position based on the sequence of bounding
boxes of all the ticklabels.
r   r   )r_   r  r  s      rj   r  !Axis._update_offset_text_position  r  rw   c                     [        U[        5      (       a  SSKnUR                  R	                  U5      nU R                  [        R                  " SSSSSSSU5      5        g)z
Set up axis ticks and labels to treat data along this Axis as dates.

Parameters
----------
tz : str or `datetime.tzinfo`, default: :rc:`timezone`
    The timezone used to create date labels.
r   Ni  r5   )ro   rp   dateutil.tztzgettzr+  datetime)r_   r  dateutils      rj   	axis_dateAxis.axis_date  sO     b#""2&B(++D!Q1aBGHrw   c                     [        5       e)z>Return the estimated number of ticks that can fit on the axis.r   r{   s    rj   get_tick_spaceAxis.get_tick_space  s     "##rw   c                     U R                   S   nU R                  S   n[        S X4 5       5      (       a  g[        S X4 5       5      (       a  g[        S X4 5       5      (       a  gg)	a  
Helper for `XAxis.get_ticks_position` and `YAxis.get_ticks_position`.

Check the visibility of tick1line, label1, tick2line, and label2 on
the first major and the first minor ticks, and return

- 1 if only tick1line and label1 are visible (which corresponds to
  "bottom" for the x-axis and "left" for the y-axis);
- 2 if only tick2line and label2 are visible (which corresponds to
  "top" for the x-axis and "right" for the y-axis);
- "default" if only tick1line, tick2line and label1 are visible;
- "unknown" otherwise.
r   c              3   0  #    U  H  nUR                   R                  5       =(       af    UR                  R                  5       (       + =(       a@    UR                  R                  5       =(       a    UR                  R                  5       (       + v   M     g 7fry   rO   r   rP   rZ   r[   r   r^  s     rj   r   +Axis._get_ticks_position.<locals>.<genexpr>  st      + *4	 ~~))+ 1~~11331;;**,1 {{..001 *   BBr5   c              3   0  #    U  H  nUR                   R                  5       =(       af    UR                  R                  5       (       + =(       a@    UR                  R                  5       =(       a    UR                  R                  5       (       + v   M     g 7fry   )rP   r   rO   r[   rZ   r  s     rj   r   r   	  st      - ,T	 ++- 333553[[,,.3 00223 ,r  r  c              3   &  #    U  H  nUR                   R                  5       =(       aa    UR                  R                  5       =(       a@    UR                  R                  5       =(       a    UR                  R                  5       (       + v   M     g 7fry   r  r  s     rj   r   r  	  sq      - ,T	 ++- 3^^//13[[,,.3 00223 ,s   BBrm   unknown)rY  r[  all)r_   r   r%   s      rj   _get_ticks_positionAxis._get_ticks_position  s     "" + ">	+ + +
  - $^	- - -
  - $^	- - -
 rw   c                     U R                   $ )z+
Return the label position (top or bottom)
)label_positionr{   s    rj   get_label_positionAxis.get_label_position	  s     """rw   c                     [        5       e)\
Set the label position (top or bottom)

Parameters
----------
position : {'top', 'bottom'}
r   r_   positions     rj   set_label_positionAxis.set_label_position	  s     "##rw   c                     [        5       ery   r   r{   s    rj   r  Axis.get_minpos	  s    !##rw   )r|  r  r  r  r  r  r  rx  r  r?   r{  ry  r  r  r  r  r}  r  r   r%   r~  rm  r   rp  ry   )r   FF)FN)Nr   )zrB   r   r   r   r   OFFSETTEXTPADr  r   deprecate_privatize_attributer)  rj  r:   r   r  rQ  r  r  r  r  r  r  rS  rY  r[  r  r  r  r  r  r  r  r  r  r  r  r   r  r  rn  r  r  r  r   r%  classmethodr  r   r   rI  rL  rO  rT  rZ  r]  rW  r]   r  r  r  rz   r   r   r   r  r  r  r  r  r  r  r  r  r  r  rw  r|  r  r  rZ  r  r  r  r  r  r  r  r  r  r   r+  r(  r:  rf  r$  rG  r%  r'  rO  r6  r3  r5  rU  r0  r  rn  rm  staticmethodrs  r  r  r  r  r  r  r  r  r  r  r  r  r   r   r   s   @rj   rb  rb  -  s   (R M K22 II
I ,.T 7" 7"r . . / / 0 0 1 1 . . / / 0 0 1 1;
F
% T*JU+J-2 '#%@35
(+ 
%K>P"#BFF)V( ?D6+Z4Nl C CJ;;;;	
J (, JX2
2hB1e 1f&    !0D8	 !!*><<)$$ %* O&D*F
D%$%""$$*4*4(T2 %DE"	+$ (83434  &  -89J
     /4d }~ 38 4$1U 1f.;;I"$
#J#$$ $rw   rb  c                 b   ^^^^ UU4S jmSUUUU4S jjmSU  S3Tl         SU  S3Tl         TT4$ )zc
Helper to generate ``get_{data,view}_interval`` and
``set_{data,view}_interval`` implementations.
c                 D   > [        [        U R                  T5      T5      $ ry   )getattrr?   )r_   	attr_namelim_names    rj   getter%_make_getset_interval.<locals>.getter)	  s    wtyy(3Y??rw   c           	         > U(       a#  [        [        U R                  T5      TX45        OJT" U 5      u  pEXE:  a  T	" U [        XU5      [	        XU5      SS9  OT	" U [	        XU5      [        XU5      SS9  SU l        g )NTrb  )r   r  r?   r  r  r   )
r_   r  r  rH  oldminoldmaxr  r  r  rQ  s
         rj   rQ  %_make_getset_interval.<locals>.setter-	  sv    GDIIx0)d\J#D\NFtSV4c$f6M"$ tSV4c$f6M"$
rw   get_	_intervalset_r  )rB   )method_namer  r  r  rQ  s    ``@@rj   _make_getset_intervalr  #	  s?    @  [M3FO[M3FO6>rw   c                      ^  \ rS rSrSr Sr\rU 4S jrS rS r	S r
S rS	 rS
 rS rS rS r\" SSS5      u  rr\" SSS5      u  rrS rS rS rSrU =r$ )XAxisiA	  xaxisr   c                 F   > [         TU ]  " U0 UD6  U R                  5         g ry   r9   r:   r  r_   r   ra   ri   s      rj   r:   XAxis.__init__F	      $)&)

rw   c                 &   U R                   R                  SSSS[        R                  " U R                  R
                  [        R                  " 5       5      S9  SU l        [        R                  S   S:X  a  [        R                  S	   nO[        R                  S   nU R                  R                  S
SSS[        R                  " U R                  R
                  [        R                  " 5       5      [        R                  S   US9  SU l        g)d
Initialize the label and offsetText instance values and
`label_position` / `offset_text_position`.
r   r   r-  centerr   r+  zxtick.labelcolorr)   zxtick.colorr5   r,  zxtick.labelsizer   r   r   r   r   r6   r   N)r}  r   r~  blended_transform_factoryr?   ri  IdentityTransformr  r;   r<   r~  offset_text_positionr_   
tick_colors     rj   r  XAxis._initJ	  s     	

Q#!;;		##[%B%B%DF 	 	
 '<<*+y8m4J&89J1#!;;		##[%B%B%DF\\"34 	 	
 %-!rw   c                 *   U R                  U5      (       a  S0 4$ UR                  UR                  p2 U R                  R                  R                  5       nUR                  X#45      u  pVU R                  R                  R                  SS/5      u  u  pxu  pSUs=:*  =(       a    S:*  Os  =(       aH    XR                  -
  Us=:  =(       a    U:  Os  =(       d     Xs=:  =(       a    XR                  -   :  Os  nU0 4$ ! [         a    S0 4s $ f = f)z4Test whether the mouse event occurred in the x-axis.Frf  r5   r5   r   r5   	_different_canvasr   r   r?   ri  rY  r   r4  r  r_   r   r   r   r   xaxesyaxeslr  rr  inaxiss               rj   r   XAxis.containsh	      !!*--"9||Z\\1	II''002E ??A62LE ,,667GHeq *   1((q( )((A(((( 	 rz  	"9	   8D DDc                     U R                   R                  [        R                  " SSS.US95        Xl        SU l        g)r  baseliner-  )r-  r+  r  TN)r}  set_verticalalignmentr   check_getitemr  r   r  s     rj   r  XAxis.set_label_positionx	  s?     	

((););=
* 	 '
rw   c           	      `   U R                   (       d  gU R                  US9u  p#U R                  R                  5       u  pEU R                  S:X  a  [
        R                  R                  / UQU R                  R                  R                  SU R                  5      R                  5       P5      nU R                  R                  XFR                  U R                  U R                  SS9R                   -  S-  -
  45        g[
        R                  R                  / UQU R                  R                  R                  SU R                  5      R                  5       P5      nU R                  R                  XFR"                  U R                  U R                  SS9R                   -  S-  -   45        g)a
Update the label position based on the bounding box enclosing
all the ticklabels and axis spine
Nr   r+  Tr&   H   r-  )r|  r  r}  get_positionr  r~  r  r  r?   spinesr  r  r  r  r  r>   dpir  r_   r   r  r  r   r   bboxs          rj   r  XAxis._update_label_position	  ss   
 !! 777Jzz&&((*##)) +X+X))--h		BTTV+X YDJJ##GGdmmdoo4o.H.L.LLrQQRT ##)) +V+V))**..udii@RRT+V WDJJ##GGdmmdoo4o.H.L.LLrQQRTrw   c                    U R                   R                  5       u  p4[        U S5      (       d  SU l        U R                  S:X  a  [	        U5      (       d!  U R
                  R                  R                  nO+[        R                  R                  U5      nUR                  nXPR                  U R                  SS9R                  -  S-  -
  nO[	        U5      (       d!  U R
                  R                  R                  nO+[        R                  R                  U5      nUR                   nXpR                  U R                  SS9R                  -  S-  -   nU R                   R#                  X445        g)_
Update the offset_text position based on the sequence of bounding
boxes of all the ticklabels
_tick_positionr+  Tr&   r  N)r~  r   r}  r  ry  r?   r  yminr~  r  r  r  r  r>   r  ymaxr  r  )r_   r  r  r   r   r+  r  r-  s           rj   r  "XAxis._update_offset_text_position	  s   
 ++-t-.."*D(*v;;,,"''--f5++doo4o.H.L.LLrQQAw<<iinn))"''--g6gg((4???+E+I+IIBNNA$$aV,rw   c                    US:X  a6  U R                  SSSSSS9  SU l        U R                  R                  S5        OUS:X  a6  U R                  SSSSSS9  SU l        U R                  R                  S5        OUS:X  a  U R                  SSSS9  OkUS:X  a  U R                  SSSS9  OSUS	:X  a6  U R                  SSSSSS9  SU l        U R                  R                  S5        O[        R
                  " / S
QUS9  SU l        g)a  
Set the ticks position.

Parameters
----------
position : {'top', 'bottom', 'both', 'default', 'none'}
    'both' sets the ticks to appear on both positions, but does not
    change the tick labels.  'default' resets the tick positions to
    the default: ticks on both positions, labels at bottom.  'none'
    can be used if you don't want any ticks. 'none' and 'both'
    affect only the ticks, not the labels.
r-  r"   TF)rb   r-  r1  r+  r/  r+  )rb   r-  r+  r+   rm   )r-  r+  r"   rm   r+   r  N)r   r  r~  r  r   rs   r   r  s     rj   set_ticks_positionXAxis.set_ticks_position	  s&    u  v4$(-5 ! B"'DOO11(;!  v55(,$ ! @"*DOO11%8  v4(, ! .  v5(- ! /"  v4%(,$ ! @"*DOO11%8K(02
rw   c                     SnSU R                   ;   a%  U R                   S   =(       d    U R                   S   nU R                  S5        U R                  SUS9  g)z@
Move ticks and ticklabels (if present) to the top of the Axes.
Tr   r   r-  r"   )rb   r1  Nr  r  r   r_   r}  s     rj   tick_topXAxis.tick_top	  s^     ,,,((4 8++J7 &6E:rw   c                     SnSU R                   ;   a%  U R                   S   =(       d    U R                   S   nU R                  S5        U R                  SUS9  g)zC
Move ticks and ticklabels (if present) to the bottom of the Axes.
Tr   r   r+  r"   )rb   r/  Nr  r  s     rj   tick_bottomXAxis.tick_bottom	  s^     ,,,((4 8++J7 )6u=rw   c                 2    SSSSS.U R                  5          $ )zG
Return the ticks position ("top", "bottom", "default", or "unknown").
r+  r-  rm   r  r5   r  rm   r  r  r{   s    rj   get_ticks_positionXAxis.get_ticks_position	  s)     $<,,.0 	0rw   viewr  r  r   dataLimc                 B    U R                   R                  R                  $ ry   )r?   r  minposxr{   s    rj   r  XAxis.get_minpos
      yy  (((rw   c                    U R                   R                  R                  5       (       d  U R                   R                  R                  5       (       dy  U R                  bl  U R                  R                  U R                  U 5      nUR                  b9  U R                  UR                  5      u  p#X#4U R                   R                  l	        SU l
        g r   )r?   r  mutatedxr  r  r.  rp  default_limitsrf  r  r   )r_   r7  xminxmaxs       rj   r]  XAxis.set_default_intervals
       		!!**,,II%%..00*//

DA&&2!%!3!3D4G4G!HJD26*DII%%/
rw   c                 N   [         R                  R                  5       R                  U R                  R
                  U R                  SS9R                  -
  5      nUR                  S-  nU R                  S5      S-  nUS:  a!  [        [        R                  " X#-  5      5      $ g)NFr&   r  r   rc  r   )r~  r  unittransformedr?   ri  r>   dpi_scale_transr   r  intrW   floorr_   endsr(  r   s       rj   r  XAxis.get_tick_space
  s    $$&22II$//u/"="M"MMOb ((-1!8rxx.//rw   )r  r  r  r   )rB   r   r   r   r3  r   r  r:   r  r   r  r  r  r  r  r  r  r  r   rI  rL  rO  r  r]  r  r   r   r   s   @rj   r  r  A	  s    HIK-< T4-0%N
;
>0 ,A	;,(((+@	;,((()
 
rw   r  c                      ^  \ rS rSrSr Sr\rU 4S jrS rS r	S r
S rS	 rS
 rS rS rS rS r\" SSS5      u  rr\" SSS5      u  rrS rS rS rSrU =r$ )YAxisi!
  yaxisr   c                 F   > [         TU ]  " U0 UD6  U R                  5         g ry   r  r  s      rj   r:   YAxis.__init__&
  r  rw   c                 *   U R                   R                  SSSSSS[        R                  " [        R                  " 5       U R
                  R                  5      S9  SU l        [        R                  S	   S
:X  a  [        R                  S   nO[        R                  S	   nU R                  R                  SSSS[        R                  " U R
                  R                  [        R                  " 5       5      [        R                  S   US9  SU l        g)r  r   r   r+  r  verticalanchor)r   r   r   r   r8   rotation_moder   r*  zytick.labelcolorr)   zytick.colorr  zytick.labelsizer  N)r}  r   r~  r  r  r?   ri  r  r;   r<   r~  r  r  s     rj   r  YAxis._init*
  s     	

3&Hx!;;--/1D1DF	 	 	
 %<<*+y8m4J&89J 	3(f!;;		##[%B%B%DF\\"34 	 	
 %+!rw   c                 *   U R                  U5      (       a  S0 4$ UR                  UR                  p2 U R                  R                  R                  5       nUR                  X#45      u  pVU R                  R                  R                  SS/5      u  u  pxu  pSUs=:*  =(       a    S:*  Os  =(       aH    XpR                  -
  Us=:  =(       a    U:  Os  =(       d     Xs=:  =(       a    XR                  -   :  Os  nU0 4$ ! [         a    S0 4s $ f = f)NFrf  r  r   r5   r  r  s               rj   r   YAxis.containsJ
  r  r  c                     U R                   R                  S5        U R                   R                  [        R                  " SSS.US95        Xl        SU l        g)z\
Set the label position (left or right)

Parameters
----------
position : {'left', 'right'}
r:  r+  r-  r*  r,  r  TN)r}  set_rotation_moder  r   r  r  r   r  s     rj   r  YAxis.set_label_positionZ
  sQ     	

$$X.

((););u=
* 	 '
rw   c                 d   U R                   (       d  gU R                  US9u  p#U R                  R                  5       u  pEU R                  S:X  a  [
        R                  R                  / UQU R                  R                  R                  SU R                  5      R                  5       P5      nU R                  R                  UR                  U R                  U R                  SS9R                   -  S-  -
  U45        g[
        R                  R                  / UQU R                  R                  R                  SU R                  5      R                  5       P5      nU R                  R                  UR"                  U R                  U R                  SS9R                   -  S-  -   U45        g)r  Nr  r*  Tr&   r  r,  )r|  r  r}  r   r  r~  r  r  r?   r  r  r  r  r  r  r>   r  r  r  s          rj   r  YAxis._update_label_positioni
  sy   
 !! 777Jzz&&(&(##)) +V+V))--fdii@RRT+V WDJJ##4==4???+E+I+IIBNNPQRT ##)) +X+X))**..w		BTTV+X YDJJ##4==4???+E+I+IIBNNPQRTrw   c           	         U R                   R                  5       u  p4SU R                  R                  ;   a(  U R                  R                  S   R	                  5       nOU R                  R
                  nUR                  nU R                   R                  X6U R                  U R                  SS9R                  -  S-  -   45        g)r  outlineTr&   r  N)r~  r   r?   r  r  r  r
  r  r  r>   r  )r_   r  r  r   r   r  r-  s          rj   r  "YAxis._update_offset_text_position
  s    
 ++-		(((99##I.@@BD99>>Dii$$d((4???+E+I+IIBNNO	
rw   c                     U R                   R                  5       u  p#[        R                  " SSS.US9nU R                   R	                  U5        U R                   R                  X#45        SU l        g)z4
Parameters
----------
position : {'left', 'right'}
r   r5   r@  r  TN)r~  r   r   r  set_har  r   )r_   r  r   r   s       rj   set_offset_positionYAxis.set_offset_position
  s\     ++-A6Jx($$aV,
rw   c                    US:X  a%  U R                  SSSSSS9  U R                  U5        OUS:X  a%  U R                  SSSSSS9  U R                  U5        OaUS:X  a  U R                  SSSS9  OIUS:X  a  U R                  SSSS9  O1US	:X  a  U R                  SSSSSS9  O[        R                  " / S
QUS9  SU l        g)a  
Set the ticks position.

Parameters
----------
position : {'left', 'right', 'both', 'default', 'none'}
    'both' sets the ticks to appear on both positions, but does not
    change the tick labels.  'default' resets the tick positions to
    the default: ticks on both positions, labels at left.  'none'
    can be used if you don't want any ticks. 'none' and 'both'
    affect only the ticks, not the labels.
r,  r"   TF)rb   r,  r0  r*  r.  r*  )rb   r,  r*  r+   rm   )r*  r,  r"   rm   r+   r  N)r   rJ  r   rs   r   r  s     rj   r  YAxis.set_ticks_position
  s     w  vTd&+u ! >$$X.  vUu&*d ! <$$X.  vT&* ! ,  vU&+ ! -"  vTe&*d ! < K(02
rw   c                     SnSU R                   ;   a%  U R                   S   =(       d    U R                   S   nU R                  S5        U R                  SUS9  g)zB
Move ticks and ticklabels (if present) to the right of the Axes.
Tr   r   r,  r"   )rb   r0  Nr  r  s     rj   
tick_rightYAxis.tick_right
  s`     ,,,((4 8++J7 ( 	6e<rw   c                     SnSU R                   ;   a%  U R                   S   =(       d    U R                   S   nU R                  S5        U R                  SUS9  g)zA
Move ticks and ticklabels (if present) to the left of the Axes.
Tr   r   r*  r"   )rb   r.  Nr  r  s     rj   	tick_leftYAxis.tick_left
  s`     ,,,((4 8++J7 ' 	6U;rw   c                 2    SSSSS.U R                  5          $ )zG
Return the ticks position ("left", "right", "default", or "unknown").
r*  r,  rm   r  r  r  r{   s    rj   r  YAxis.get_ticks_position
  s)     g$<,,.0 	0rw   r  r  r8  r   r  c                 B    U R                   R                  R                  $ ry   )r?   r  minposyr{   s    rj   r  YAxis.get_minpos
  r!  rw   c                    U R                   R                  R                  5       (       d  U R                   R                  R                  5       (       dy  U R                  bl  U R                  R                  U R                  U 5      nUR                  b9  U R                  UR                  5      u  p#X#4U R                   R                  l	        SU l
        g r   )r?   r  mutatedyr  r  r.  rp  r$  rf  r8  r   )r_   r7  r	  r
  s       rj   r]  YAxis.set_default_intervals
  r(  rw   c                 N   [         R                  R                  5       R                  U R                  R
                  U R                  SS9R                  -
  5      nUR                  S-  nU R                  S5      S-  nUS:  a!  [        [        R                  " X#-  5      5      $ g)NFr&   r  r   r  r   r*  )r~  r  r+  r,  r?   ri  r>   r-  r  r  r.  rW   r/  r0  s       rj   r  YAxis.get_tick_space
  s    $$&22II$//u/"="M"MMOr!((-1!8rxx.//rw   )r  r  r   )rB   r   r   r   r3  r$  r  r:   r  r   r  r  r  rJ  r  rO  rR  r  r  r   rI  rL  rO  r  r]  r  r   r   r   s   @rj   r4  r4  !
  s    HIK+@ T4
 !F=<0 ,A	;,(((+@	;,((()	 	rw   r4  )>r   r  rz  loggingnumbersr   r|  numpyrW   
matplotlibr;   r   r   matplotlib.artistrh   r   matplotlib.colorsr2  rL   matplotlib.linesr  rH   matplotlib.scaler  r  matplotlib.texttextrU   matplotlib.tickertickerrF  matplotlib.transforms
transformsr~  matplotlib.unitsrp  r"  	getLoggerrB   _logrR   ArtistInspectorrI   _line_inspectorget_setters_line_param_namesaliasdr  r  r  _line_param_aliasesr   Artistr	   r   r$  r;  rS  rb  r  r  r4  )drc   s   00rj   <module>rw     sU          " # # ! !  # + !""  ))&--8#//1 .=.D.D.K.K.MN.MtDG}.MN %69L%LN%LT !4%LN @;7>> @;F
:+D :+z:+D :+z&$ &$R+ +Ds$7>> s$l7<]D ]@bD bCP ONs   5EE