+
    i                        ^ RI t ^ RI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 ]! R.RR7      R	 4       t]! R
.RR] P&                  ! 4       R8X  d   ^ MRR7      R 4       t]! R.] P&                  ! 4       R8X  d   ^ MRR7      R 4       t]! R.4      R 4       tR tR t]! R.RRR7      R 4       t]! R.RR.RR7      R  4       t]! R!.RR7      R" 4       tR# tR# )$    N)image_comparison)Path)RendererBase)PathEffectRendererpatheffect1T)remove_textc                     \         P                  ! 4       p V P                  ^^.^^..4       V P                  RRR\	        RR^R7      ^R\
        P                  ! ^RR7      .R7      pVP                  P                  \
        P                  ! ^RR7      \
        P                  ! 4       .4       \
        P                  ! ^RR7      .pV P                  R	R
VR7       R# )   testz->angle3)
arrowstyleconnectionstylelwcenterw	linewidth
foreground)
arrowpropssizehapath_effectsT-)	linestyler   N)      ?r   )        r   )pltsubplotimshowannotatedictr   
withStrokearrow_patchset_path_effectsStrokeNormalgrid)ax1txtpes      ځ/Users/tonyclaw/.openclaw/workspace/skills/math-calculator/venv/lib/python3.14/site-packages/matplotlib/tests/test_patheffects.pytest_patheffect1r,      s    
++-CJJAA 
,,vx"&$7?A#G8%1%<%<qHK&M %N	  OC OO$$l&9&9AEH'J&2&9&9&;&= > 
!
!A#
>	?BHHTSrH2    patheffect2mpl20x86_64gQ?)r   styletolc                     \         P                  ! 4       p \        P                  ! ^4      P	                  R4      pV P                  VRR7       V P                  VRR7      pVP                  \        P                  ! ^RR7      .R7       V P                  VRR	R
7      p\         P                  ! V\        P                  ! ^RR7      .R7       R# )   nearest)interpolationkcolorsr   r   r   z%2.0fT)fmtuse_clabeltextN)   r=   )r   r   nparangereshaper   contoursetr   r"   clabelsetp)ax2arrcntrclblss       r+   test_patheffect2rI       s     ++-C
))B-


'CJJs)J,;;s3;'DHH<22Q3OPHQJJtJ>EHHU'22Q>AC DEr-   patheffect3g~jt?)r2   c            
      ~   \         P                  ! . R#OR^R7      w  p V P                  \        P                  ! 4       \        P
                  ! 4       .4       \         P                  ! R\        P                  ! ^RR7      .R7       \         P                  ! V .R.RR	R
7      pVP                  P                  \        P                  ! 4       .4       \         P                  ! ^^RRRRRR/R7      p\        P                  ! RRR7      \        P                  ! R$RR7      .pVP                  V4       VP                  4       P                  V4       \        P                  ! R%RRR7      \        P                  ! RRRR7      .p\         P                  ! 4       P                  RRR^KRR R!7      pVP                  V4       R"# )&r
   zo-b)r   ztesting$^{123}$rr   r:   z
