+
     ]i  c                  sJ   ^ RI Ht ^ RIHt ^ RIt^ RIt^ RIHtHt ^ RIt	^ RI
t
^ RIt^ RIHt ]P                  '       d   ^ RIHt ]! R4      t]
P$                  P'                  R. RO4      R	 R
 l4       tR R ltR tR R ltR R ltR R ltR R ltR R ltR R ltR# )i    )annotations)CallableN)AnyTypeVar)_api)SelfTztarget,shape_repr,test_shapec               s(    V ^8  d   QhRRRRRRRR/# )	   targetztuple[int | None, ...]
shape_reprZstr
test_shapeztuple[int, ...]returnNone Zformat   "@/usr/lib64/python3.14/site-packages/matplotlib/tests/test_api.py__annotate__r      s,     0 03 0!$0!00590    c           	     s@   R \         P                  ! R\        V 4       RV RV 24      ,           p\        P                  ! V4      p\
        P                  ! \        VR7      ;_uu_ 4        \        P                  ! WR7       RRR4       R#   + '       g   i     R# ; i)Z^z'aardvark' must be zD with shape z, but your input has shape Zmatch)ZaardvarkN)
reZescapeZlennpZzerospytestraises
ValueErrorr   Zcheck_shape)r   r	   r
   Zerror_patternZdatas   &&&  r   test_check_shaper      sx     "))
c&k]-
| DL	"# #M 88JD	z	7	7/ 
8	7	7	7s   *BB	c                   V ^8  d   QhRR/# r   r   r   r   r   r   r   r   r   '   s     
 
 
r   c                 sz    ! R  R4      p \         P                  ! \        P                  4      ;_uu_ 4        V P                   RRR4       \         P                  ! \        P                  4      ;_uu_ 4        V ! 4       pVP                   RRR4       R#   + '       g   i     LZ; i  + '       g   i     R# ; i)c                  sj    ] tR t^(t]P
                  ! R4      ]P                  R R l4       4       tRtR# ))test_classproperty_deprecation.<locals>.Az0.0.0c                    V ^8  d   QhRRRR/# )r   clsr   r   r   r   r   r   r   r   Z6test_classproperty_deprecation.<locals>.A.__annotate__+   s     	 	4 	D 	r   c                	    R # Nr   )r      &r   fZ+test_classproperty_deprecation.<locals>.A.f)   s     r   r   N)	__name__
__module____qualname____firstlineno__r   
deprecatedZclasspropertyr"   __static_attributes__r   r   r   Ar   (   s+    		!				 
 
"	r   r)   N)r   warnsmplMatplotlibDeprecationWarningr"   )r)   a     r   test_classproperty_deprecationr/   '   sm     
 
c66	7	7	 
8	c66	7	7C	 
8	7 
8	7	7	7	7s   B8B)B&	)B:	c                 s   \         P                  ! \        P                  R R7      ;_uu_ 4        \        P
                  ! RRR7       RRR4       \         P                  ! \        P                  RR7      ;_uu_ 4        \        P
                  ! RRRR7       RRR4       \         P                  ! \        P                  R	R7      ;_uu_ 4        \        P
                  ! RRR
R7       RRR4       \         P                  ! \        P                  RR7      ;_uu_ 4        \        P
                  ! RRRR7       RRR4       \         P                  ! \        P                  RR7      ;_uu_ 4        \        P
                  ! RRRR7       RRR4       \         P                  ! \        P                  RR7      ;_uu_ 4        \        P
                  ! RRRR7       RRR4       \         P                  ! \        RR7      ;_uu_ 4        \        P
                  ! RRRR7       RRR4       \         P                  ! \        RR7      ;_uu_ 4        \        P
                  ! RRRRR7       RRR4       \         P                  ! \        P                  RR7      ;_uu_ 4        \        P
                  ! RRRR
