+
     ]iI  c                   sj   ^ RI H t  ^ RIt^ RIt^ RIt^ RIHt ^ RIHt	 ^ RI
t
^ 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IHt  ^ R
I!H"t"H#t# ^ RI$H%t% ^ RI&H't'H(t(H)t) ]	! ]
PT                  4      t+]#! R.4      R 4       t,]#! R.4      R 4       t-]#! R.RR7      R 4       t.]#! R.RR7      R 4       t/R t0]#! R.4      R 4       t1R t2]Pf                  Pi                  R]5]6R3]5^ ^ .R3]7RR3]7R R!3]7R"R#3]7R$R%334      R& 4       t8]#! R'.4      R( 4       t9]#! R).RR7      R* 4       t:]#! R+.4      R, 4       t;R- t<R. t=]Pf                  Pi                  R/R0R1.R2R3.R47      R5 4       t>R6 t?R7 t@R8 tAR9 tBR: tCR; tD]Pf                  Pi                  R<. RO4      ]Pf                  Pi                  R=. RO4      R> 4       4       tE]#! R?.4      R@ 4       tF]#! RA.4      RB 4       tG]#! RC.4      RD 4       tHRE tI]#! RF.4      RG 4       tJRH tK]#! RI.4      RJ 4       tL]Pf                  Pi                  RK. RO4      RL 4       tMRM tNRN tORO tP]%RP 4       tQ]%RQ 4       tR]Pf                  Pi                  RR. RO4      RT 4       tS]#! RU.4      RV 4       tT]#! RW.4      RX 4       tURY tVRZ tW]"! RS.R[7      R\ 4       tX]#! R].RR7      R^ 4       tY]Pf                  Pi                  R_. RO4      R` 4       tZRa t[Rb t\Rc t]Rd t^]"! RS.R[7      Re 4       t_Rf t`Rg taRh tb]Pf                  Pi                  RiRj^Z..4      Rk 4       tcRl td]#! Rm.RR7      Rn 4       teRo tf]Pf                  P                  ]+P                  R8H  RpRq7      Rr 4       ti]Pf                  P                  ]+P                  R8H  RpRq7      Rs 4       tj]#! Rt.RR7      Ru 4       tk]#! Rv.RR7      Rw 4       tl]%Rx 4       tmRy tnRz toR{ tp]"! RS.R[7      R| 4       tq]"! 4       R} 4       tr]"! 4       R~ 4       tsR ttR tuR tvR tw]#! R.RS.R7      R 4       tx]#! R.RS.R7      R 4       tyR# )    )datetimeN)assert_almost_equal)parse)
MouseEvent)RendererAgg)Figure)FontProperties)GridSpec)check_figures_equalimage_comparison)needs_usetex)Text
Annotation
OffsetFromZfont_stylesc            	      s  a	a
 V	V
3R  lp ^ RI Ho	Ho
 \        P                  ! RR\
        RR7       \        P                  ! 4       w  rV ! RRR^R7      pVP                  R	RR
VR7      pVP                  4       R8X  g   Q hVP                  4       R8X  g   Q hVP                  4       R8X  g   Q hVP                  4       R8X  g   Q hVP                  4       R8X  g   Q hV ! RRRRR^R7      pVP                  RRR
VR7       V ! RRRRR^R7      pVP                  RRR
VR7       V ! RRR^R^R7      pVP                  RRR
VR7       V ! RRRR^d^R7      pVP                  RRR
VR7       VP                  . 4       VP                  . 4       R# )c                  s`   < S! R/ V B pS! V\         P                  ! 4       R 7      pS! VR7      # ))Z	directory)Zfname )mplZget_data_path)kwZpropZpathr   findfonts   ,  A/usr/lib64/python3.14/site-packages/matplotlib/tests/test_text.pyfind_matplotlib_fontZ.test_font_styles.<locals>.find_matplotlib_font   s0    ##(9(9(;<D))    )r   r   Zignorez>findfont: Font family \[u?'Foo'\] not found. Falling back to .zmatplotlib.font_manager)Zmodulez
sans-serifZnormal)familystylevariantsizezNormal Fontaxes fraction)xycoordsfontpropertieszDejaVu SansZFooboldi  )r   r   r   weightZstretchr   z	Bold Font
sans serifitalici  zBold Italic Fontz
Light FontzCondensed FontN)皙?r!   )r!   皙?)r!   333333?)r!   皙?)r!         ?)matplotlib.font_managerr   r   warningsZfilterwarningsUserWarningpltsubplotsannotateget_fontnameZget_fontstyleZget_fontvariantZ
get_weightZget_stretch
set_xticks
set_yticks)r   figaxZnormal_fontaZ	bold_fontZbold_italic_fontZ
light_fontZcondensed_fontr   r   s            @@r   test_font_stylesr2      s   *
 AI(	* llnGC&	K
 	 "	 	 	$A
 >>},,,??((((***<<>X%%%==?h&&&$I KK  	  " , KK '	  ) &J KK !	  # *N KK %	  ' MM"MM"r   Z	multilinec            	      s   \         P                  ! 4        \         P                  ! ^^^4      p V P                  R4       \         P                  ! RRR^RRR7       \         P                  ! RRR^RRR7       \         P                  ! R	RR
^RRR7       \         P
                  ! ^ ^4       \         P                  ! ^ R	4       V P                  . 4       V P                  . 4       R# )   zmultiline
text alignmentr"   r%   zTpTpTp
$M$
TpTpTpcentertop)r   havazTpTpTp
$M^{M^{M^{M}}}$
TpTpTpg?zTpTpTp
$M_{q_{q_{q}}}$
TpTpTpN)	r)   figuresubplot	set_titletextZxlimZylimr-   r.   r0       r   test_multiliner>   t   s    JJL	Q1	BLL,-HHS'bX%I HHS3" HHS3" HHQNHHQMM"MM"r   Z
multiline2Zmpl20)r   c            
      s6  a ^\         P                  R&   \         P                  ! 4       w  rVP                  ^ R.4       VP	                  ^ ^.4       VP                  RRRR7       . ROpV P                  P                  4       oV3R lpRp\        V4       F0  w  rVVP                  R	V,          R