Line 1$^2$Tz
upper left)fancyboxlocz	Drop testwhiteboxstylezcircle,pad=0.1colorred)rQ   bboxg      @r7   blue)shadow_rgbFacexxxxgray)offsethatch	facecolorblackg?)	edgecolorrZ   r   g{Gz?g?zHatch shadowi  r   )fontsizeweightvaN)r
      r=      r`   )   )ra   )r   plotr$   r   SimpleLineShadowr&   titler"   legendlegendPatchwithSimplePatchShadowtextr%   get_bbox_patchPathPatchEffectgcf)p1legrk   r*   ts        r+   test_patheffect3rr   0   su    ((?Ea
0CB668%,,.0 1II"--cJKM **bTM?T|
LCOO$$l&H&H&J%KL88Aq+W$&6GID



=

,
,WV
L
NB"**2.

&
&gV179

&
&G*-/
0B
 		tS.2d" 	 	$Arr-   zstroked_text.pngc                     . ROp ^2p\         P                  ! R4      p\        V 4       Fs  w  r4VP                  RRVR,          ,
          VRRRRRVR	R
/R7      pVP	                  \
        P                  ! V^
,          RR7      \
        P                  ! 4       .4       Ku  	  VP                  ^ ^4       VP                  ^ ^4       VP                  R4       R# )A B C D E F G H I J K Lg{Gz?g?gp=
ף?r   leftr_   r   r   rQ   rO   )xysfontdictr[   r   offN)rt   zM N O P Q R S T U V WzX Y Z a b c d e f g h i jzk l m n o p q r s t u vzw x y z 0123456789z!@#$%^&*()-=_+[]\;'z,./{}|:"<>?)r   r   r
   r
   )r   axes	enumeraterk   r$   r   r%   r&   set_xlimset_ylimaxis)text_chunks	font_sizeaxichunkrk   s         r+   test_patheffects_stroked_textr   M   s    K I	,	Bk*ww#D.U!%vtX!'GW!F  G 	|22Y^>E G+2246 	7 + KK1KK1GGENr-   c                     \         P                  ! ^R7      p \         P                  ! \        ^
4      4      w  pVP	                  \
        P                  ! 4       \
        P                  ! 4       .4       V P                  P                  4       p\
        P                  ! VP                  4       V4      pVP                  ^4      VP                  ^4      8X  g   Q hR# )   )dpiN)r   figurere   ranger$   r   rf   r&   canvasget_rendererr   get_path_effectspoints_to_pixels)figro   rendererpe_renderers       r+    test_PathEffect_points_to_pixelsr   i   s    
**
C
((59
CB668%,,.0 1zz&&(H11
x)K $$R(K,H,H,LLLLr-   c                  Z    \         P                  ! RR7      p V P                  R8X  g   Q hR# )ra   )rX   N)ra   r=   )r   SimplePatchShadow_offset)r*   s    r+   test_SimplePatchShadow_offsetr   v   s$    		'	'v	6B::r-   
collectiongQ?)r2   r1   c            	      Z   \         P                  ! \         P                  ! ^ ^
^4      \         P                  ! R^^d4      4      w  r\         P                  ! V 4      \         P                  ! V4      ,           p\
        P                  ! V4      pVP                  \        P                  ! RR^R7      \        P                  ! ^R7      .R7       \
        P                  ! VRR7       FB  pVP                  \        P                  ! R^R	7      .4       VP                  R
RRRRR/4       KD  	  R# )r   r[   none)r\   rZ   r   )r   r:   rO   r8   r7   )r   r   rP   sawtoothrZ   r\   rT   N)r>   meshgridlinspacesincosr   rA   rB   r   rm   r%   rC   r$   r"   set_bbox)rv   rw   datacsrk   s        r+   test_collectionr   {   s    ;;r{{1b#.B30GHDA66!9rvvay D	T	BFF$$w&TVWa(*F + 

2g.|66#AB D E 	Fz:{F"F, 	- /r-   tickedstrokepngg)\(?)r   
extensionsr2   c                     \         P                  ! ^^RR7      w  p w  rp\        P                  ! 4       p\        P
                  ! VR^\        P                  ! R^
^R7      .R7      pVP                  V4       VP                  R4       VP                  R^4       VP                  R^4       VP                  ^ ^.^ ^.R\        P                  ! ^^R7      .R7       ^ep\        P                  ! R	R
V4      pR\        P                  ! V^,          4      ,          R,           pVP                  WxR\        P                  ! 4       .R7       VP!                  4        ^ep^ip	\        P                  ! RRV4      p
\        P                  ! RRV	4      p\        P"                  ! W4      w  r^V,          V,           R,
          ) pV^V,          ,           ^,
          ) pRVR,          ,           V,
          pVP%                  WV^ .RR7      pVP'                  \        P                  ! ^R7      .R7       VP%                  WV^ .RR7      pVP'                  \        P                  ! ^<^R7      .R7       VP%                  WV^ .RR7      pVP'                  \        P                  ! ^R7      .R7       VP                  ^ ^4       VP                  ^ ^4       R# )r
   )figsizer   )anglespacinglength)rZ   r   r   equal )r   r   )labelr   r   r   g333333?g?gMbP?g      @g      @g?r8   )r   r:   )r   r   )r   N)   ra   irc   )r7   )rL   )b)r   subplotsr   unit_circlepatches	PathPatchr   withTickedStroke	add_patchr   r}   r~   re   r>   r   r   rh   r   rA   rB   )r   r(   rE   ax3pathpatchnxrv   rw   nyxvecyvecx1x2g1g2g3cg1cg2cg3s                       r+   test_tickedstroker      sb    <<1g>C#CDdf%%C-.	0J1 2E MM%HHWLLQLLQHHaVaV3'88?BD E  F 
B
Cb!AbffQUmc!AHHQL,I,I,K+LHMJJL	B	B ;;uc2&D;;uc2&D [[$FB r6B;	BB;?	B	bBh	B
++bb1#f+
5CGG,77cBCGD
++bb1#f+
5CGG,77bKLGM
++bb1#f+
5CGG,77BCGDLLALLAr-   zspaces_and_newlines.pngc            
      4   \         P                  ! 4       p R pRpV P                  RRVRR^RR/R7      pV P                  RRVRR^RR	/R7      pVP                  \        P
                  ! 4       .4       VP                  \        P
                  ! 4       .4       R
# )z	         z
Newline also causes problemsg      ?g      ?r   rQ   salmon)r   r_   r   rS   g      ?thistleN)r   r   rk   r$   r   r&   )r   s1s2text1text2s        r+   $test_patheffects_spaces_and_newlinesr      s    	B	B	)BGGCrh8"!8,  .EGGCrh8"!9-  /E	L//123	L//123r-   c                       ! R  R\         4      p \        \        P                  ! 4       .V ! 4       4      pVP	                  R4      R8X  g   Q hVP                  R4      R8X  g   Q hR# )c                   B   a a ] tR t^t oV 3R ltRR ltR tRtVtV ;t	# )Ltest_patheffects_overridden_methods_open_close_group.<locals>.CustomRendererc                $   < \         SV `  4        R # N)super__init__)self	__class__s   &r+   r   Utest_patheffects_overridden_methods_open_close_group.<locals>.CustomRenderer.__init__   s    Gr-   c                    R # )open_group overridden )r   rx   gids   &&&r+   
open_groupWtest_patheffects_overridden_methods_open_close_group.<locals>.CustomRenderer.open_group   s    *r-   c                    R # )close_group overriddenr   )r   rx   s   &&r+   close_groupXtest_patheffects_overridden_methods_open_close_group.<locals>.CustomRenderer.close_group   s    +r-   r   r   )
__name__
__module____qualname____firstlineno__r   r   r   __static_attributes____classdictcell____classcell__)r   __classdict__s   @@r+   CustomRendererr      s     		+	, 	,r-   r   rx   r   r   N)r   r   r   r&   r   r   )r   r   s     r+   4test_patheffects_overridden_methods_open_close_groupr      s_    , , "<#6#6#8"9>;KLHs#'>>>>$(@@@@r-   )platformnumpyr>   matplotlib.testing.decoratorsr   matplotlib.pyplotpyplotr   matplotlib.patheffectspatheffectsr   matplotlib.pathr   matplotlib.patchesr   matplotlib.backend_basesr   r   r,   machinerI   rr   r   r   r   r   r   r   r   r   r-   r+   <module>r      s@     :  -   $ 1 5 =/t43 53" =/t7#++-9atEEEE =/#++-9auFF6 %&' (6
M 
 <.d':- ;- >"%//d ,-4@	4 A	4Ar-   