RRRR7       RRR4       R#   + '       g   i     EL; i  + '       g   i     ELH; i  + '       g   i     EL; i  + '       g   i     EL; i  + '       g   i     EL; i  + '       g   i     ELX; i  + '       g   i     EL&; i  + '       g   i     L; i  + '       g   i     R# ; i)zEfoo was deprecated in Matplotlib 3\.10 and will be removed in 3\.12\.r   z3.10foo)nameNzOThe foo class was deprecated in Matplotlib 3\.10 and will be removed in 3\.12\.Zclass)r1   obj_typezWfoo was deprecated in Matplotlib 3\.10 and will be removed in 3\.12\. Use bar instead\.bar)r1   alternativezXfoo was deprecated in Matplotlib 3\.10 and will be removed in 3\.12\. More information\.zMore information.)r1   addendumzDfoo was deprecated in Matplotlib 3\.10 and will be removed in 4\.0\.z4.0)r1   removalz(foo was deprecated in Matplotlib 3\.10\.Fz*foo will be deprecated in a future versionT)r1   pendingzcannot have a scheduled removalz3.12)r1   r7   r6   zComplete replacement)Zmessager1   r4   r5   r2   r6   )	r   r*   r+   r,   r   Zwarn_deprecatedZPendingDeprecationWarningr   r   r   r   r   test_warn_deprecatedr8   4   s   	c662
3 
3 	V%0
3 
c66:
; 
; 	V%'B
; 
c66D
E 
E 	V%UC
E 
c66E
F 
F 	V%:MN
F 
c661
2 
2 	V%?
2 
c66G
I 
IV%?
I 
/I
K 
KV%>
K 
z)K	L	LV%vN 
M	c66>U	V	VV-C%).9L&-u	> 
W	V9
3 
3 
3
; 
; 
;
E 
E 
E
F 
F 
F
2 
2 
2
I 
I 
I
K 
K 
K 
M	L	V	V	Vsk   K>KK+K?.L>L'L;
MM"K	K(	+K<	?L	L$	'L8	;M	M	"M3	c               r   r   r   r   r   r   r   r   W   s        D  r   c                 sx    ! R  R4      p V ! 4       p\         P                  ! \        P                  4      ;_uu_ 4        RRR4       \         P                  ! \        P                  4      ;_uu_ 4        ^Vn        RRR4       \         P                  ! \        P                  4      ;_uu_ 4        RRR4       \         P                  ! \        P                  4      ;_uu_ 4        RRR4       R#   + '       g   i     L; i  + '       g   i     L; i  + '       g   i     Lm; i  + '       g   i     R# ; i)c                  s    ] tR t^Xt$ R R ltR R lt]P                  ! R4      tR]	R&   ]P                  ! R4      t
R]	R	&   R
tR# )-test_deprecate_privatize_attribute.<locals>.Cc               r   r   r   r   r   r   r   :test_deprecate_privatize_attribute.<locals>.C.__annotate__Y   s    22d2r   c                	s    ^V n         R# )   NZ_attr)selfr!   r   __init__Z6test_deprecate_privatize_attribute.<locals>.C.__init__Y   s    DJr   c               s     V ^8  d   QhRRRR/# )r   argr   r   r   r   r   r   r   r:   Z   s    00Q010r   c                	s    V# r    r   )r=   r?   s   &&r   _methZ3test_deprecate_privatize_attribute.<locals>.C._methZ   s    Sjr   z0.0Zintattrr   methr<   N)r#   r$   r%   r&   r>   r@   r   Zdeprecate_privatize_attributerA   Z__annotations__rB   r(   r   r   r   Cr9   X   s2    2066u=c=;;EBhBr   rC   N)r   r*   r+   r,   rA   )rC   Zcr.   r   "test_deprecate_privatize_attributerD   W   s    C C 	
A	c66	7	7	7	c66	7	7 
8	c66	7	7	7	c66	7	7	7 
8	7	7	7	7	7	7	7	7s/   C/3D/D$D(/C?	D	D%	(D9	c               r   r   r   r   r   r   r   r   i   s      t r   c                 sN  a \         P                  ! R R4      RR R ll4       o\         P                  ! R R4      R R l4       p SV 3 FH  pV! 4        \        P                  ! \        P
                  4      ;_uu_ 4        V! RR7       RRR4       KJ  	  \         P                  P                  3R	 V3R
 lllpV! 4        \        P                  ! \        P
                  4      ;_uu_ 4        X! RR7       RRR4       R#   + '       g   i     K  ; i  + '       g   i     R# ; i)3.0r0   Nc               r   r   r0   r   r   r   r   r   r   r   r   +test_delete_parameter.<locals>.__annotate__k   s      3 $ r   c                r   r    r   r0   r!   r   func1Z$test_delete_parameter.<locals>.func1j       r   c               r   )r   kwargsr   r   r   r   r   r   r   r   rG   o   s        r   c                 r   r    r   )rK   s   ,r   func2Z$test_delete_parameter.<locals>.func2n   rJ   r   r3   rH   c               r   rF   r   r   r   r   r   rG   w   s      C T r   c                s   < S! V 4       R # r    r   )r0   rI   s   &r   pyplot_wrapperZ-test_delete_parameter.<locals>.pyplot_wrapperw   s
    c
r   r    )r   Zdelete_parameterr   r*   r+   r,   ZdeprecationZ_deprecated_parameter)rL   funcrM   rI   s      @r   test_delete_parameterrO   i   s    	5%( ) 
5%( ) \\#::;;UO <; 
 #'"2"2"H"H   	c66	7	7 