,           RWdRR7      pV! W4       K2  	  VP                  RRRRR7       VP                  RRRR7       \        V4       F0  w  rVVP                  R	V,          R
,           RWdRR7      pV! W4       K2  	  VP                  RRRRR7       VP                  RRRR7       \        V4       F0  w  rVVP                  R	V,          R
,           RWdRR7      pV! W4       K2  	  VP                  RRRRR7       VP                  R
RRR7       \        V4       F1  w  rVVP                  R	V,          R
,           R
WdR^R7      pV! W4       K3  	  VP                  RR
RRR7       R# )   text.kerning_factorgffffff?r%   ZC2r#   )colorZ	linewidthc                 s  < \         P                  ! R^^RV P                  R7      pVP                  VP	                  S4      P                  V P                  P                  4       4      P                  4       V P                  V4       R# )r    F)clip_on	transformNr    r    )	mpatchesZ	Rectangle	transAxesZ
set_boundsget_window_extentZtransformedZinvertedZboundsZ	add_patch)r0   ttrrenderers   && r   draw_boxZ!test_multiline2.<locals>.draw_box   se    vq!U)+7	  *[..01V	 	Qr   leftr"   r!   bottom)horizontalalignmentverticalalignmentg333333?zBottom alignrA   g?r5   z	Top aligng?baselinezBaseline align)rN   rO   rotationzBot align, rot20N)ZLinez2 Lineg
 2 Lgz$\sum_i x $zhi $\sum_i x $
testztest
 $\sum_i x $z$\sum_i x $
 $\sum_i x $)
