+
     ]i'  c                   sp   ^ RI Ht ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	t	^ RI
t^ RI
Ht ^ RIHtHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIH t H!t! R	 t"R
 t#]PH                  PK                  R4      ]! R.R7      R 4       4       t&R t']PH                  PK                  R4      ]! R.R7      R 4       4       t(R t)R t*R t+R t,R t- ! R R4      t.R t/R t0R t1R t2]	Pf                  Pi                  R]Pj                  Pm                  4       4      R 4       t7R t8R t9R  t:R! t;R" t<R# t=R$ t>]	Pf                  P                  R%]P                  9   ;'       g    R&]P                  9   ;'       d.    ]P                  R'8H  ;'       d    ]P                  R(,          R,8  R)R*7      R+ 4       tCR# )-    )BytesION)cm)subprocess_run_helperis_ci_environment)check_figures_equal)rrulewrapper)VertexSelector)axes_dividerparasite_axesc                  sr   \         P                  ! 4       p \        P                  ! V \	        4       \        P
                  4       \         P                  ! ^y4      p\        P                  ! V\	        4       \        P
                  4       \         P                  ! RR7      p\         P                  ! \        P                  ! ^
4      RR7       \         P                  ! 4        \        P                  ! V\	        4       \        P
                  4       \         P                  ! 4        \         P                  ! \        P                  ! ^
4      \        P                  ! ^
4      R7       \        P                  ! \         P                  ! 4       \	        4       \        P
                  4       \         P                  ! 4       p \         P                  ! 4       p\         P                  ! \        P                  ! ^
4      4       VP                  R4       \        P                  ! V \	        4       \        P
                  4       R# )iy   polar)Z
projectionZfoobarlabel)xZheightZlogN)pltfigurepickledumpr   HIGHEST_PROTOCOLsubplotaxesplotnparangelegendZbarZgcaZ
set_yscalefigax     C/usr/lib64/python3.14/site-packages/matplotlib/tests/test_pickle.pytest_simpler      s%   
**,C
KKWY 7 78	S	B
KKGIv667	W	%BHHRYYr](+JJL
KKGIv667
 JJLGGbiimBIIbM2
KK	79f&=&=>
**,C	BHHRYYr]MM%
KKWY 7 78    c                 s   V P                  R4       \        P                  ! V 4       \        P                  ! R4       \        P
                  ! ^4      \        P
                  ! ^
4      r!\        P                  ! ^ ^
^P4      P                  ^
^4      ;p;rE\        P                  ! VR,          4      p\        P                  ! ^^^4       \        P                  ! \        \        ^
4      4      4       \        P                  ! R4       \        P                  ! ^^^4       \        P                  ! VRR.R7       \        P                  ! 4        \        P                  ! ^^^4       \        P                   ! V4       \        P                  ! ^^^4       \        P"                  ! V4       \        P                  ! R4       \        P                  ! ^^^4       \        P$                  ! V4       \        P                  ! ^^^4      pVP'                  ^ ^4       VP)                  ^ ^	4       \        P*                  ! WWE4       \        P                  ! ^^^4      pVP'                  ^ ^4       VP)                  ^ ^	4       \        P,                  ! WWE4       \        P                  ! ^^^4       \        P.                  ! W^,          RR7       \        P0                  ! R	R
7       \        P                  ! ^^^	4       \        P2                  ! WR,          RRRR7       \        P0                  ! RR7       V P5                  ^4      pV^ ,          P7                  ^^4       V^,          P7                  ^^4       V P9                  4        R# )
   z!Can you fit any more in a figure?Zhelloz//Zooo)Zhatcheszhello
