+
     ]iX  c                   s   ^ RI t ^ RIHtHt ^ RIHtHtHtHtH	t	H
t
Ht ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIt^ RItRtR tR	 tR
 tR t]P:                  P=                  R4      R 4       tR t ]P:                  PC                  R. R6O4      R 4       t"R t#R t$R t%R t&]P:                  PC                  RRR.4      ]P:                  PC                  RRR.4      ]P:                  PC                  RR]PN                  R73R]PP                  R83R]PN                  R93R]PP                  R:3.4      R 4       4       4       t)R t*R  t+]P:                  PC                  R!R"R#R]PX                  ! R$]R%7      .4      R& 4       t-]P:                  PC                  R'. R;O4      R( 4       t.R) t/R* t0R+ t1]P:                  PC                  R,RR.4      ]P:                  PC                  R-]PN                  ]PP                  .4      ]P:                  PC                  R.R/R0.4      ]P:                  PC                  R1. R<O4      ]P:                  PC                  R2R3R4.4      R5 4       4       4       4       4       t2R# )=    N)path
transforms)FigureCanvasBaseKeyEventLocationEventMouseButton
MouseEventNavigationToolbar2RendererBase)RubberbandBaseFigure)needs_pgf_xelatexzTreat the new Tool classes introduced in v[0-9]*.[0-9]* as experimental for now; the API and rcParam may change in future versions.c            	      s   \         P                  ! 4       p \        ^^4       Uu. uF"  p\        P                  P                  V4      NK$  	  pp\        ^^4       Uu. uF/  qP                  V4      P                  4       P                  4       NK1  	  pp\        P                  ! ^4      P                  R4      pRR.pRR.pR pV! WW4WV4       V! WR,          W4WV4       V! V . W4WV4       V! WVR,          WEV4       V! W. WEV4       \        ^ VP                  ^ ,          4       F  pV! WW4^ V1R3,          WV4       K  	  V! WW4. V4       V! WW4V. 4       V! WW4. . 4       V! WW4VR,          V4       R# u upi u upi )   ZredZgreenc                 s
   \        4       p\        VP                  WV4      4      pVP                  4       pVP	                  V\        \        V4      4      V\        P                  ! V 4      WE. . R .. R4       U	U
UUUu. uF  w  rrqNK
  	  pppp
p	pVP                  WW4V4      pV'       dO   \        P                  ! V\        V4      R7      p\        V4      P                  V^,
          V.4      '       g   Q hR# R# u upppp
p	i )FZscreen)Z	minlengthN)r	   ZlistZ_iter_collection_raw_pathsZnew_gcZ_iter_collectionrangelenr   ZAffineDeltaTransformZ_iter_collection_uses_per_pathnpZbincountsetZissubset)Zmaster_transformpathsZall_transformsoffsets
facecolors
edgecolorsZrbZ	raw_pathsZgcZxoZyoZpath_idZgc0ZrgbFaceZidsZusesZseens   &&&&&&           J/usr/lib64/python3.14/site-packages/matplotlib/tests/test_backend_bases.pycheckZ!test_uses_per_path.<locals>.check   s    ^66^5 6	YY[""uS^,g223CD2rE7x	!"! 927w! 	 " 007
D;;sc)n=Dt9%%tax&67777 "s   =C<:r       N:NNNN)
      )r   ZAffine2Dr   r   ZPathZunit_regular_polygonZrotateZ