r)   rcParamsr*   set_xlimset_ylimZaxhlinecanvasget_renderer	enumerater;   )	r/   r0   ZstsrK   ZhoralZnnZstrH   rJ   s	           @r   test_multiline2rY      s    +,CLL&'llnGCKKCKKAJJs$#J.ACzz&&(H EC.WWS2X^S"'/  1 ! GGCnDG1JJs$#J.C.WWS2X^S"',  . ! GGCkG.JJs$#J.C.WWS2X^S"'1  3 ! GGC&dG3JJs$#J.C.WWS2X^S"'/"  > ! GGC(G5r   zantialiased.pngc            	      s^   R \         P                  R&   \        P                  ! RR7      p V P	                  RRRRRRR7       V P	                  RR	R
RRRR7       R\         P                  R&   V P	                  RRRRRR R7       V P	                  RR	R
RRR R7       R \         P                  R&   R# )Ftext.antialiased      ?figsizer#   antialiasedr4   T)rN   rO   r^         ?z
$\sqrt{x}$ffffff?znot antialiasedN)g      @r[   )r   rS   r)   r8   r;   r/   r=   r   test_antialiasingrb      s    ',CLL#$
**\
*CHHS$8'T  ;HHS$8'T  ; (,CLL#$HHS$)x'U  <HHS$8'U  < (-CLL#$r   c                  s   \         P                  P                  R RR7      p \        V R4      ;_uu_ 4       p\         P                  P                  V4      pRRR4       XP                  R4      R8X  g   Q hR#   + '       g   i     L*; i)Z	Helveticaafm)ZfontextZrbNZVAVAVAVAVAVA)g     @i  )r   font_managerr   ZopenZ_afmZAFMZstring_width_height)ZfnZfhrc         r   test_afm_kerningrf      sb    				"	";	"	>B	b$2hhll2 
"">2mCCC 
s    A88B	ztext_contains.pngc            	      s$   \         P                  ! 4       p \         P                  ! 4       p\        R V P                  RR^R4      p\
        P                  ! RR^4      p\
        P                  ! RR^4      p\
        P                  ! W44      w  r4\         P                  ! RRRR^^R7      pV P                  P                  4        \        VP                  VP                  4       F  w  rg\         P                  ! 4       P                  P                  Wg.4      w  Vn        Vn        VP#                  V4      w  rV'       d   R	MR
p
VP$                  P'                  4       pVP)                  WgRV
R7       VP$                  P+                  V4       K  	  R# )button_press_eventr%   Nr_   r[   r$   zhello worldr4   )r6   fontsizerR   ZyellowZredorP   )r)   r8   Zaxesr   rV   npZlinspaceZmeshgridr;   drawzipZflatgcarF   rC   xycontainsZviewLimZfrozenplotset)r/   r0   ZmeventZxsystxtrn   ro   rp   _rA   Zvls               r   test_containsrv      s"   
**,C	B,cjj#sAtLF	T4	$B	T4	$B[[ FB
((S-HrBHC JJOOBGGRWW% WWY00::A6B&(ll6*$% ZZ 
c'


r &r   c                  s,   \         P                  ! 4       w  rVP                  R RRRR/R7      pV P                  P	                  4        \        RV P                  .VP                  P                  R	4      O5!  pVP                  V4      R/ 38X  g   Q hR# )
ZhelloZ
arrowstylez->)xyxytext
arrowpropsrg   FN)r$   r$   )333333?rz   )r%   rz   )	r)   r*   r+   rV   rk   r   Z	transDatarC   rp   )r/   r0   annZevent       r   test_annotation_containsr}      s     llnGC
++HX<:N  PCJJOOcjjM+-<<+A+A(+KME<<5"+---r   zerr, xycoords, matchz<xycoords callable must return a BboxBase or Transform, not az,'xycoords' must be an instance of str, tuplefooz'foo' is not a valid coordinatezfoo barz#'foo bar' is not a valid coordinatez
offset fooz'xycoords cannot be an offset coordinatezaxes fooz'foo' is not a recognized unitc           	      s
   \         P                  ! 4       w  r4\        P                  ! WR 7      ;_uu_ 4        VP	                  RRRVR7       VP
                  P                  4        RRR4       R#   + '       g   i     R# ; i)matchrw   )rx   r   NrD   r%   r%   )r)   r*   pytestraisesr+   rV   rk   )Zerrr   r   r/   r0   s   &&&  r   test_annotate_errorsr     sQ     llnGC	s	(	(
D&hG

 
)	(	(	(s   0A11B	Ztitlesc                  s    \         P                  ! 4        \         P                  ! ^^^4      p V P                  RRR7       V P                  RRR7       V P	                  . 4       V P                  . 4       R# )r3   z
left titlerL   loczright titlerightN)r)   r8   r9   r:   r-   r.   r<   r=   r   test_titlesr     sW     JJL	Q1	BLL6L*LLGL,MM"MM"r   Ztext_alignmentc                  s   \         P                  ! 4        \         P                  ! ^^^4      p RpR FS  pR FJ  pV P                  VRVR,           W2\	        RRRR7      R7       V P                  VRR	W2R
7       VR,          pKL  	  KU  	  V P                  ^ ^.RR.4       V P                  ^ ^.RR.4       V P                  ^ ^4       V P                  ^ R4       V P                  . 4       V P                  . 4       R# )r3   r!   r%   z TjZroundZwheat)boxstyle	facecoloralpha)r7   rR   bboxg      ?z$\sum_{i=0}^{j}$)r7   rR   g      ?N)r       )r5   rM   rQ   r4   )
r)   r8   r9   r;   dictrq   rT   rU   r-   r.   )r0   rn   rR   Z	alignmentr|   r   test_alignmentr     s    JJL	Q1	BA@IGG3	E)i7gSI  K GG3+	  NHA A  GGQFS#JGGQFS#JKK1KK3MM"MM"r   zaxes_titles.pngc                  s    \         P                  ! 4        \         P                  ! ^^^4      p V P                  RR^RR7       V P                  RR^RR7       V P                  RR^RR7       R# )r3   r4   i  )r   rh   Z
fontweightrL   i  r   N)r)   r8   r9   r:   r<   r=   r   test_axes_titlesr   7  s[     JJL	Q1	BLLx"LELLVbSLALLgsLCr   c                  s   \         P                  ! 4       w  rVP                  R RRRR7      pV P                  P	                  4        VP                  V P                  P                  4      p^pVP                  WD34       V P                  P	                  4        VP                  V P                  P                  4      p\        VP                  VP                  4       F  w  rgWd,           V8X  d   K  Q h	  VP                  R RRRR7      pV P                  P	                  4        VP                  V P                  P                  4      p^pWD3Vn
        V P                  P	                  4        VP                  V P                  P                  4      p\        VP                  VP                  4       F  w  rgWd,           V8X  d   K  Q h	  R# )testfigure pixels)rx   
textcoordsNrD   )r)   r*   r+   rV   rk   rG   rJ   Zset_positionrl   ZminZxyann)r/   r0   r{   Zinit_posZ	shift_valZpost_posr1   Zb           r   test_set_positionr   A  sh   llnGC ++v/  CCJJOO$$SZZ%8%89HIi+,JJOO$$SZZ%8%89HHLL(,,/}!!! 0 ++v/  CCJJOO$$SZZ%8%89HI&CIJJOO$$SZZ%8%89HHLL(,,/}!!! 0r   c                  s(   \         P                  ! 4       p V P                  R RR4      pVP                  R4       VP	                  4       pVP
                  VP                  ,
          pVP                  R4       VP	                  4       pVP
                  VP                  ,
          pVP                  R4       VP	                  4       pVP                  pVP                  WS,
          4      ^ 8X  g   Q hVP                  V4      ^ 8X  g   Q hVP                  VRV,          ,           4      ^ 8X  g   Q hVP                  VRV,          ,           4      ^8X  g   Q hVP                  WS^,          ,           4      ^8X  g   Q hVP                  WS^,          ,           V^,          ,           4      ^8X  g   Q hVP                  WS^,          ,           V^,          ,           4      ^8X  g   Q hVP                  WS^,          ,           V^
,          ,           4      ^8X  g   Q hR# )	r!   ? iZmZiiiimmmmgV-?gx&1?N)r)   r8   r;   Zset_textrG   Zx1Zx0Z_char_index_at)r/   r;   r   Zsize_iZsize_mZorigin         r   test_char_index_atr   a  s   
**,C88Cb!DMM#!!#DWWtwwFMM#!!#DWWtwwFMM*!!#DWWFv/1444v&!+++vf45:::vf45:::vq01Q666vq06!8;<AAAvq06!8;<AAAvq06"9<=BBBr   r;   r   ZOZemptyz	non-empty)Zidsc                 s   \         P                  ! 4       w  rVP                  R R V RRR7      pVP                  P	                  4        VP
                  pVP                  4       pVP                  V^
,          R7      p\        P                  P                  VP                  4       VP                  4       ^
,          RR7       VP
                  V8X  g   Q hR# )r%   rL   rM   )r6   r7   dpi皙?ZrtolN)r)   r*   r;   rV   rk   r   rG   rj   testingassert_allclose
get_points)r;   r/   r0   t1r   Zbbox1Zbbox2s   &      r   test_non_default_dpir   {  s    llnGC	c4Fx	8BJJOO
''C  "E  S2X .EJJu//153C3C3E3J$(  * 77c>>r   c                  s    \        R R7      P                  4       R8X  g   Q h\        RR7      P                  4       R8X  g   Q hR# )Z
horizontalrR           Zverticalg     V@Nr   get_rotationr   r   r   test_get_rotation_stringr     s:    &335;;;$113s:::r   c                  sZ    R F$  p \        V R7      P                  4       V 8X  d   K$  Q h	  R# )      .@r   N)r   g333330@gYS@r   r   r=   r   test_get_rotation_floatr     s(    Q,,.!333  r   c                  sl    R F-  p \        V R7      P                  4       \        V 4      8X  d   K-  Q h	  R# )C   r   N)r   i   i)   )r   r   Zfloatr   r=   r   test_get_rotation_intr     s,    Q,,.%(::: r   c                  s    \         P                  ! \        4      ;_uu_ 4        \        R R7       RRR4       R#   + '       g   i     R# ; i)Z
hozirontalr   Nr   r   
ValueErrorr   r   r   r   test_get_rotation_raisesr     s(    	z	"	"l# 
#	"	"	"s	   :A	c                  sH    \        R R7      P                  4       R8X  g   Q hR # )Nr   r   r   r   r   r   test_get_rotation_noner     s    ++-444r   c                  s    \        . RO. RO4       F)  w  r\        \        V R7      P                  4       V4       K+  	  R# )     v@r   N)r   g     w@g	@)r   g      1@gfffff&f@)rl   r   r   r   )r   Zj     r   test_get_rotation_mod360r     s/    +-=>D!,99;Q? ?r   r6   r7   c                 s   \         P                  ! 4       w  r#\        ^ WR7      pVP                  ! RRR/VB pVP                  ! RRR/VB pVP                  P                  4        \        VP                  VP                  P                  4      P                  4       VP                  VP                  P                  4      P                  4       4       R# )r    )rR   r7   r6   Zrotation_modeZanchorZdefaultN)r%   r%   r   )
r)   r*   r   r;   rV   rk   r   rG   rJ   r   )r6   r7   r/   r0   r   Zt0r   s   &&     r   %test_null_rotation_with_rotation_moder     s     llnGC	qR	'B		>x	>2	>B		?y	?B	?BJJOO,,SZZ-@-@ALLN,,SZZ-@-@ALLNPr   Ztext_bboxclipc                  s    \         P                  ! R RRRRR7       \         P                  ! R RRRR7      p V P                  R	R
/4       R# )r   r"   zIs bbox clipped?rI   T)ZbackgroundcolorrB   r%   zIs fancy bbox clipped?rB   r   zround, pad=0.1N)r)   r;   Zset_bbox)tr=   r   test_bbox_clippingr     s>    HHS#)3Mc3TBAJJ
,-.r   z!annotation_negative_ax_coords.pngc            
      s~   \         P                  ! 4       w  rVP                  R ^^.R^^.R^ R7       VP                  R^R.R^R.R^ RR7       VP                  RRR.R	RR.R	^ R7       VP                  R
RR.R	RR.R	^ RR7       VP                  R^^.R^^.R^ R7       VP                  R^R.R^R.R^ RR7       R# )+ ptszaxes pointsrx   r   rw   r   rh   - ptsr5   rx   r   rw   r   rh   r7   + fracr[   r   r   - frac+ pixelszaxes pixels- pixelsNi皙ir)   r*   r+   r/   r0   r   r   "test_annotation_negative_ax_coordsr     s   llnGCKKBxM8mb  B KKCy]9}r   KKd|$</B  H KKe}%=?R  
 KK
Ry]9}r  C KK
Szm:  r   z"annotation_negative_fig_coords.pngc            
      s~   \         P                  ! 4       w  rVP                  R ^
