+
     ]i  c                   sp    ^ RI Ht ^ RIHt ^ RIt^ RIHt ^ RIHtH	t
 ]! R.RR7      R	 4       tR
 tR tR# )    )BytesIO)PathN)image_comparison)cmpyplotzpngsuite.pngg{Gz?)Ztolc                  sT   \        \        \        4      P                  R ,          P	                  R4      4      p \
        P                  ! \        V 4      ^3R7       \        V 4       Fb  w  r\
        P                  ! V4      pRpVP                  ^8X  d   \        P                  p\
        P                  ! W1V^,           ^ ^3VRR7       Kd  	  \
        P                  ! 4       P                  P!                  R4       \
        P                  ! 4       P#                  ^ \        V 4      4       R# )zbaseline_images/pngsuitez	basn*.png)ZfigsizeNdata)ZextentcmapZinterpolation_stagez#ddffff)Zsortedr   Z__file__ZparentZglobpltZfigureZlenZ	enumerateimreadZndimr   ZgrayZimshowZgcaZpatchZset_facecolorZset_xlim)ZfilesZiZfnamer   r   s        @/usr/lib64/python3.14/site-packages/matplotlib/tests/test_png.pytest_pngsuiter   
   s    	h		!;	;AA+NPE JJE
A'e$zz% 99>77D 	

4AE1a 0t'-	/ % GGIOO!!),GGIq#e*%    c                 s   V R ,          pV R,          p\         P                  ! V4       \        VR4      ;_uu_ 4       pVP                  4       pRRR4       \        VR4      ;_uu_ 4       pVP	                  XR,          4       RRR4       \
        P                  ! \        4      ;_uu_ 4        \         P                  ! V4       RRR4       R#   + '       g   i     L; i  + '       g   i     Lf; i  + '       g   i     R# ; i)ztest.pngztest_truncated.pngZrbNZwb:Ni   N)	r   savefigZopenreadZwritepytestraises	Exceptionr	   )Ztmp_pathZpathZpath_tZfinZbufZfouts   &     r
   test_truncated_filer       s    j D,,FKK	dD		Shhj 
	fd		t

3s8 
 
y	!	!

6 
"	! 
			 
"	!	!s#   C*C!-C4C	!C1	4D	c                  sh   \        4       p \        P                  ! V 4       V P                  ^ 4       \        V P	                  ^4      4      pVP                  ^ 4       \
        P                  ! \        4      ;_uu_ 4        \        P                  ! V4       RRR4       R#   + '       g   i     R# ; i)r    N)	r   r   r   Zseekr   r   r   r   r	   )ZbZb2s     r
   test_truncated_bufferr   -   se    	AKKNFF1I		BGGAJ	y	!	!

2 
"	!	!	!s   ?B  B1	)Zior   Zpathlibr   r   Zmatplotlib.testing.decoratorsr   Z
matplotlibr   r   r   r   r   r   ) r   r
   <module>r      s<       : ( >"-& .&*
r   