get_matrixZcopyr   arangereshapeZshape)	ZidZir   Ztforms_matricesr   r   r   r   Zns	            r   test_uses_per_pathr      sf   				B8=aD1TYY++A.EDAFq!MAyy|..0557OMiim##G,G!J!J8$ 
"_zF	"Cj/JK	"b/JC	"_S)7
K	"Rj91gmmA&'b!A#q&/	& ( 
"_r:>	"_z2>	"_r26	"_z#
KG EMs   (E45E9c                  sZ    \        \        4       P                  \        4      '       g   Q hR # N)
isinstancer   figurer        r   test_canvas_ctorr$   >   s    &(//8888r#   c                  s    \         P                  ! 4       p V P                  P                  4       R 8X  g   Q hV P                  P                  P                  R4       V P                  P                  4       R8X  g   Q hR# )zFigure_1.pngz0:1/2<3z0_1_2_3.pngN)pltr!   canvasZget_default_filenamemanagerZset_window_titlefig    r   test_get_default_filenamer+   B   s[    
**,C::**,>>>JJ''	2::**,===r#   c                  s    \         P                  ! 4       p \        V 4      p\         P                  ! V 4       \         P                  ! V P
                  4      '       d   Q hR # r   )r%   r!   r   ZcloseZfignum_existsZnumber)r)   r&        r   test_canvas_changer-   I   s@    
**,Cc"FIIcN  ,,,,,r#   Zpdfc                 s   \         P                  ! 4        V P                  R R4       \        P                  ! \
        4      ;_uu_ 4       p\         P                  ! 4        \        V4      ^8X  g   Q hR\        V^ ,          P                  4      9   g   Q h RRR4       \        P                  ! \
        4      ;_uu_ 4       p\         P                  ! 4       P                  4        \        V4      ^8X  g   Q hR\        V^ ,          P                  4      9   g   Q h RRR4       R#   + '       g   i     L; i  + '       g   i     R# ; i)ZDISPLAYz:999z<FigureCanvasPdf is non-interactive, and thus cannot be shownN)r%   subplotsZsetenvpytestwarnsUserWarningZshowr   ZstrZmessagegcf)ZmonkeypatchZrecs   & r   test_non_gui_warningr3   R   s    LLNy&)	k	"	"c
3x1}}Ns1v~~&' 	( ' 
# 
k	"	"c	3x1}}Ns1v~~&' 	( ' 
#	" 
#	" 
#	"	"s   
AD$ AD7$D4	7E	c                  s    \         P                  ! 4       w  rV P                  P                  V4       V P                  P                  V8X  g   Q hV P                  4        V P                  P                  e   Q hR # r   )r%   r.   r&   Z
grab_mouseZmouse_grabberZclearr)   axr,   r   test_grab_clearr6   e   sX    llnGCJJ"::##r)))IIK::##+++r#   zx, yc                 s   \         P                  ! 4       w  r#\        V4      p\        R W@V4      pV f   VP                  e   Q hM>VP                  \        V 4      8X  g   Q h\        VP                  \
        4      '       g   Q hVf   VP                  e   Q hM>VP                  \        V4      8X  g   Q h\        VP                  \
        4      '       g   Q hV em   Veg   VP                  W4      RVP                  V 4       RVP                  V4       R28X  g   Q hR ;Vn        Vn        VP                  W4      R8X  g   Q hR# R# R# )Z
test_eventNz
(x, y) = (z, Z)c                 s    R # )foor"   )xs   &r   Z<lambda>Z.test_location_event_position.<locals>.<lambda>   s    r#   z(x, y) = (foo, foo))r%   r.   r   r   r8   intr    yformat_coordZformat_xdataZformat_ydataZ	fmt_xdataZ	fmt_ydata)r8   r:   r)   r5   r&   events   &&    r   test_location_event_positionr=   o   s#    llnGCc"F,15Eywwww#a&   %''3''''ywwww#a&   %''3''''}% 232booa6H5IKL 	M L&55r|q$(====	 '}r#   c                  sp   \         P                  ! 4       w  rVP                  R	R
R7       VP                  RR4      R8X  g   Q hVP	                  4       P                  RR7       VP                  RR4      R8X  g   Q hVP                  4       P                  RR7       VP                  RR4      R8X  g   Q hR# )r    )xlimylimg      @z(x, y) = (5.00, 5.00))r?   z$(x, y) = (5.00, 5.00) | (5.00, 10.0))r>   z3(x, y) = (5.00, 5.00) | (5.00, 10.0) | (2.50, 5.00)Nr    r   )r    i   )r    i(   )r       )r%   r.   r   r;   twinxZtwinyr4   r,   r   !test_location_event_position_twinrC      s    llnGCFFgF&??2r"&====HHJNNN ??2r"&LLLLHHJNNNOOB#DE F Er#   c            	      s2  a \         P                  ! 4       p V P                  R R RRRRR7       V P                  P	                  4        . oV3R lpV P                  P                  RV4       \        RV P                  R4      P                  4        \        R	V P                  .V P                  P                  R4      O\        P                  N5!  P                  4        \        R
V P                  R4      P                  4        \        S4      ^8X  g   Q hR# )      ?ZhelloZcenterT)ZhaZvaZpickerc                 sd   < V P                   P                  R 8X  g   Q hSP                  V 4       R# )aN)Z
mouseeventkeyZappend)r<   pickss   &r   handle_pickZtest_pick.<locals>.handle_pick   s)    ##s***Ur#   Z
pick_eventkey_press_eventrE   button_press_eventZkey_release_eventNrD   rD   )r%   r!   Ztextr&   drawZmpl_connectr   _processr   ZtransFigure	transformr   LEFTr   )r)   rH   rG   s     @r   	test_pickrP      s    
**,CHHRWhtHDJJOOE JJ<5