^x.R^
^x.R^ R7       VP                  RR^.RR^.R^ RR7       VP                  RRR.R	RR.R	^ R7       VP                  R
RR.R	RR.R	^ RR7       VP                  R^2^2.R^2^2.R^ R7       VP                  RR^d.RR^d.R^ RR7       R# )r   zfigure pointsr   r   r5   r   r   r   g?zfigure fractionr   r%   r   r   r   Nr   ir   r   r   r   #test_annotation_negative_fig_coordsr     s   llnGCKKCy_9  E KKSzo:"   KKd|0A$<*;b  J KKs|0A3<*;b  
 KK
BxO8o  D KK
Szo:"  r   c                  s   \         P                  ! ^^4      w  p w  r\         P                  ! 4        VP                  '       d   Q hVP                  '       d   Q hV P                  '       d   Q hVP	                  RRR4      pVP                  '       g   Q hVP                  '       g   Q hV P                  '       g   Q hVP                  RRR.R7      pVP                  '       g   Q hVP                  '       g   Q hV P                  '       g   Q h\         P                  ! 4        VP                  '       d   Q hVP                  '       d   Q hV P                  '       d   Q hR# )r3   r%   Zaardvarkrw   N)r)   r*   Zdraw_allZstaler;   r+   )r/   ax1ax2Ztxt1Zann1        r   test_text_staler     s    ll1a(OC#LLNyyy=yyy=yyy=88BJ'D9999::::9999<<
Bx<0D9999::::9999LLNyyy=yyy=yyy=yr   zagg_text_clip.pngc                  s   \         P                  P                  ^4       \        P                  ! ^4      w  p w  r\         P                  P                  ^
^4       F+  w  r4VP                  W4RRR7       VP                  W4R4       K-  	  R# )r3   r~   Tr   N)rj   ZrandomZseedr)   r*   Zrandr;   )r/   r   r   rn   ro   r   r   test_agg_text_clipr     s`    IINN1ll1oOC#		r1%ud+u &r   c                  s    ^
\         P                  R&   \         P                  P                  RR7      p V P	                  4       p^d\         P                  R&   WP	                  4       8X  g   Q hR# )
   z	font.sizeZlarger   N)r   rS   rd   r   Zget_size_in_points)ZfpZsz1r   r   test_text_size_bindingr     sZ     "CLL				(	(g	(	6B



!C #CLL''))))r   zfont_scaling.pdfc                  s   ^*\         P                  R&   \        P                  ! RR7      w  rVP                  P                  \        P                  ! 4       4       VP                  P                  \        P                  ! 4       4       VP                  R	R4       \        \        ^^+^4      4       F$  w  r#VP                  RV^,          V R2VR7       K&  	  R# )
*   pdf.fonttyper\   iX  r!   z pt font size)rh   N)g@g(@r   )r   rS   r)   r*   xaxisZset_major_locatorZNullLocatoryaxisrU   rX   ranger;   )r/   r0   r   Zfsr|   r   test_font_scalingr     s    #%CLL ll;/GCHHs01HHs01KKS5B?+
QrTbT/"= ,r   zspacing1, spacing2c                 s   R p\         P                  ! 4       pVP                  P                  4       pVP	                  RRW R7      pVP	                  RRW!R7      pVP                  P                  4        VP                  VR7      pVP                  VR7      pVP                  VP                  8X  g   Q hW8X  d    VP                  VP                  8X  g   Q hR# VP                  VP                  8w  g   Q hR# )zline1
line2r_   r%   ZlinespacingrJ   N)	r)   r8   rV   rW   r;   rk   rG   widthheight)	Zspacing1Zspacing2Ztext_stringr/   rJ   text1text2Zbox1Zbox2s	   &&       r   test_two_2line_textsr   )  s     K
**,Czz&&(HHHT3HBEHHT3HBEJJOO""H"5D""H"5D ::###{{dkk))){{dkk)))r   c            	      s    \         P                  ! \        4      ;_uu_ 4        \        P                  ! R RRRR7       RRR4       R#   + '       g   i     R# ; i)r_   r%   r~   Zabcr   N)r   r   	TypeErrorr)   r;   r   r   r   test_validate_linespacingr   >  s2    	y	!	!b%U3 
"	!	!	!   AA	c                  s    \         P                  ! 4       w  rVP                  ^ \        P                  R4       VP                  \        P
                  ^ R4       V P                  P                  4        R# )r    naninfN)r)   r*   r;   rj   r   r   rV   rk   r   r   r   test_nonfinite_posr   C  sE    llnGCGGArvvuGGBFFAuJJOOr   c                  s   ^\         P                  R&   \         P                  ! 4       p V P                  RRR4      pV P	                  \
        P                  ! 4       RR7       VP                  4       P                  pV P	                  \
        P                  ! 4       RR7       \        P                  P                  VP                  4       P                  VRR7       R	# )
r3   ztext.hinting_factorr%   z	some textsvgZformatpngr!   r   N)r)   rS   r8   r;   savefigioBytesIOrG   Z	intervalxrj   r   r   )r/   r   Zexpectedre   r   test_hinting_factor_backendsr   J  s    *+CLL&'
**,Cc;'AKK

UK+""$..HKK