8	7 <;; 
8	7	7s   >
C?+
D?DD$	c               r   r   r   r   r   r   r   r      s     
 
 
r   c                 s   \         P                  ! R R4      RR R ll4       p V ! ^^R7       \        P                  ! \        P
                  4      ;_uu_ 4        V ! ^^4       RRR4       \        P                  ! \        P
                  4      ;_uu_ 4        V ! ^^^4       RRR4       R#   + '       g   i     LQ; i  + '       g   i     R# ; i)rE   r?   Nc               s(    V ^8  d   QhRRRRRRRR/# )r   prer   r?   postr   r   r   r   r   r   r   Z,test_make_keyword_only.<locals>.__annotate__   s(      # C s d r   c                r   r    r   )rP   r?   rQ   s   &&&r   rN   Z$test_make_keyword_only.<locals>.func   rJ   r   )r?   r    )r   Zmake_keyword_onlyr   r*   r+   r,   )rN   s    r   test_make_keyword_onlyrR      s    	E5) * 	N	c66	7	7Q
 
8	c66	7	7Q1 
8	7 
8	7	7	7	7s   
B,B?,B<	?C	c               r   r   r   r   r   r   r   r      s     $ $d $r   c                 s    R p \         P                  ! RV R7      R R l4       pVP                  f   \        P                  ! R4       R# R# )z)`.f1`, `f2`, `f3(x) <.f3>` or `f4(x)<f4>`Z1)r4   c               r   r   r   r   r   r   r   Z2test_deprecation_alternative.<locals>.__annotate__   s      t r   c                 r   r    r   r   r   r   r"   Z'test_deprecation_alternative.<locals>.f   rJ   r   NzDocumentation is disabled)r   r'   Z__doc__r   Zskip)r4   r"   r.   r   test_deprecation_alternativerS      s@    =K	__Sk2 3yy/0 r   c               r   r   r   r   r   r   r   r      s     " "$ "r   c                 s    \         P                  ! \        R R7      ;_uu_ 4        \        P                  ! R.4       RRR4       R#   + '       g   i     R# ; i)zNo argument to check!r   r-   N)r   r   Z	TypeErrorr   check_in_listr   r   r   test_empty_check_in_listrU      s4    	y(?	@	@C5! 
A	@	@	@s   AA	c               r   r   r   r   r   r   r   r      s     : :$ :r   c                 s    \         P                  ! \        R R7      ;_uu_ 4        \        P                  ! RR.\
        P                  ! ^4      R7       RRR4       R#   + '       g   i     R# ; i)zarray\(5\) is not a valid valuer   r-   Zb)ZvalueN)r   r   r   r   rT   r   Zarrayr   r   r   test_check_in_list_numpyrV      s@    	z)K	L	LC:RXXa[9 
M	L	L	Ls   /AA/	))r    z(N,))r;      )NrW   (N, 3))r;   )rX   rY   )r;   r   ))r;   i   z(1, 5))r;   i	   ))Nr   Nz	(M, 2, N))r;   rW   r;   )Z
__future__r    Zcollections.abcr   r   Ztypingr   r   Znumpyr   r   Z
matplotlibr+   r   ZTYPE_CHECKINGZtyping_extensionsr   r   ZmarkZparametrizer   r/   r8   rD   rO   rR   rS   rU   rV   r   r   r   <module>rZ      s    " $ 	       
&CL 700
 >F $,
$"
:r   