world!z$x^2$r   z
upper left)Zlocg?g?z$-.5 x$)ZxerrZyerrr   T)Z	draggableN)r    i   g333333g      )set_size_inchesr   r   Zsuptitler   r   ZlinspacereshapeZsinr   r   ZlistZrangeZylabelZcontourfZcolorbarZ
pcolormeshimshowZpcolorset_xlimZset_ylimZ
streamplotZquiverZscatterr   ZerrorbarZ
subfiguressubplotsZalign_ylabels)fig_refr   yZdataZuvr   Zsubfigss   &       r   _generate_complete_test_figurer)   2   sV   G$JJwLL45 99Q<2q;;q"b)11"a88D81
q4xA KK1aHHT%)_JJwKK1aLLe}-LLNKK1aNN4KK1aJJtJJKK1aJJt	Q1	BKK1KK1NN1	Q1	BKK1KK1JJqQKK1aKK6)JJ< KK1aLLH3S	BJJ   #GAJ1AJ1r   ZdefaultZpng)Z
extensionsc           	      s
   \        V4       \        P                  ! V\        P                  4      pR \        P
                  ! V4       UUUu. uF  w  r4qTNK	  	  uppp9  g   Q h\        P                  ! V4      pVP                  P                  4        V P                  VP                  4       4       V P                  VP                  P                  P                  4       4       \        P                  ! V4       R# u upppi )ZFigureCanvasAggN)r)   r   dumpsr   pickletoolsZgenopsloadscanvasdrawr!   get_size_inchesfigimagerendererbuffer_rgbar   close)fig_testr&   ZpklZopZargZposZloadeds   &&     r   test_completer5   j   s     #7+
,,w 7 7
8C
 [=O=OPS=T$U=T\RcS=T$UUUU\\#F
MMV3356fmm,,88:;IIf %Vs   C>
c                  s   ^ RI p ^ RIpV P                  R,          p\        VR4      ;_uu_ 4       pVP                  ! V4      pRRR4       \        \        VP                  ! X4      4      4       R#   + '       g   i     L6; i)r    NPICKLE_FILE_PATHZrb)osr   environopenloadprintstrr*   )r7   r   ZpathZblobr   s        r   _pickle_load_subprocessr=   ~   sZ    ::()D	dD		Tkk$ 
 
#fll3
 ! 
	s   A11B	c           
      s   \        V4       VR ,          pVP                  4       '       d   Q hVP                  R4      ;_uu_ 4       p\        P                  ! W\        P
                  4       RRR4       VP                  4       '       g   Q h\        \        ^<R\        V4      RRR\        P                  /R7      p\        P                  ! \        P                  ! VP                  4      4      pVP                  P!                  4        V P#                  VP%                  4       4       V P'                  VP                  P(                  P+                  4       4       \,        P.                  ! V4       R#   + '       g   i     EL; i)zsinus.pickleZwbNr6   
MPLBACKENDZAggZ-SETUPTOOLS_SCM_PRETEND_VERSION_FOR_MATPLOTLIBZtimeoutZ	extra_env)r)   Zexistsr9   r   r   r   r   r=   r<   mplZ__version__r,   astZliteral_evalZstdoutr-   r.   r!   r/   r0   r1   r2   r   r3   )r4   r&   Ztmp_pathZfpZfileZprocZ
loaded_figs   &&&    r    test_pickle_load_from_subprocessrB      s    #7+	N	"Byy{{?	$G6#:#:; 
99;;; B%
 <S__
D c..t{{;<JZ779:j''00<<>?IIj3 
s   &E33F	c                  s   \         P                  ! R 4      p \        4       p\        P                  ! W\        P
                  4       \         P                  ! R4       \         P                  P                  P                  / 8X  g   Q h\        P                  ! VP                  4       4      p \         P                  P                  P                  / 8w  g   Q hV P                  4       R 8X  g   Q hR# )za labelZallN)r   r   r   r   r   r   r3   Z_pylab_helpersZGcfZfigsr,   Z	getbufferZ	get_label)r   Zbufr   r   test_gcfrC      s    
**Y
C
)C
KK&112IIe!!&&",,,
,,s}}
'C!!&&",,,==?i'''r   c                  s    ^ RI Hp  \        P                  ! 4       pV ! V4      pVP	                  ^^^4      pVP                  . RO. RO4       \        P                  ! V\        4       \        P                  4       R# )r    )FigureCanvasPdfN)         )
Zmatplotlib.backends.backend_pdfrD   mfigureFigureadd_subplotr   r   r   r   r   )rD   r   Z_r          r   test_no_pyplotrL      sS    ?
..
CA	Aq	!BGGIy!
KKWY 7 78r   c                  sd    ^ RI Hp  V ! ^
^^4      p\        P                  ! V\	        4       4       R# )r    )RendererAggN)matplotlib.backends.backend_aggrM   r   r   r   )rM   r1   r   r   test_rendererrO      s#    ;2r2&H
KK')$r   c                  sP   ^ RI Hp  V ! R4      pVP                  P                  pVP	                  ^^^4      pVP                  \        P                  ! ^4      P                  ^^4      4       VP                  P                  4        \        P                  ! V\        4       4       R# )r    )new_figure_manageri  N)rN   rP   r-   r   rJ   r#   r   r   r"   r.   r   r   r   )rP   Zmanagerr   r   rK   r   
test_imagerQ      st     C &G
..