UK+JJq224>>$'  )r   c                  s   \         P                  ! 4       p R \         P                  R&   V P                  ^y4      pR\         P                  R&   V P                  ^z4      pV P                  P                  4        VR 3VR33 FC  w  r4VP                  P                   F$  pVP                  P                  4       V8X  d   K$  Q h	  KE  	  R# )Ftext.usetexTN)
r)   r8   rS   add_subplotrV   rk   r   
majorTickslabel1Z
get_usetex)r/   r   r   r0   usetexr   r   r   test_usetex_is_copiedr   X  s     **,C"'CLL
//#
C"&CLL
//#
CJJOOU|c4[1
$$A88&&(F222 % 2r   c                  s    \         P                  ! 4       p V P                  R R RRR7       V P                  P	                  4        R# )r%   z	$\frac12$Tr   N)r)   r8   r;   rV   rk   ra   r=   r   test_single_artist_usetexr   g  s1    
 **,CHHR\$H/JJOOr   fmtr   c                 s    R \         P                  R&   \         P                  ! 4       pVP                  RRRRR7       VP	                  \
        P                  ! 4       V R7       R# )Tr   r%   Z2_2_2Fr   r   N)r)   rS   r8   r;   r   r   r   )r   r/      & r   test_single_artist_usenotexr   q  sG     #'CLL
**,CHHRWUH+KK

SK)r   ztext_as_path_opacity.svgc                  s   \         P                  ! 4        \         P                  ! 4       P                  4        \         P                  ! R R RR
R7       \         P                  ! R RRRR7       \         P                  ! R RRRRR7       R	# )r_   cr%   rP   r1   r   r[   rn   r   rA   Nr    r    r    r%   r    r    r    r3   )r)   r8   rm   set_axis_offr;   r   r   r   test_text_as_path_opacityr   }  sU    JJLGGIHHT4N3HHT33'HHT4C|<r   ztext_as_text_opacity.svgc                  s:   R \         P                  R&   \        P                  ! 4        \        P                  ! 4       P                  4        \        P                  ! RRRRR7       \        P                  ! RRRRR7       \        P                  ! RRR	RRR
7       R# )Znonezsvg.fonttyper_   z50% using `color`r%   rP   z50% using `alpha`r   r[   z"50% using `alpha` and 100% `color`r   Nr   r   )r   rS   r)   r8   rm   r   r;   r   r   r   test_text_as_text_opacityr     si    #)CLL JJLGGIHHT4,NCHHT3+37HHT4=S!r   c                  s    \         P                  ! R R.^^.4       \        \         P                  ! R .RR4      4       R# )ZAZBr%   ZBooN)r)   rq   Zreprr;   r   r   r   test_text_reprr     s/    HHc3Z!Q 3%e	$%r   c                  s   \         P                  ! ^^4      w  rVP                  RRR7      pVP                  V P                  P                  4       4      pV P                  4        VP                  V P                  P                  4       4      p\        P                  ! VP                  4       VP                  4       RR7      '       d   Q hR# )r3   
annotationr   gư>r   Nr   )
r)   r*   r+   rG   rV   rW   Ztight_layoutrj   Zallcloser   )r/   r0   ZanZextent1Zextent2r   r   test_annotation_updater     s    ll1a GC	\j	1B""3::#:#:#<=G""3::#:#:#<=G{{7--/1C1C1E $& & & & &r   )
extensionsc                 s   V P                  4       pVP                  \        P                  ! 4       ^R4       VP	                  R\        P                  ! 4       R3RR	RR7       VP                  4       pVP                  \        P                  ! 4       ^R4       VP	                  R\        P                  ! 4       R3RR7       R# )
r3   ri   rn   r%   offset points)r   rx   r   )r   N)datar   rD   )r   rq   r   Znowr+   fig_testfig_refr0      && r   test_annotation_unitsr    s    				BGGHLLNAs#KKhllnc*5N/  ; 
			BGGHLLNAs#KKhllnc*5NKOr   zlarge_subscript_title.pngc                  s   ^\         P                  R&   R\         P                  R&   \         P                  ! ^^RRR7      w  rV^ ,          pVP                  R4       VP                  RRR	7       VP	                  . 4       V^,          pVP                  RR
R7       VP                  RRR	7       VP	                  . 4       R# )r?   r@   Nzaxes.titleyT)r]   Zconstrained_layoutz$\sum_{i} x_i$zNew wayrL   r   g)\(?)ro   zOld Way)i	   g      @)r)   rS   r*   r:   Zset_xticklabels)r/   Zaxsr0   re   r   test_large_subscript_titler    s     +,CLL&'"&CLL||Aq(tLHC	QBLL"#LLL'r	QBLL"dL+LLL'rr   zx, rotation, halignc           	      s   \         P                  ! R	R7      p\        ^^VR7      pVP                  VR
,          4      pRpVP	                  V RVRWR7      pVP
                  P                  4        VP                  4       R8X  g   Q hR# )   r\   )ZnrowsZncolsr8   z?This is a very long text that should be wrapped multiple times.r`   T)wraprR   r6   z?This is a very long
