+
    i                     p    ^ 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?)tolc                  T   \        \        \        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)figsizeNdata)extentcmapinterpolation_stagez#ddffff)sortedr   __file__parentglobpltfigurelen	enumerateimreadndimr   grayimshowgcapatchset_facecolorset_xlim)filesifnamer   r   s        y/Users/tonyclaw/.openclaw/workspace/skills/math-calculator/venv/lib/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                    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.pngrbNwb:N   N)	r   savefigopenreadwritepytestraises	Exceptionr   )tmp_pathpathpath_tfinbuffouts   &     r"   test_truncated_filer6       s    j D,,FKK	dD		Shhj 
	fd		t

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

6 
"	! 
			 
"	!	!s#   C*C!-C4C	!C1	4D	c                  h   \        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)   seekr+   r-   r.   r/   r   )bb2s     r"   test_truncated_bufferr;   -   se    	AKKNFF1I		BGGAJ	y	!	!

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