C099;#SZZ !))(3!!!) #**c2;;=u:??r#   c                  s   \         P                  ! 4       w  rVP                  R R7       VP                  4       e   Q h\	        V P
                  4      pVP                  4        VP                  4       R8X  g   Q hVP                  4       pVP                  4       pRpR	pVP                  P                  V4      P                  \        4      pVP                  P                  V4      P                  \        4      p\        RV P
                  .VO\        P                  N5!  p	V P
                  P                   P#                  V	P$                  V	4       \        RV P
                  .VO\        P                  N5!  p
V P
                  P                   P#                  V
P$                  V
4       VP                  4       V	P&                  V
P&                  38X  g   Q hVP                  4       V	P(                  V
P(                  38X  g   Q h\        RV P
                  .VO\        P*                  N5!  p	V P
                  P                   P#                  V	P$                  V	4       \        RV P
                  .VO\        P*                  N5!  p
V P
                  P                   P#                  V
P$                  V
4       VP                  4       \,        P.                  ! V^ RR7      8X  g   Q hVP                  4       \,        P.                  ! V^ RR7      8X  g   Q hVP                  4        VP                  4       e   Q hVP1                  4       '       g   VP3                  4       '       d   Q hR# )
Zlogit)ZxscaleNZOOMrJ   button_release_eventg|=)Zrelabs)gư>皙?)gwJ?皙?)r%   r.   r   get_navigate_moder   r&   zoomget_xlimget_ylim	transDatarN   astyper9   r   r   rO   Z	callbacksZprocessZnameZxdataZydataRIGHTr/   approxZget_autoscalex_onZget_autoscaley_on)r)   r5   tbZxlim0Zylim0d0d1s0s1start_event
stop_events              r   test_interactive_zoomre      s   llnGCFF'F!)))	CJJ	'BGGI!V+++KKMEKKME 
B	B 
			#	*	*3	/B				#	*	*3	/B cjjA+-A/:/?/?AKJJ  !1!1;?