text that should be
wrapped multiple
times.N)r	  r	  r3   r3   )r)   r8   r   Zadd_subfigurer;   rV   rk   _get_wrapped_text)rn   rR   Zhalignr/   ZgsZsubfigsr;   s   &&&     r   	test_wrapr    s     **X
&C	3	/Br$x(F 	JA;;q#qth;JDJJOO!!# )1 2 2 2r   c                  s    \         P                  ! RR7      p RpV P                  ^ RV^(RR7      pV P                  P	                  4        VP                  4       R8X  g   Q hR# )	r?   r\   z;This is a very $\overline{\mathrm{long}}$ line of Mathtext.r%   T)r   r
  z;This is a very $\overline{\mathrm{long}}$
line of Mathtext.Nr?   i   r)   r8   r;   rV   rk   r  )r/   r  r;   re   r   test_mathwrapr    s[    
**V
$CFA88AsABT82DJJOO!!# )< = = =r   c                  s   \         P                  ! RR7      p V P                  RRR7       V P                  P	                  4       p\         P                  ! RR7      pVP                  R4       VP                  P	                  4       pVP
                  VP
                  8X  g   Q hVP                  VP                  8X  g   Q hR# )   r\   z.suptitle that is clearly too long in this caseTr
  z.suptitle that is clearly
too long in this caseN)r  r  )r)   r8   ZsuptitleZ	_suptitlerG   Zy0Zy1)Zfig1Zwindow_extent_testZfig2Zwindow_extent_refr|   r   test_get_window_extent_wrappedr    s     ::f%DMMBMN99;::f%DMMCD88:  $5$8$8888  $5$8$8888r   c                  s    \         P                  ! RR7      p V P                  R^RRR7      pV P                  P	                  4        VP                  4       R8X  g   Q hR# )r?   r\   g      #@ZAlonglineoftexttowrapTr  Nr  r  r/   r;   r   r   test_long_word_wrapr    sM    
**V
$C88C3$8?DJJOO!!#'>>>>r   c                  s    \         P                  ! RR7      p V P                  ^ ^ RRR7      pV P                  P	                  4        VP                  4       R8X  g   Q hR# )r?   r\   znon wrapped textTr  Nr  r  r  r   r   test_wrap_no_wrapr    sM    
**V
$C88Aq,488DJJOO!!#'9999r   c                 sJ   V P                  4       pVP                  ^ ^.4       VP                  RR.4       VP                  P                  ^,          P
                  P                  R4       VP                  4       pVP                  ^ ^.4       VP                  RR.4       R# )r    u   €r1   Zwr   N)r   r.   Zset_yticklabelsr   r   r   Z	set_colorr  r  r   test_buffer_sizer    s    
 
			BMM1a&s|$HH!!++C0				BMM1a&r{#r   c                 s    \         P                  ! 4        \         P                  ! RRRR7      p \         P                  ! RRRR7      pV P	                  4       R8X  g   Q hVP	                  4       R8X  g   Q hR# )z>Test that kwargs take precedence over fontproperties defaults.ZvaluezTimes New Romang      D@)r   r   Zcounts)r   r   N)r)   r8   ZxlabelZylabelZget_size)r   r   r   r   $test_fontproperties_kwarg_precedencer  
  s[    JJLJJw/@tLEJJxd;LME>>t###>>t###r   c                  s    \         P                  ! 4       p \        P                  ! 4       P	                  ^4      pV P                  ^ ^ RVRR7      pVP                  4       p\        V^4       R# )r   r   T)rC   Ztransform_rotates_textN)r)   rm   mtransformsZAffine2DZ
rotate_degr;   r   r   )r0   rC   r;   Zresultr|   r   test_transform_rotates_textr    s\    	B$$&11"5I771a9*.  0D F#r   c                  s    \        \        R R7      RR7      p \        V 4      p\        4       pVP                  V 4       V R,          VR,          8X  g   Q hV R,          VR,          8X  g   Q hR# )r   )r   N)r   r   r   r   )r   r   r   Zupdate)ZinpZcacher   re   r   test_update_mutate_inputr    sa    
nF;CIEAHHSM E*:$;;;;v;%-'''r   rR   zinvalid stringc           	      s    \         P                  ! \        R R7      ;_uu_ 4        \        ^ ^ RV R7       RRR4       R#   + '       g   i     R# ; i)z5rotation must be 'vertical', 'horizontal' or a numberr   r~   r   Nr   r   s   &r   test_invalid_rotation_valuesr  &  sD    	J
M 
M 	Q58,
M 
M 
M 
Ms	   ?A	c            	      s    \         P                  ! \        4      ;_uu_ 4        \        P                  ! R R RRR7       RRR4       R#   + '       g   i     R# ; i)r%   r~   Zfoobar)r   N)r   r   r   r)   figtextr   r   r   test_invalid_colorr  .  s2    	z	"	"BEX. 
#	"	"	"r   ztext_pdf_kerning.pdfc                  sd    \         P                  ! 4        \         P                  ! R RR^R7       R# )r!   r%   ZATATATATATATATATATAr   N)r)   r8   r  r   r   r   test_pdf_kerningr   3  s    JJLKKS/b9r   c                 s   \         P                  ! 4       pVP                  R R R4      pVP                  P	                  4        \
        ;QJ d    R V  4       F  '       d   K   RM	  RM! R V  4       4      '       g   Q hV  Uu. uF  q3P                  P                  NK  	  upRVP                  4        R2,           3R.8X  g   Q hR# u upi )	r%   u   ০c              3   sV   "   T F  p\        VP                  \        4      x  K!  	  R # 5iN)Z
isinstancemessager(   ).0warnr   r   	<genexpr>Z*test_unsupported_script.<locals>.<genexpr>=  s     Iz$,,44s   ')FTz9Glyph 2534 (\N{BENGALI DIGIT ZERO}) missing from font(s) Z.N)z7Matplotlib currently does not support Bengali natively.)	r)   r8   r;   rV   rk   Zallr"  argsr,   )Zrecwarnr/   r   r$  s   &   r   test_unsupported_scriptr'  9  s    
**,CR12AJJOO3II333IIIIII'./wt		w/
F!"!$% 
'	F	H	HI	H/s   Cz1Error messages are incorrect with pyparsing 3.1.0)Zreasonc                  sr   \         P                  ! 4       w  rVP                  ^ ^ RRR7       V P                  P	                  4        VP                  ^ ^ RRR7       \
        P                  ! \        RR7      ;_uu_ 4        V P                  P	                  4        RRR4       R#   + '       g   i     R# ; i)r    $ \wrong{math} $F)Z
parse_mathTUnknown symbolr   N)r)   r*   r;   rV   rk   r   r   r   r   r   r   test_parse_mathr*  F  sx     llnGCGGAq%%G8JJOOGGAq%$G7	z)9	:	:

 
;	:	:	:s    B%%B6	c                  s   \         P                  ! 4       w  rVP                  ^ ^ R4       \        P                  ! \
        RR7      ;_uu_ 4        V P                  P                  4        RRR4       \        P                  ! RR/4      ;_uu_ 4        \         P                  ! 4       w  rVP                  ^ ^ R4       V P                  P                  4        RRR4       R#   + '       g   i     L; i  + '       g   i     R# ; i)r    r(  r)  r   Nztext.parse_mathF)
r)   r*   r;   r   r   r   rV   rk   r   Z
rc_contextr   r   r   test_parse_math_rcparamsr+  S  s     llnGCGGAq%&	z)9	:	:

 
; 
*E2	3	3,,.
1)*

 
4	3	 
;	: 
4	3	3s   C!AC4!C1	4D	ztext_pdf_font42_kerning.pdfc                  s    ^*\         P                  R&   \         P                  ! 4        \         P                  ! RRR^R7       R# )r   r   r!   r%   ZATAVATAVATAVATAVATAr   Nr)   rS   r8   r  r   r   r   test_pdf_font42_kerningr-  c  s,    #%CLL JJLKKS/b9r   ztext_pdf_chars_beyond_bmp.pdfc                  s    ^*\         P                  R&   R\         P                  R&   \         P                  ! 4        \         P                  ! RRR^R7       R# )	r   r   Zstixsanszmathtext.fontsetr!   r%   u   Mass $m$ 𐌈r   Nr,  r   r   r   test_pdf_chars_beyond_bmpr.  j  s;    #%CLL '1CLL#$JJLKKS/b9r   c                  s  a \         P                  P                  P                  4        \        P
                  ! 4       p V P                  R RR4       V P                  R RRRR7       V P                  RRRRR7       V P                  P                  4        V P                  4       p/ oV3R lpW!n	        V P                  P                  4        . SORR.8X  g   Q h\        SR,          4      \        SR,          4      u;8X  d	   ^8X  g   Q h Q h\         P                  P                  P                  4       pVP                  VP                  8  g   Q hR# )	r#   r%   foo
barTr   c                  sd   < V vr#rEpSP                  V\        4       4      P                  V4       R # r!  )Z
setdefaultrr   Zadd)r&  ZkwargsrJ   rn   ro   r  ru   rs   s   *,     r   callZ test_metrics_cache.<locals>.call~  s*     $QA
a##A&r   r~   ZbarN)r   r;   Z!_get_text_metrics_with_cache_implZcache_clearr)   r8   rV   rk   Z_get_rendererZdraw_texZlenZ
cache_infoZhitsZmisses)r/   rJ   r0  Zinfors   s       @r   test_metrics_cacher1  r  s	   HH..::<
**,CHHRZ HHRZH-HHRZH-JJOO  "H	B' JJOOR5UEN"""
 r%y>SE^0q000008855@@BD 99t{{"""r   c                  sD   \         P                  ! 4       w  rR R.pRR	.p\        ^4       Uu. uF&  pVP                  RR
W4,          RRW$,          R7      NK(  	  ppR V 4       w  rgV P                  P                  4        \        V4      \        V4      8X  g   Q hR# u upi )r  zoffset fontsizer   Z10r  )rw   rx   rh   r   r   c              3   s@   "   T F  qP                  4       x  K  	  R # 5ir!  )rG   )r#  r{   r   r   r%  Z0test_annotate_offset_fontsize.<locals>.<genexpr>  s     %N#&;&;&=&=s   N)r   r   r  r   )r)   r*   r   r+   rV   rk   Zstr)r/   r0   Ztext_coordsZxy_textr   ZannsZpoints_coordsZfontsize_coordsr   r   test_annotate_offset_fontsizer2    s    llnGC"$56K G
 =B!H	F =Eq	 KK:&z!%!'#.>	  3 =E	 	 F
 &O%N"MJJOO}_!5555Fs   ,Bc                  s   \        R R R4      p V P                  \        P                  R,          8X  g   Q hV P	                  4       \        P                  R,          8X  g   Q hV P                  R4       V P                  RJ g   Q hV P	                  4       V P                  8X  g   Q hV P                  R4       V P                  RJ g   Q hV P	                  4       V P                  8X  g   Q hR# )r%   r/  rZ   TFN)r   _antialiasedr   rS   get_antialiasedset_antialiased)rt   r=   r   test_get_set_antialiasedr6    s    
r2z
"Cs||,>???? CLL1C$DDDDt### C$4$4444u$$$ C$4$4444r   c                  s    \        R RRR7      p V P                  RJ g   Q hV P                  4       V P                  8X  g   Q h\        R RRR7      pVP                  RJ g   Q hVP                  4       VP                  8X  g   Q h\        R RRR7      pVP                  R4       VP                  4       RJ g   Q hVP                  RJ g   Q h\        R R4      pVP                  \        P
                  R,          8X  g   Q hR# )r/  Tr^   FrZ   Nr   )r   r3  r4  r5  r   rS   )ZannotZannot2Zannot3Zannot4r|   r   test_annotation_antialiasedr8    s    z8>E%%%  "e&8&8888
H%@F%'''!!#v':'::::
H%@F
4 !!#t+++$&&&
H-F#,,/A"BBBBr   c                 s   V P                  4       pVP                  ^ ^.^ ^.4      w  p\        P                  ! RR.4      pVP	                  R\        W44      RR	R7       ^VR&   VP                  4       pVP                  ^ ^.^ ^.4      w  p\        P                  ! RR.4      pVP	                  RWSRRR7       ^VR&   R# )
r    r%   r~   )r   rx   rw   :NNNr  )rw   r   rx   r   N)r   r    rD   )r   rq   rj   Zarrayr+   r   )r  r  r0   ZlZof_xyZan_xys   &&    r   'test_annotate_and_offsetfrom_copy_inputr9    s     
			B	!Q!Q	 BAHHb"XEKK*Q"6w  E!H				B	!Q!Q	 BAHHb"XEKK%GKXE!Hr   c                 |    V P                  R R RRR7       R\        P                  R&   VP                  R R R4       R# )r%   6 inches x 2 inchesFr7  rZ   Nr;   r   rS   r  r     &&r   +test_text_antialiased_off_default_vs_manualr?    s?    MM#s1).  0 (-CLL#$LLc01r   c                 r:  )r%   r;  Tr7  rZ   Nr<  r=  r>  r   *test_text_antialiased_on_default_vs_manualr@    s7    MM#s1tMD'+CLL#$LLc01r   c                  s   \        ^dR7      p \        ^^^d4      p\        RRRR7      pVP                  V 4       \	        R^ ^ R7      pVP                  V 4       VP                  VR7      pVP                  VR7      pVP                  VP                  8X  g   Q hVP                  VP                  8X  g   Q hVP                  RVP                  RR	7      w   rgVP                  R