C	Aq	!BIIbiim##Aq)*NN
KKWYr   c                  s    \         P                  ! R R7       \         P                  ! 4       p \        P                  ! V 4      p\        P
                  ! V4       \         P                  ! 4        R# )T)r
   N)r   r   Zgcfr   r*   r,   r.   )r   pfr   r   
test_polarrS      s<    KKd
'')C	c	B
LLHHJr   c                   s&   a  ] tR t^t o R tRtV tR# )TransformBlobc                sx   \         P                  ! 4       V n        \         P                  ! 4       V n        \         P                  ! V P                  V P                  4      V n        \         P                  ! V P
                  4      V n        \         P                  ! V P                  V P                  4      V n        R # N)	mtransformsZIdentityTransformidentity	identity2ZCompositeGenericTransform	compositeZTransformWrapperwrapper
composite2)Zself   &r   __init__ZTransformBlob.__init__   sz    #557$668$>>MMNN #33DNNC%??LLMMr   )rY   r[   rW   rX   rZ   N)Z__name__Z
__module__Z__qualname__Z__firstlineno__r]   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   rT   rT      s      r   rT   c                  s$   \        4       p \        P                  ! V 4      p? \        P                  ! V4      p V P                  P
                  V P                  8X  g   Q hV P                  P                  P                  4        Uu. uF	  q"! 4       NK  	  upV P                  .8X  g   Q hV P                  P                  V P                  P                  8X  g   Q hV P                  P                  V P                  P                  8X  g   Q hR # u upi rU   )rT   r   r*   r,   rZ   Z_childrY   Z_parentsvaluesr[   Z