C-/C1<1A1ACJJJ  *=;;=[..
0@0@AAAA;;=[..
0@0@AAAA cjjB+-B/:/@/@BKJJ  !1!1;?

D-/D1<1B1BDJJJ  *=;;=FMM%QEBBBB;;=FMM%QEBBBBGGI!)))##%%b.B.B.D.DDD.Dr#   c                  sP   \         P                  ! 4       w  rVP                  ^ ^.^ ^.4       V P                  P	                  V4       \        V P                  4      pVP                  4        VP                  4       e   Q hVP                  4        VP                  4       e   Q hR# )r    N)	r%   r.   plotr&   Z
widgetlockr   rW   rV   pan)r)   r5   r^   s      r   test_widgetlock_zoompanrh      s    llnGCGGQFQFJJ"	CJJ	'BGGI!)))FFH!)))r#   	plot_funcZimshowcontourforientationverticalZ
horizontalztool,button,expectedrW   rg   c                 s   \         P                  ! 4       w  rV\        P                  ! ^4      P	                  R4      p^ ^
r\        W`4      ! WxV	R7      p
VP                  WVR7      pV R8X  d%   VP                  P                  4       '       d   Q hR# VP                  P                  4       '       g   Q h^^rVR3pVR3pVR8X  d   VRRR1,          pVRRR1,          pVP                  P                  P                  V4      P                  \        4      pVP                  P                  P                  V4      P                  \        4      p\        RVP                  .VOVN5!  p\        RVP                  .VOVN5!  p\        VP                  4      pVR	8X  dE   VP!                  4        VP#                  V4       VP%                  V4       VP'                  V4       MCVP)                  4        VP+                  V4       VP-                  V4       VP/                  V4       VP0                  VP2                  3\4        P6                  ! VR
R7      8X  g   Q hR# )i   )vminvmax)r5   rk   rj   NrD   rl   rJ   rR   rW   333333?rS   )   r   i)r%   r.   r   r   r   ZgetattrZcolorbarr5   get_navigaterZ   rN   r[   r9   r   r&   r   rW   
press_zoom	drag_zoomrelease_zoomrg   	press_pandrag_panrelease_panrm   rn   r/   r]   )ri   rk   toolbuttonZexpectedr)   r5   ZdataZvmin0Zvmax0ZcollZcbrm   rn   r_   r`   ra   rb   rc   rd   r^   s   &&&&&                r   test_interactive_colorbarr{      s    llnGC99R=  (Db52!$?D	d{	;BJ55%%''''55 A$
 B
Bj "X"X 
	"	"2	&	-	-c	2B		"	"2	&	-	-c	2B cjj7+-7/57K

9-/9179J 
CJJ	'Bv~
	
k"
Z 

#

[!
J
z" GGRWWxT!BBBBr#   c                  s>   \         P                  ! \        \        R 7      ;_uu_ 4        R\        P
                  R&   RRR4       \        P                  ! 4       p V P                  4       pV P                  4       e   Q hVP                  P                  P                  P                  R4       V P                  4       R8X  g   Q hVP                  P                  P                  P                  R4       V P                  4       R8X  g   Q hR#   + '       g   i     L; i)ZmatchtoolmanagertoolbarNrW   rQ   rg   ZPAN)r/   r0   r1   _EXPECTED_WARNING_TOOLMANAGERr%   rcParamsZgcaZ
get_figurerV   r&   r'   r}   trigger_tool)r5   r)   r,   r   test_toolbar_zoompanr     s    	k)F	G	G"/Y 
H	B
--/C!)))JJ""//7!V+++JJ""//6!U*** 
H	Gs   DD	c                  sz   \         P                  ! 4       w  rVP                  \        ^4      \        ^4      4       \	        V P
                  4      pVP                  4        \        RV P
                  R^d^d4      P                  4        \        RV P
                  R^d^d4      P                  4        VP                  4       VP                  4       u;8X  d	   R8X  g   Q h Q h\        RV P
                  R^d^d4      P                  4        \        RV P
                  R^d^d4      P                  4        VP                  4       VP                  4       u;8X  d	   R	8X  g   Q h Q hVP                  P                  R
R.4      w  r4\        RV P
                  .VO\        P                  N5!  P                  4        \        RV P
                  .VO\        P                  N5!  P                  4        \        RV P
                  R4      P                  4        VP                  4       VP                  4       u;8X  d	   R	8X  g   Q h Q h\        RV P
                  R^d^d4      P                  4        \        RV P
                  R^d^d4      P                  4        VP                  4       VP                  4       u;8X  d	   R8X  g   Q h Q hR# )i   rI   ZkZlrJ   rR   ZhN)r   r   r@   )r   r   )rA   rA   )r%   r.   rf   r   r   r&   rW   r   rM   rX   rY   rZ   rN   r   r   rO   )r)   r5   r^   ZstartZstops        r   $test_toolbar_home_restores_autoscaler   )  s   llnGCGGE"IuRy!	CJJ	'BGGI 

Cc:CCE

Cc:CCE;;=BKKM4W44444

Cc:CCE

Cc:CCE;;=BKKM4W44444 ,,((&&)9:KE#SZZJ%J9I9IJSSU%szzKDK+:J:JKTTV

C099;;;=BKKM4W44444

Cc:CCE

Cc:CCE;;=BKKM4W44444r#   backendZsvgZpsZpgf)Zmarksc                 sX   ^ RI Hp ^ RIHp \        P
                  ! RV  24      pVP                  pV! RR7      pV! V4       VP                  ^^4      pV! RR7      pV! V4       VP                  ^^4      pVP                  4        U	u. uF  qP                  4       NK  	  p
p	VP                  P                  4        VP                  P                  4        VP                  4        U	u. uF  qP                  4       NK  	  pp	VP                  4        U	u. uF  qP                  4       NK  	  pp	\        W4       F%  w  r\        P                  ! WRR7      '       g   K%  Q h	  \        W4       F(  w  pp\        P                  P                  VVRR7       K*  	  R# u up	i u up	i u up	i )	r    r   )FigureCanvaszmatplotlib.backends.backend_T)Zconstrained_layoutg{Gzt?)ZatolN)matplotlib.figurer   Zmatplotlib.backends.backend_aggr   	importlibZimport_moduler.   ZravelZget_positionr&   rL   Zzipr   ZallcloseZtestingZassert_allclose)r   r   r   Ztest_backendZ
TestCanvasZfig_testZ	axes_testZfig_aggZaxes_aggr5   Zinit_posZlayed_out_pos_testZlayed_out_pos_aggZinitZplacedZrefZtests   &                r   	test_drawr   G  se   
 )<**-I'+STL**J.Hx!!!Q'I -G1%H,5OO,=>,=b!,=H>OONN6?oo6GH6G//+6GH5=^^5EF5Er*5EFH9;;t%8888 : *?	T


""35"9 @ ?
 IFs   
F*F"F'z&key,mouseend,expectedxlim,expectedylimc                 s   \         P                  ! 4       w  rEVP                  \        P                  ! ^
4      4       VP                  4       '       g   Q hVP                  R4       R	pVP                  P                  V4      P                  \        4      pVP                  P                  V4      P                  \        4      p\        RVP                  .VO5R\        P                  RV / p	\        RVP                  .VO5R\        P                  RV / p
\        VP                  4      pVP!                  4        VP#                  V	4       VP%                  V
4       VP'                  V
4       \)        VP+                  4       4      \,        P.                  ! VRR7      8X  g   Q h\)        VP1                  4       4      \,        P.                  ! VRR7      8X  g   Q hR# )
r   ZequalrJ   rz   rF   rR   g{Gz?rp   NrK   )r%   r.   rf   r   r   rr   Z
set_aspectrZ   rN   r[   r9   r   r&   r   rO   r   rg   rv   rw   rx   ZtuplerX   r/   r]   rY   )rF   ZmouseendZexpectedxlimZexpectedylimr)   r5   Z
mousestartZsstartZsendrc   rd   r^   s   &&&&        r   test_interactive_panr   i  sv   , llnGCGGBIIbM??MM' J \\##J/66s;F<<!!(+2237D cjj+1:E:J:JK 

-1:E:J:JJ 
CJJ	'BFFHLLKK
NN:6==4#HHHH6==4#HHHHr#   c                  s   \         P                  ! \        \        R 7      ;_uu_ 4        R\        P
                  R&   RRR4       \        P                  ! 4       p \        V P                  P                  P                  P                  4      pRV P                  P                  P                  P                  9   g   Q hV P                  P                  P                  P                  R4       \        V P                  P                  P                  P                  4      V^,
          8X  g   Q hRV P                  P                  P                  P                  9  g   Q hR#   + '       g   i     EL-; i)r|   r}   r~   Nforward)r/   r0   r1   r   r%   r   r2   r   r&   r'   r}   ZtoolsZremove_tool)r)   Zinitial_lenr,   r   test_toolmanager_remover     s    	k)F	G	G"/Y 
H
'')Ccjj((44::;K

**66<<<<<JJ""..y9szz!!--334aGGGCJJ..::@@@@@ 
H	G	Gs   E!!E2	c                  s   \         P                  ! \        \        R 7      ;_uu_ 4        R\        P
                  R&   RRR4       \        P                  ! 4       p V P                  P                  P                  P                  R4      p\        V\        4      '       g   Q hV P                  P                  P                  P                  V4      VJ g   Q h\         P                  ! \        RR 7      ;_uu_ 4        V P                  P                  P                  P                  R4      e   Q h RRR4       V P                  P                  P                  P                  RRR7      e   Q h\         P                  ! \        RR 7      ;_uu_ 4        V P                  P                  P                  P                  R4      e   Q h RRR4       R#   + '       g   i     EL; i  + '       g   i     L; i  + '       g   i     R# ; i)	r|   r}   r~   N
rubberbandz'ToolManager does not control tool 'foo'r7   F)Zwarn)r/   r0   r1   r   r%   r   r2   r&   r'   r}   Zget_toolr    r
   r   )r)   r   r,   r   test_toolmanager_get_toolr     sz   	k)F	G	G"/Y 
H
'')C##//88FJj.1111::))22:>*LLL	kE
G 
Gzz!!--66u=EEE
G ::))225u2EMMM	kE
G 
Gzz!!--::5AIII
G 
G 
H	G	G
G 
G

G 
G 
Gs#   G:4G#4G6G 	#G3	6H	c                  s|   \         P                  ! \        \        R 7      ;_uu_ 4        R\        P
                  R&   RRR4       \        P                  ! 4       p RV P                  P                  P                  P                  R4      9   g   Q h\         P                  ! \        RR 7      ;_uu_ 4        V P                  P                  P                  P                  RR4       RRR4       V P                  P                  P                  P                  R4      R.8X  g   Q h\         P                  ! \        RR 7      ;_uu_ 4        V P                  P                  P                  P                  R	R4       RRR4       R#   + '       g   i     ELO; i  + '       g   i     L; i  + '       g   i     R# ; i)
r|   r}   r~   NZvr   z"Key c changed from back to forwardZcz'foo' not in Toolsr7   )r/   r0   r1   r   r%   r   r2   r&   r'   r}   Zget_tool_keymapZupdate_keymapZraisesZKeyErrorr(   r*   r   test_toolmanager_update_keymapr     s'   	k)F	G	G"/Y 
H
'')C#**$$00@@KKKK	k@
B 
B

&&44YD
B ::))99)DMMM	x';	<	<

&&44UC@ 
=	< 
H	G	G
B 
B 
=	<	<s#   F41F1F*F	F'	*F;	ry   rz   	patch_visTFforward_navt_stwinsharec                 s~   \         P                  ! 4       w  rVVP                  ^^cR7      pVP                  V4       VP                  P                  V4       VR8X  dh   VP                  ^4      pVP                  V4       VP                  V4       VP                  ^4      p	V	P                  V4       V	P                  V4       M'VR8X  d!   VP                  4       pVP                  4       p	VP                  R4       VP                  P                  R4       XP                  R4       VP                  P                  R4       VP                  R4       VP                  P                  R4       X	P                  R4       V	P                  P                  R	4       RRrWv3 F#  pVP                  ! V
!   VP                  ! V!   K%  	  Rw  rppVP                  P                  W34      P                  \         4      pVP                  P                  VV34      P                  \         4      pVP                  P#                  4       P                  V4      w  ppVP                  P#                  4       P                  V4      w  pp\%        R
VP&                  .VOVN5!  p\%        RVP&                  .VOVN5!  p\)        VP&                  4      pV R8X  Ed   V^8X  d   RMRpVP+                  . VOVOV4      w  ppVP-                  4       RJ d   VP+                  . VOVOV4      w  ppMWVP-                  4       RJ d   T
pTpM>VP                  P/                  4       '       g   VP+                  . VOVOV4      w  ppMT
pTpVP1                  4        VP3                  V4       VP5                  V4       VP7                  V4       VP9                  4       \:        P<                  ! VRR7      8X  g   Q hVP?                  4       \:        P<                  ! VRR7      8X  g   Q hVP9                  4       \:        P<                  ! VRR7      8X  g   Q hVP?                  4       \:        P<                  ! VRR7      8X  g   Q hVP9                  4       \:        P<                  ! VP9                  4       RR7      8X  g   Q hVP9                  4       \:        P<                  ! V	P9                  4       RR7      8X  g   Q hR# VP@                  ! . VOVN5!   VPB                  ! VR.VO5!  PD                  P                  \F        4      w  ppVPI                  4        VP-                  4       RJ d\   VP@                  ! . VOVN5!   VPB                  ! VR.VO5!  PD                  P                  \F        4      w  ppVPI                  4        MVP-                  4       RJ d   T
pTpMVP                  P/                  4       '       g\   VP@                  ! . VOVN5!   VPB                  ! VR.VO5!  PD                  P                  \F        4      w  ppVPI                  4        MT
pTpVPK                  4        VPM                  V4       VPO                  V4       VPQ                  V4       VP9                  4       \:        P<                  ! VRR7      8X  g   Q hVP?                  4       \:        P<                  ! VRR7      8X  g   Q hVP9                  4       \:        P<                  ! VRR7      8X  g   Q hVP?                  4       \:        P<                  ! VRR7      8X  g   Q hVP9                  4       \:        P<                  ! VP9                  4       RR7      8X  g   Q hVP9                  4       \:        P<                  ! V	P9                  4       RR7      8X  g   Q hR# )i   )Zzorderr   r   ax_t	ax_t_twinZrax_b	ax_b_twinZbrJ   rR   rW   ZinZoutTFro   rp   N)r   r    r    rD   )r    r    r   rD   r@   )r   r   r   r   ))r%   r.   Zadd_subplotZset_forward_navigation_eventsZpatchZset_visibleZsharexZshareyrB   Z	set_labelZset_facecolorZset_xlimZset_ylimrZ   rN   r[   r9   Zinvertedr   r&   r   Z_prepare_view_from_bboxZget_forward_navigation_eventsZget_visiblerW   rs   rt   ru   rX   r/   r]   rY   Z	start_panZ_get_pan_pointsZTZfloatZend_panrg   rv   rw   rx   )ry   rz   r   r   r   r)   r   r   r   r   Z	init_xlimZ	init_ylimr5   Zxstart_tZxstop_tZystart_tZystop_tra   rb   Zxstart_bZystart_bZxstop_bZystop_brc   rd   r^   Z	directionZxlim_tZylim_tZxlim_bZylim_bs   &&&&&                          r    test_interactive_pan_zoom_eventsr     s    IC??3r?*D&&{3JJ9% g~OOC(	OOC(		JJL	JJL	 	NN6JJ^,$OO!!#&NN6JJ^,$OO!!#&
 #Gyl
Y
Y 
 ,6(Hx 
	!	!8"6	7	>	>s	CB		!	!7G"4	5	<	<S	AB 002<<R@Hh~~..0::2>GW 13::KKFKK2CJJLLVLJ	CJJ	'Bv~#q[Te	55jjRj)L--/47!99*B**iPNFF//1U:FF::))++!%!=!=jjRj)!T""
	
k"
Z 

#}}&--D"AAAA}}&--D"AAAA}}&--D"AAAA}}&--D"AAAA }}&--	0B0B0D$"OOOO}}&--	0B0B0D$"OOOO 	##F#--fd@R@BBII%P--/47NN'B''!11&$DDFFMMeTNFFLLN//1U:FF::))++++F+!%!5!5fd!HR!H!J!J!Q!QRW!X""

[!
J
z"}}&--D"AAAA}}&--D"AAAA}}&--D"AAAA}}&--D"AAAA }}&--	0B0B0D$"OOOO}}&--	0B0B0D$"OOOOr#   ))*   i   )Nr   )NN)i   gq=
ף Y@)g     i@g       @)rq   i   )ii   )ii   )gQ?gQ@))N皙?r   gQ@g{G(@g@gffffff'@)N)r   rD   r   r    i	   )N)rD   r   r   r   )NrK   r   r   )NrU         ?g(\gQ@g      @g     &@)Nr   r   r   r   )N)rU   333333?r   gQ	gq=
ףp@)Nr   r   r   r   )shift)r   皙?r   r   )r   r   r   r   r   )r   r   r   r   )r   r   r   )g(\@gq=
ף(@)r   )rU   g?gp=
ףgp=
ף@r   )r   r   r   )gQg
ףp=
@)r8   )r   rT   r   r   )r:   )rT   r   r   r   )controlr   r   r   )r   r   g(\@gq=
ףp'@r   )TFZauto)3r   Z
matplotlibr   r   Zmatplotlib.backend_basesr   r   r   r   r   r   r	   Zmatplotlib.backend_toolsr
   r   r   Zmatplotlib.testing._markersr   Zmatplotlib.pyplotZpyplotr%   Znumpyr   r/   r   r   r$   r+   r-   Zmarkr   r3   r6   Zparametrizer=   rC   rP   re   rh   rO   r\   r{   r   r   Zparamr   r   r   r   r   r   r"   r#   r   <module>r      s    '& & & 4 $ 9   9 %LP9>- U( ($, 
NP>P>,F&-E`* x&<=\(BC/!;#3#3V<!;#4#4i@ +"2"2G< +"3"3\BDE
3CE D >3Cl	+5< tUU*;<>:	:< ,*I+*IBAJ"
A &%1K$4$4k6G6G#HItUm4(=> 12}P 3 ? 5 J 2
}Pr#   