VP                  RR	7      w   rh\        Wx4      p	VP                  4       p
V
R,          R8X  g   Q hV
R,          VP                  8X  g   Q hV
R,          V	) 8X  g   Q hV
R,          VP                  V	,
          8X  g   Q hR# )d   r   r   r   )rw   r   )r;   rn   ro   r   r;   F)ZismathZlpr   NrD   r3   r    r    r3   r  )r   r   r   
set_figurer   rG   r   r   Zget_text_width_height_descentZ_fontpropertiesZmaxr   )r8   rJ   r   r;   r   	text_bboxru   ZdZlp_dZ
below_linepoints              r   &test_text_annotation_get_window_extentrH    sa   _F3S)H FvHJ&!VqA&DOOF''':D&&&9I::(((;;)*****44
**5 5 :GAq77j(( 8 8JAqQJ __F$<3$<9??***$<J;&&&$<9++j8888r   c                  s   ^p \         P                  ! ^dR7      w  rVP                  R^ ^ R7      pVP                  RRRRRRR	^R
V RR/R7      p\         P                  ! 4        VP
                  P                  pVP                  VR7      pVP                  VR7      pVP                  P                  V4      p\        P                  ! V4      p	VP                  VP                  R,           8X  g   Q hV	P                  VP                  8X  g   Q hV	P                  VP                  8X  g   Q h\        P                  P                  W.4      p
\        VP                  V
P                  4       R# )i   r   r   )r  rn   ro   r         I@r   r   blackr   	headwidthshrinkrw   rx   r   ry   r   Nr   rI  rI  rI  )r)   r*   r;   r+   rk   rV   rJ   rG   Zarrow_patchr   r   r   r  ZBboxZunionr   )rK  r/   r0   rt   r{   rJ   rE  r   Z
arrow_bboxZann_txt_bboxZexpected_bboxrG  r   1test_text_with_arrow_annotation_get_window_extentrP    sB   Ills#GC
''Fa1'
%C
++o'1Hc3	  4C HHJzz""H%%x%8I  ( 3D228<J))#.L ::4//// )"2"2222000$$**L+EFM]%9%9:r   c                  s   ^dp V ^H,          p\        V R7      pVP                  R4       VP                  R4       \        ^^^d4      p\	        RRRRRRR	^R
^
RR/R7      pVP                  V4       VP                  V4       VP                  4       pVP                  4       pVP                  R8X  g   Q h\        VP                  RV,          4       VR,          R8X  g   Q hVR,          R^V,          ,
          8X  g   Q hR# )rA  r          @r   r   rI  r   r   rJ  r   rK  rL  rM  g      $@NrN  rO  rD   rC  )r   set_figwidthset_figheightr   r   rD  rk   rG   r   r   r   r   )r   Zdots_per_pointr8   rJ   r   r   rF  s          r   'test_arrow_annotation_get_window_extentrT  $  s    
C2XN_F

3S)H 
{</'1k2xNOJ &!OOH'')D__F::TN%:;$<3$<4!n"44444r   c                  s   \        ^dR7      p V P                  R4       V P                  R4       \        ^^^d4      p\	        RR	R	RR7      pVP                  V 4       VP                  V4       VP                  4       pVP                  4       pVR
,          R8X  g   Q hVR,          R8X  g   Q hVR,          R8X  g   Q hVR,          R8X  g   Q hR# )rA  r   rQ  r   r   rI  r   )rw   rx   r   NrN  rD   rB  r  rC  )	r   rR  rS  r   r   rD  rk   rG   r   )r8   rJ   r   r   rF  r   r   'test_empty_annotation_get_window_extentrU  =  s    _F

3S)H 
{;JJ&!OOH'')D__F$<3$<3$<4$<4r   Zbasictext_wrap)Zbaseline_imagesr   c                  s   \         P                  ! 4       p \         P                  ! . RO4       Rp\         P                  ! ^^VR^RR7       \         P                  ! ^^VR^RR7       \         P                  ! ^^VRRRR7       \         P                  ! ^^
V^RRRRR	7       \         P                  ! ^^VR
RRRR7       \         P                  ! R^ VRRRR7       R# )r    This is a really long string that I'd rather have wrapped so that it doesn't go outside of the figure, but if it's long enough it will go off the top or bottom!rL   T)r6   rR   r
  r   Zobliquer4   r5   )rh   r   r6   r7   r
  serifr    )r   r   r6   r
  Nr    r   r    r   r)   r8   Zaxisr;   r/   r   r   r   test_basic_wrapr]  R  s     **,CHH^	*A HHQ1"48HHQ1"48HHQ13T:HHQA)D"HHQ1WHtLHHRA&3T:r   Zfonttext_wrapc                  s   \         P                  ! 4       p \         P                  ! . RO4       Rp\         P                  ! ^RV^RR^RR7       \         P                  ! ^^VRR^RR7       \         P                  ! ^^
VRR	R
RR7       \         P                  ! ^^VRRRR7       \         P                  ! R^ V^RRRRR7       R# )r    rV  rW  rL   T)rh   r   r6   rR   r
  r   )r   r6   rR   r
  Zheavyr4   r5   )r   r6   r7   r
  Z	monospacer   )r   r6   r
  r    )rh   r   r6   rR   r
  NrX  rZ  rY  r[  r\  r   r   test_font_wrapr^  c  s     **,CHH^	*A HHQA7vHHQ1\frMHHQAg(u4HHHQ1[W4@HHRA(vr   )r4   r   rL   )r4   r5   rM   rQ   Zcenter_baseline))r$      )r_  r$   )r_  r_  )r   Zpdfr   ))r`   r    rL   )r%   i_   rL   )r#   r    r   )r#   i   rL   )r  r3   r    )zr   r   r'   Znumpyrj   Znumpy.testingr   Zpackaging.versionr   Zparse_versionZ	pyparsingr   Z
matplotlibr   Zmatplotlib.backend_basesr   Zmatplotlib.backends.backend_aggr   Zmatplotlib.figurer   r&   r   Zmatplotlib.patchesZpatchesrE   Zmatplotlib.pyplotZpyplotr)   Zmatplotlib.gridspecr   Zmatplotlib.transformsZ
transformsr  Zmatplotlib.testing.decoratorsr	   r
   Zmatplotlib.testing._markersr   Zmatplotlib.textr   r   r   Z__version__Zpyparsing_versionr2   r>   rY   rb   rf   rv   r}   ZmarkZparametrizer   Zprintr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r  r  r  r  r  r  r  r  r   r'  ZxfailZreleaser*  r+  r-  r.  r1  r2  r6  r8  r9  r?  r@  rH  rP  rT  rU  r]  r^  r   r   r   <module>r`     sC    	   - 4    / 7 $ 2 %  ( + O 4 8 8!)"7"78  =/"U #Up ;-  !. <.006 106f $%W5- 6-$D &'( )<	. /UVAGH9:ABHI=>2  8*  #$G4 5. $%&D 'D"@C4 "c+0FG H;
4
;
$
5@
 :;  ? @P@ <P ?#$/ %/ 678 96 789 :6. &'( )* %&'> (> -/KL* M*(4
) 3 3    56* 7* -./= 0= -./! 0!&& (P )P ./w? @" 22=9 ?: (
$ )
$$$( &6%=>- ?-/
 )*':: ;:
	I $,,	9M  OO $,,	9M  OO 01A: B: 237C: D: # #<6 5C$ ( ) 2 2 2 29> ;F52 * #3"4#W&;&; ?"3#W&&r   