input_dimsZoutput_dims)ZobjrR   r(         r   test_transformr`      s    
/C	c	B
,,r
C;;...--44676AAC67CNN;KKKK;;!!S]]%=%====;;""cmm&?&???? 8s   Dc                  s    \        ^4      p  \        P                  ! \        P                  ! V 4      4       R#   \         d    \        R4       h i ; i)rF   z!rrulewrapper pickling test failedN)r   r   r,   r*   ZRecursionErrorr;   )Zr    r   test_rrulewrapperrb      s?    QAV\\!_% 12s	   *9 Ac                  s$   \         P                  ! ^RR7      w  r\        P                  ! \        P                  ! V 4      4      p V P
                  ^ ,          P                  ^
^4       V P
                  ^,          P                  4       R8X  g   Q hR# )rF   T)ZsharexN)r    i   )r   r%   r   r,   r*   r   r$   Zget_xlim)r   Zaxsr   r   test_sharedrc     sb    ||Ad+HC
,,v||C(
)CHHQKR 88A;!X---r   c                  s   \         P                  ! 4       w  rVP                  . RO4       VP                  R\        P
                  \        P                  3R7       \        P                  ! \        P                  ! V 4      4       R# )皙?Ztop)Z	functionsN)rd   rd   333333?re   )
r   r%   Z
inset_axesZsecondary_xaxisr   ZsquareZsqrtr   r,   r*   r   r   r   test_inset_and_secondaryrf     sQ    llnGCMM"#uBGG(<=
LLc"#r   cmapc                 s2    \         P                  ! V 4       R # rU   )r   r*   )rg   r\   r   	test_cmaprh     s    
LLr   c                  s    \         P                  ! 4       p V P                  f   Q h\        4       p\        P
                  ! W4       VP                  ^ 4       \        P                  ! V4      pVP                  f   Q hR # rU   )rH   rI   r-   r   r   r   Zseekr:   )r   ZoutZfig2r_   r   test_unpickle_canvasri     sZ    
..
C::!!!
)C
KKHHQK;;sD;;"""r   c                  s    \         P                  ! . RO4      p \        P                  ! V 4       \	        \
        P                  ! \
        P                  ! V 4      4      4      \         P                  8X  g   Q hR# )r    N)r    r    rE   rE   )	r	   Z	host_axesr   Zmake_axes_area_auto_adjustabletyper   r,   r*   ZHostAxesr   ra   r   test_mpl_toolkitsrl   "  sK    		 	 	.B//3V\\"-./=3I3IIIIr   c                  s    \        \        P                  ! \        P                  ! \        P
                  P                  4       4      4      4      \        P
                  P                  8X  g   Q hR # rU   )rj   r   r,   r*   r@   colorsZLogNorm r   r   test_standard_normro   (  sE    V\\#***<*<*>?@A::  r   c                  s6   \         P                  P                  \         P                  P                  \         P                  P
                  4      ! 4       p \        \        P                  ! \        P                  ! V 4      4      4      \        V 4      8X  g   Q hR # rU   )
r@   rm   Zmake_norm_from_scaleZscaleZ
LogitScaleZ	Normalizerj   r   r,   r*   )Zlogit_norm_instancera   r   test_dynamic_normrp   -  sh    **99		cjj224 6V\\*=>?@#$% % %r   c                  s    \         P                  ! ^ ^.RR7      w  p \        P                  ! \        P                  ! \        V 4      4      4       R# )r    T)ZpickerN)r   r   r   r,   r*   r   )Zlinera   r   test_vertexselectorrq   4  s2    HHaVD)ED
LLnT234r   c                  sF   \         P                  ! 4       P                  4       p V P                  . ROR7       V P	                  ^^.4       \
        P                  ! \
        P                  ! V 4      4      p V P	                  ^^.4      w  pVP                  4       R8X  g   Q hR# )cm)rr   N)rr   rs   r'   Zk)	r   r   rJ   Zset_prop_cycler   r   r,   r*   Z	get_color)r   Zlr   r   test_cyclerrt   9  su    		!	!	#B,-GGQFO	fll2&	'B	!QBA;;=Cr   c                  s    \         P                  ! 4       P                  4       p \        P                  ! \
        P                  P                  V R 4      4       R# )ZbuttonN)r   r   rJ   r   r*   r@   ZwidgetsZButtonrk   ra   r   _test_axeswidget_interactiveru   D  s3    		!	!	#B
LL##B12r   ZTF_BUILDZGITHUB_ACTIONZdarwin:NrF   Nz%Tk version mismatch on Azure macOS CI)Zreasonc                  sR    \        \        \        4       '       d   ^xM^RR/R7       R# )ix   r>   Ztkaggr?   N)r   ru   r   rn   r   r   test_axeswidget_interactiverv   I  s$     $(**)r   )rG   i   )DZior   rA   r7   Zsysr   r+   Znumpyr   ZpytestZ
matplotlibr@   r   Zmatplotlib.testingr   r   Zmatplotlib.testing.decoratorsr   Zmatplotlib.datesr   Zmatplotlib.linesr   Zmatplotlib.pyplotZpyplotr   Zmatplotlib.transformsZ
transformsrV   Zmatplotlib.figurer   rH   Zmpl_toolkits.axes_grid1r   r	   r   r)   ZstyleZcontextr5   r=   rB   rC   rL   rO   rQ   rS   rT   r`   rb   rc   rf   ZmarkZparametrizeZ
_colormapsr^   rh   ri   rl   ro   rp   rq   rt   ru   Zxfailr8   ZplatformZversion_inforv   rn   r   r   <module>rw      s    
 	 
       G = ) +  + # ?965p 9( ) $	" 9( ) D(9%	   @.$ !5!5!78 9#J
%5
 3
 	rzz	!	B	B_

%B 	D 	D 	D 	D%(%5%5b%9G%C6  

r   