+
     ]i{  c                   sF    ^ RI t ^ RIt^ RIt^ RIHt ^ RIt ! R R4      t	R# )    Nc                   s  a  ] tR t^
t o ]P
                  P                  R4      R 4       t]P                  P                  RR7      ]P
                  P                  R4      R 4       4       t]P
                  P                  R4      R 4       t]P
                  P                  R4      R 4       t]P                  P                  RR7      ]P
                  P                  R4      R	 4       4       t]P
                  P                  R4      R
 4       t]P
                  P                  R4      R 4       t]P
                  P                  R4      R 4       t]P
                  P                  R4      R 4       t]P
                  P                  R4      R 4       t]P
                  P                  R4      R 4       t]P                  P                  RR7      ]P
                  P                  R4      R 4       4       t]P
                  P                  R4      R 4       t]P
                  P                  R4      R 4       t]P                  P                  RR7      ]P
                  P                  R4      R 4       4       t]P
                  P                  R4      R 4       t]P
                  P                  R4      R 4       t]P
                  P                  R4      R 4       t]P
                  P                  R4      R 4       t]P
                  P                  R4      R 4       t]P
                  P                  R4      R 4       t]P
                  P                  R4      R 4       t]P                  P                  RR7      ]P
                  P                  R4      R 4       4       t ]P
                  P                  R4      R 4       t!]P                  P                  R R7      ]P
                  P                  R4      R! 4       4       t"]P
                  P                  R4      R" 4       t#]P
                  P                  R4      R# 4       t$]P                  P                  R$R7      ]P
                  P                  R4      R% 4       4       t%]P
                  P                  R4      R& 4       t&]P                  P                  R'R7      ]P
                  P                  R4      R( 4       4       t']P                  P                  R)R7      ]P
                  P                  R4      R* 4       4       t(]P                  P                  R+R7      ]P
                  P                  R4      R, 4       4       t)]P
                  P                  R4      R- 4       t*]P
                  P                  R4      R. 4       t+]P                  P                  R/R7      ]P
                  P                  R4      R0 4       4       t,]P
                  P                  R4      R1 4       t-]P                  P                  R2R7      ]P
                  P                  R4      R3 4       4       t.]P                  P                  R4R7      ]P
                  P                  R4      R5 4       4       t/]P
                  P                  R4      R6 4       t0]P
                  P                  R4      R7 4       t1]P
                  P                  R4      R8 4       t2]P
                  P                  R4      R9 4       t3]P                  P                  R:R7      ]P
                  P                  R4      R; 4       4       t4]P
                  P                  R4      R< 4       t5]P                  P                  R=R7      ]P
                  P                  R4      R> 4       4       t6]P                  P                  R?R7      ]P
                  P                  R4      R@ 4       4       t7]P                  P                  RAR7      ]P
                  P                  R4      RB 4       4       t8]P                  P                  RCR7      ]P
                  P                  R4      RD 4       4       t9]P                  P                  RER7      ]P
                  P                  R4      RF 4       4       t:]P                  P                  RGR7      ]P
                  P                  R4      RH 4       4       t;]P
                  P                  R4      RI 4       t<RJt=V t>RK# )LTestDatetimePlottingZdefaultc           	     s   R \         P                  R&   \        P                  ! ^^RR7      w  pw  r#rE\        P                  ! R^
^4      p\        ^4       Uu. uF   qv\        P                  ! VR7      ,           NK"  	  pp\        \        ^^ 4      4      p	Rp
VP                  W4       VP                  W^,          V	^,          3R7       VP                  W4       VP                  W^,          V^,          3R7       VP                  W4       VP                  W^,          V^,          3R7       VP                  W4       VP                  W^,          V^,          3V^,          V^,          3\        RR	7      R
7       R# u upi )concisedate.converterconstrainedlayout  Zdaysz	Test Text)textxyred)	facecolor)r	   r
   ZxytextZ
arrowpropsN)mplrcParamspltsubplotsdatetimerange	timedeltalistplotZannotateZdict)selffigax1ax2ax3ax4
start_dateidatesdata	test_text   &          E/usr/lib64/python3.14/site-packages/matplotlib/tests/test_datetime.pytest_annotateZ"TestDatetimePlotting.test_annotate   s>   )2%&$'LLAm$L!!c&&tR3
BG)L)Qh00a888)LE!RL!	)rDH(=>)a%)(<=)rE!H(=>)q59(= %a%(3u@U 	 	W Ms   &FzTest for arrow not written yet)Zreasonc                V    \         P                  ! 4       w  rVP                  R 4       R# .N)r   r   Zarrowr   r   ax   &  r"   
test_arrowZTestDatetimePlotting.test_arrow   s     ,,.
    c                   R \         P                  R&   \        P                  ! ^^RR7      w  pw  r#pVP	                  \
        P
                  ! R^^4      \
        P
                  ! R^^4      R7       VP	                  \        P                  ! R4      \        P                  ! R4      R7       VP	                  \
        P
                  ! R^	^4      \
        P
                  ! R^^4      R7       VP                  \
        P
                  ! R^^4      R	R
R7       VP                  \        P                  ! R4      RRR7       VP                  \
        P
                  ! R^
^4      RR
R7       R# )r   r   r   r     )bottomZtop
2005-01-01
2005-04-01r         ?ffffff?yxminxmax2005-02-25T03:30皙??r4   r5   皙?N)	r   r   r   r   Zset_ylimr   np
datetime64Zaxhliner   r   r   r   r      &    r"   test_axhlineZ!TestDatetimePlotting.test_axhline%   s   )2%&"||AqG_cH--dAq9!**4A6 	 	8BMM,7|4 	 	6H--dAq9!**4Q7 	 	9h''a3#CHBMM"45CcJh''b"5CcJr*   c                s   R \         P                  R&   \        P                  ! R^^4      p\        ^4       Uu. uF   q!\        P                  ! VR7      ,           NK"  	  pp\        \        ^^ 4      4      p\        P                  ! ^^RRR7      w  pw  rgpVP                  W4RRR7       \        ^ ^^4       F&  pVP                  V^,           V^,           R	R
R7       K(  	  VP                  R4       VP                  R4       VP                  R4       VP                  WCRRR7       \        ^ ^^4       FS  pV\        P                  ! VR7      ,           p	V	\        P                  ! ^R7      ,           p
VP                  WR	R
R7       KU  	  VP                  R4       VP                  R4       VP                  R4       VP                  W3RRR7       \        ^ ^^4       FS  pV\        P                  ! VR7      ,           p	V	\        P                  ! ^R7      ,           p
VP                  WR	R
R7       KU  	  VP                  R4       VP                  R4       VP                  R4       R# u upi )r   r   r   r   Tconstrained_layoutfigsizeoblueZmarkercolorZgreenr0   )yminymaxr   alphaDatetime vs. NumberDateNumberNumber vs. DatetimeDatetime vs. DatetimeN
      )r   r   r   r   r   r   r   r   r   Zaxhspan	set_title
set_xlabel
set_ylabel)r   r   r   r   numbersr   r   r   r   rG   rH   r!   r"   test_axhspanZ!TestDatetimePlotting.test_axhspan3   s   )2%&&&tQ2
BG)L)Qh00a888)LuQ|$"||Aq?C4< >_c 	6:q"aAKKQqSqsgSKI !+,vx 6:q"aA 2 2 ::D(,,!44DKKTsKK ! 	+,x vc8q"aA 2 2 ::D(,,!44DKKTsKK ! 	-.vv= M   &I,zTest for axline not written yetc                r$   r%   )r   r   Zaxliner&   r(   r"   test_axlineZ TestDatetimePlotting.test_axlineX        ,,.
		#r*   c                r+   )r   r   r   r   r,   leftrightr.   r/   r   r0   r1   xrG   rH   r6   r7   r8   )rG   rH   r:   N)	r   r   r   r   set_xlimr   r;   r<   Zaxvliner=   r>   r"   test_axvlineZ!TestDatetimePlotting.test_axvline^   s   )2%&"||AqG_c(++D!Q7#,,T1a8 	 	:"--5==6 	 	8(++D!Q7#,,T2q9 	 	;h''a3#CHBMM"45CcJh''b"5CcJr*   c                s   R \         P                  R&   \        P                  ! R^^4      p\        ^4       Uu. uF   q!\        P                  ! VR7      ,           NK"  	  pp\        \        ^^ 4      4      p\        P                  ! ^^RRR7      w  pw  rgpVP                  W4RRR7       \        ^ ^^4       FS  pV\        P                  ! VR7      ,           p	V	\        P                  ! ^R7      ,           p
VP                  WR	R
R7       KU  	  VP                  R4       VP                  R4       VP                  R4       VP                  WCRRR7       \        ^ ^^4       F&  pVP                  V^,           V^,           R	R
R7       K(  	  VP                  R4       VP                  R4       VP                  R4       VP                  W3RRR7       \        ^ ^^4       FS  pV\        P                  ! VR7      ,           p	V	\        P                  ! ^R7      ,           p
VP                  WR	R
R7       KU  	  VP                  R4       VP                  R4       VP                  R4       R# u upi )r   r   r   r   Tr@   rC   rD   rE   r   r0   )r4   r5   r   rI   rJ   rK   rL   rM   rN   NrO   )r   r   r   r   r   r   r   r   r   ZaxvspanrR   rS   rT   )r   r   r   r   rU   r   r   r   r   r4   r5   r!   r"   test_axvspanZ!TestDatetimePlotting.test_axvspanl   s   )2%&&&tQ2
BG)L)Qh00a888)LuQ|$"||Aq?C4< >_c 	6:q"aA 2 2 ::D(,,!44DKKTSKI ! 	+,vx 6:q"aAKKQqSqse3KG !+,x vc8q"aA 2 2 ::D(,,!44DKKTSKI ! 	-.vv= MrW   c           
     sx   R \         P                  R&   \        P                  ! ^^RR7      w  pw  r#\        P
                  ! \        P                  ! R^^4      \        P                  ! R^^4      \        P                  ! R^^4      \        P                  ! R^	^4      .\        P                  R7      p. R
Op\        P                  ! \        P                  ! R^^4      4      pVP                  WE\        P                  ! ^R4      R7       VP                  \        P                  ! ^4      WF,
          VR7       R	# )r   r   r   r   r,   ZdtypeZD)widthr-   N)i`"  i(
  i4!  i  )r   r   r   r   r;   arrayr   r<   barZtimedelta64arange)r   r   r   r   x_datesx_rangesr^      &      r"   test_barZTestDatetimePlotting.test_bar   s    )2%&,,q!MBZc((!!$2.!!$2.!!$1-!!$2.	 --
 ,MM(++D!Q783)?@		!gk!4r*   c                s`   \        ^4       Uu. uF7  p\        P                  ! R^^4      \        P                  ! VR7      ,           NK9  	  pp. R
Op\        P                  ! ^^RRR7      w  rEVP                  W#4      pTP                  Yc Uu. uF  qw R2NK	  	  upRRR7       R	# u upi u upi )   r   r   r   )rB   r   Z%ZedgeZblack)ZlabelsZ
label_typerF   N)rP      i   i   i   )rP      )r   r   r   r   r   rf   Z	bar_label)r   r   Z	date_listZvaluesr   r'   ZbarsZval   &       r"   test_bar_labelZ#TestDatetimePlotting.test_bar_label   s     :?qC9AA &&tQ2''Q/0 09A 	 C% ,,q!W]Kvvi( 	T"?U!9"? &g 	 	7C #@s   =B&B+
c                s   R \         P                  R&   \        P                  ! R^^^4      p\        ^4       Uu. uF   q!\        P                  ! VR7      ,           NK"  	  pp\
        P                  ! \
        P                  ! ^ ^\
        P                  ,          ^4      4      p\
        P                  ! ^4      ^
,          p\
        P                  ! ^ ^x^
4      p\         P                  ! ^^RR7      w  rxV^ ,          P                  W4WV^R7       V^ ,          P                  R4       V^ ,          P                  R4       V^ ,          P                  R4       V^,          P                  WCWV^R7       V^,          P                  R	4       V^,          P                  R4       V^,          P                  R4       R
# u upi )r   r   i  Zhours)ZnrowsZncolsrB   )ZlengthzDatetime vs. Numeric DataZDatetimezNumeric DatazNumeric vs. Datetime DataN)rQ      )r   r   r   r   r   r;   sinZlinspaceZpiZonesrg   r   ZbarbsrR   rS   rT   )	r   r   r   r   rU   ZuZvr   Zaxes	   &        r"   
test_barbsZTestDatetimePlotting.test_barbs   sK   )2%&&&tQ26
CH9M9ah00q9999M&&QBEE	267GGBK"IIab!LLq7C	Qea15Q56Q:&Q>*Qga15Q56Q>*Q:&# Ns   &F;c           
     s   R \         P                  R&   \        P                  ! ^^RR7      w  pw  r#\        P
                  ! \        P                  ! R^^
4      \        P                  ! R^^4      \        P                  ! R^
^4      \        P                  ! R^^4      .4      p\        P                  ! R^^4      p\        P                  ! R^^4      p. ROpVP                  R4       VP                  R4       VP                  WG\        P                  ! ^
R7      R7       VP                  WVR	7       VP                  R4       VP                  R
4       VP                  \        P                  ! ^4      WE,
          VR7       R# )r   r   r   r   r,   ZAgez
Birth Dater   )rc   ZheightrZ   zOrder of Birth Dates)r[   N)i   i5   rm   i   )r   r   r   r   r;   re   r   rS   rT   Zbarhr   r_   rg   )r   r   r   r   Z
birth_dateZ
year_startZyear_endZagero   r"   	test_barhZTestDatetimePlotting.test_barh   s+   )2%&,,q!MBZcXXx00q"='00q"='00r2>'00r2>@ A
 &&tQ2
$$T2r2u|$x/A/Ar/JK*5|$-.1z4:Fr*   z Test for boxplot not written yetc                r$   r%   )r   r   Zboxplotr&   r(   r"   test_boxplotZ!TestDatetimePlotting.test_boxplot        ,,.


3r*   c                s   R \         P                  R&   \        P                  ! 4       w  rVP	                  \
        P
                  ! R^^4      \
        P                  ! ^R7      3\
        P
                  ! R^^4      \
        P                  ! ^R7      3.RRR7       VP	                  \
        P
                  ! R^^4      \
        P                  ! ^R7      3\
        P
                  ! R^^4      \
        P                  ! ^R7      3.R	RR7       R# )
r   r   r   r   ztab:blue)Z
facecolorsztab:redN)rP   	   )rm   ry   )r   r   r   r   Zbroken_barhr   r   r&   r(   r"   test_broken_barhZ%TestDatetimePlotting.test_broken_barh   s     *3%&,,.
**4A68J8JPQ8RS!**4A68J8JPQ8RSUJ 	 	8 	**4A68J8JPQ8RS"++D!Q79K9KQR9STV i 	 	:r*   c                sh   R \         P                  R&   \        P                  ! 4       w  rR\        P                  ! R^^4      R\        P                  ! R^^
4      R\        P                  ! R^^4      R\        P                  ! R^^4      R\        P                  ! R^^4      R\        P                  ! R^^4      \        P                  ! R^^4      ./.pVP                  VR	R
7       VP                  P                  \         P                  P                  R4      4       VP                  R4       R# )r   r   Zmedr,   Zq1Zq3ZwhisloZwhishiZfliers
horizontal)orientationz%Y-%m-%dzBox plot with datetime dataN)r   r   r   r   r   ZbxpZxaxisZset_major_formatterr   ZDateFormatterrR   )r   r   r'   r   s   &   r"   test_bxpZTestDatetimePlotting.test_bxp   s    )2%&,,.8$$T1b1(##D!R0(##D!R0h''a3h''a4!!$1-!!$2.

 
 	t.
$$SYY%<%<Z%HI
23r*   zTest for clabel not written yetc                r$   r%   )r   r   Zclabelr&   r(   r"   test_clabelZ TestDatetimePlotting.test_clabel  rY   r*   c           
     d   R \         P                  R&   ^
p\        P                  ! ^^RR7      w  pw  r4p\        P
                  ! \        ^V4       Uu. uF  p\        P                  ! R^
V4      NK  	  up4      p\        P
                  ! \        ^V4       Uu. uF  p\        P                  ! R^
V4      NK  	  up4      p\        P
                  ! \        ^V4      4      p	\        P
                  ! \        ^V4      4      p
\        P                  ! Wx4      w  r\        P                  ! W4      w  r\        P                  ! V^,          4      \        P                  ! V^,          4      ,           pVP                  WV4       VP                  WV4       VP                  WV4       R# u upi u upi r   r   r   r   r   N)r   r   r   r   r;   re   r   r   meshgridcosrs   Zcontourr   range_thresholdr   r   r   r   deltarh   y_datesri   y_rangesZX_datesZY_datesZX_rangesZY_rangesZZ_ranges   &               r"   test_contourZ!TestDatetimePlotting.test_contour  sK   )2%&"||AqG_c((=B1o=VW=VEXtR/=VW
 ((=B1o=VW=VEXtR/=VW
 88E!_5688E!_56;;w8[[<66(Q,'"&&A*>>Gh/Gx0Hx0 X X   !F(!F-c           
     r   r   )r   r   r   r   r;   re   r   r   r   r   rs   Zcontourfr   r   r"   test_contourfZ"TestDatetimePlotting.test_contourf$  sK   )2%&"||AqG_c((=B1o=VW=VEXtR/=VW
 ((=B1o=VW=VEXtR/=VW
 88E!_5688E!_56;;w8[[<66(Q,'"&&A*>>Wx0W1X1 X Xr   c           
     s4   R \         P                  R&   \        P                  ! ^^RR7      w  pw  r#rE^p\        P                  ! R^^4      p\
        P                  ! \        ^V4       Uu. uF  p\        P                  ! R^
V4      NK  	  up4      p	\
        P                  ! \        ^V4       Uu. uF  p\        P                  ! R^
V4      NK  	  up4      p
\        P                  ! ^R7      p\        P                  ! ^R7      p\        \        ^V4      4      p\        \        ^V4      4      pRpRpVP                  WV^
RRR	7       VP                  WWRR
RR7       VP                  WWRRRR7       VP                  WVVRRRR7       R# u upi u upi )r   r   r   r   r   r   r0   TZData)yerrZcapsizeZ	barsabovelabelz-o)xerrr   Z
erroreveryZfmtr   )r   r   ZlolimsZxlolimsr   )r   r   ZuplimsZxuplimsr   N      )r   r   r   r   r   r;   re   r   r   r   Zerrorbar)r   r   r   r   r   r   Zlimitr   drh   r   Zx_date_errorZy_date_errorx_valuesy_valuesZx_value_errorZy_value_errors   &                r"   test_errorbarZ"TestDatetimePlotting.test_errorbar<  s~   )2%&$'LLAm$L!!c&&tQ2
((E!UOTOqH--dB:OTU((E!UOTOqH--dB:OTU))q1))q1a(a(W'#!	 	 	#
 	X' &V 	 	- 	W& $! 	 	# 	W&] $! 	 	#/ UTs   +!F1!Fc           
     s   R \         P                  R&   \        P                  ! ^^RR7      w  pw  r#p\        P
                  ! \        P                  ! R^^4      \        P                  ! R^^4      \        P                  ! R^^4      \        P                  ! R^	^4      .\        P                  R7      pVP                  V4       \        P                  P                  R4       \        P                  ! R^^4      p\        P                  ! R^
^4      pWv,
          pV\        P                  P                  ^4      V,          ,           p	V\        P                  P                  ^
4      V,          ,           p
V\        P                  P                  ^24      V,          ,           p. R	Op\        P
                  ! . R
O4      p. ROpVP                  WV.VVVR7       \        P
                  ! \        P                  ! R^^4      \        P                  ! R^^4      \        P                  ! R^^4      .\        P                  R7      pVP                  WV.VVVR7       R# )r   r   r   r   r,   rb   !N,)ZcolorsZlineoffsetsZlinelengthsN)ZC1ZC2ZC3)r   rr   rn   )rl   r      )r   r   r   r   r;   re   r   r<   Z	eventplotrandomseedrand)r   r   r   r   r   x_dates1r   Zend_dateZ
date_rangeZdates1Zdates2Zdates3Zcolors1Zlineoffsets1Zlinelengths1Zlineoffsets2r   r"   test_eventplotZ#TestDatetimePlotting.test_eventplot_  s   )2%&"||AqG_c88X..tQ;%..tQ;%..tQ:%..tQ;> #%--	 	h
		x &&tQ2
$$T2r2*
biinnR0:==biinnR0:==biinnR0:==$xx	* vv.$".". 	 	0
 xxdAq)dAr*dAq)!
 	  	vv.$".". 	 	0r*   c                s   R \         P                  R&   \        P                  ! ^^RR7      w  pw  r#rE\        P
                  P                  R4       \        P                  ! R^^4      pV.p\        ^^4       FP  pV\        P                  ! \        P
                  P                  ^^4      R7      ,          pVP                  V4       KR  	  \        P                  ! R^^4      p	V	.p
\        ^^4       FP  pV	\        P                  ! \        P
                  P                  ^^4      R7      ,          p	V
P                  V	4       KR  	  \        P
                  P                  ^4      ^,          p\        P
                  P                  ^4      ^,          ^,
          pVP                  W|4       VP                  W4       VP                  W4       VP                  Wz4       R# )r   r   r   r   r   r   r   N)r   r   r   r   r;   r   r   r   r   r   randintappendr   Zfill)r   r   r   r   r   r   x_base_daterh   Z_y_base_dater   r   r      &            r"   	test_fillZTestDatetimePlotting.test_fill  s^   )2%&$'LLAm$L!!c
		x ''a3-q!A8--2993D3DQ3JKKKNN;'  ''a3-q!A8--2993D3DQ3JKKKNN;'  99>>!$q(99>>!$q(1,##$"r*   c                s   R \         P                  R&   \        P                  P	                  R4       \
        P
                  ! R^^4      pV.p\        ^^
4       FP  pV\
        P                  ! \        P                  P                  ^^4      R7      ,          pVP                  V4       KR  	  V.p\        ^^
4       FP  pV\
        P                  ! \        P                  P                  ^^4      R7      ,          pVP                  V4       KR  	  \        P                  P                  ^
4      ^
,          pVP                  4        \        P                  P                  ^
4      ^
,          pV\        P                  P                  ^
4      ^
,          ,           pVP                  4        VP                  4        \
        P
                  ! R^^4      pV.p	\        ^^
4       FP  pV\
        P                  ! \        P                  P                  ^^
4      R7      ,          pV	P                  V4       KR  	  \        P                  ! ^^RR7      w  p
w  rpVP                  WRV4       VP                  WV4       VP                  WV4       R# r   r   r   r   r   r   r   N)r   r   r;   r   r   r   r   r   r   r   r   sortr   r   Zfill_between)r   r   Zy_dates1r   Zy_dates2r   Z	y_values1Z	y_values2r   rh   r   r   r   r      &             r"   test_fill_betweenZ&TestDatetimePlotting.test_fill_between  s   )2%&
		x ''a3=q"A8--2993D3DQ3JKKKOOK(   =q"A8--2993D3DQ3JKKKOOK(  99>>"%*IINN2&+			r 2R 77	''a3-q"A8--2993D3DQ3KLLKNN;'   #||AqG_cX6Y7H5r*   c                s   R \         P                  R&   \        P                  P	                  R4       \
        P
                  ! R^^4      pV.p\        ^^
4       FP  pV\
        P                  ! \        P                  P                  ^^4      R7      ,          pVP                  V4       KR  	  V.p\        ^^
4       FP  pV\
        P                  ! \        P                  P                  ^^4      R7      ,          pVP                  V4       KR  	  \        P                  P                  ^
4      ^
,          pVP                  4        \        P                  P                  ^
4      ^
,          pV\        P                  P                  ^
4      ^
,          ,           pVP                  4        VP                  4        \
        P
                  ! R^^4      pV.p	\        ^^
4       FP  pV\
        P                  ! \        P                  P                  ^^
4      R7      ,          pV	P                  V4       KR  	  \        P                  ! ^^RR7      w  p
w  rpVP                  WRV4       VP                  WV4       VP                  WV4       R# r   )r   r   r;   r   r   r   r   r   r   r   r   r   r   r   Zfill_betweenx)r   r   r   r   Zx_dates2r   Z	x_values1Z	x_values2r   r   r   r   r   r   r   r"   test_fill_betweenxZ'TestDatetimePlotting.test_fill_betweenx  s   )2%&
		x ''a3=q"A8--2993D3DQ3JKKKOOK(   =q"A8--2993D3DQ3JKKKOOK(  99>>"%*IINN2&+			r 2R 77	''a3-q"A8--2993D3DQ3KLLKNN;'   #||AqG_c(h7'i8'X6r*   zTest for hexbin not written yetc                r$   r%   )r   r   Zhexbinr&   r(   r"   test_hexbinZ TestDatetimePlotting.test_hexbin  rY   r*   c                s
   R \         P                  R&   \        P                  ! R^
^4      p\        P                  ! ^R7      p\        P
                  P                  ^^
^4      p\        P
                  P                  ^^
^4      p\        P
                  P                  ^^
^4      p\        ^4       Uu. uF  qaWb,          ,           NK  	  pp\        P                  ! ^^RR7      w  pw  rpT	P                  \        ^4       Uu. uF  qaWb,          ,           NK  	  up^
VR7       T
P                  \        ^4       Uu. uF  qaWb,          ,           NK  	  up^
VR7       TP                  \        ^4       Uu. uF  qaWb,          ,           NK  	  up^
VR7       \        P                  ! ^^RR7      w  pw  rpTP                  \        ^4       Uu. uF  qaWb,          ,           NK  	  upVVR7       TP                  \        ^4       Uu. uF  qaWb,          ,           NK  	  upVVR7       TP                  \        ^4       Uu. uF  qaWb,          ,           NK  	  upVVR7       R# u upi u upi u upi u upi u upi u upi u upi )r   r   r   r   TrA   )ZbinsZweightsN)r   r   r   r   r;   r   r   r   r   r   Zhist)r   r   
time_deltavalues1values2values3r   	bin_edgesr   r   r   r   r   ax5ax6s   &              r"   	test_histZTestDatetimePlotting.test_hist  s?   )2%&&&tR3
''Q/
))##Ar2.))##Ar2.))##Ar2.:?)D)Q!.00)	D"||AqTJ_c27)<)Q!.(()< 	 	

 	27)<)Q!.(()< 	 	

 	27)<)Q!.(()< 	 	
  #||AqTJ_c27)<)Q!.(()< 	 	

 	27)<)Q!.(()< 	 	

 	27)<)Q!.(()< 	 	
= E =
 =
 = =
 =
 =s*   3I"I'<I,5I1I6I;?J zTest for hist2d not written yetc                r$   r%   )r   r   Zhist2dr&   r(   r"   test_hist2dZ TestDatetimePlotting.test_hist2d"  rY   r*   c           	     s   R \         P                  R&   \        P                  ! ^^RR7      w  r. ROp\	        ^^4       Uu. uF"  p\
        P
                  ! RV^,          ^
4      NK$  	  pp\	        ^^^4       Uu. uF  p\
        P
                  ! R^V4      NK  	  pp\	        ^^^4       Uu. uF  p\
        P
                  ! R^V4      NK  	  ppV U	u. uF  p	\        P                  ! V	4      NK  	  p
p	VR,          P                  V. RO. ROR7       VR,          P                  V\
        P
                  ! R^^
4      \
        P
                  ! R^^4      R7       VR,          P                  VVVR7       VR,          P                  VRR	R7       VR,          P                  V
. RO. ROR7       VR,          P                  V
VVR7       VR,          P                  V
\
        P
                  ! R^^
4      \
        P
                  ! R^^4      R7       VR,          P                  V
RR	R7       R
# u upi u upi u upi u up	i )r   r   r   r   r   r2   r,   r9   g?g?N)z
2023-03-08z
2023-04-09z
2023-05-13z
2023-07-28z
2023-12-24)r    r    )r7   g?333333?r:   r0   )r0   g333333?r1   g?r8   )r    r   )r    r   )r    r   )r   r    r   )r   r   )r   r   )	r   r   r   r   r   r   r;   r<   Zhlines)r   r   axsZdateStrsZmr   r   Z
date_startZdate_endZsZnpDatesr!   r"   test_hlinesZ TestDatetimePlotting.test_hlines(  s    )2%&<<1];"
 <AA;G;a""41b1;G=B1b!_M_h''a3_
M;@B?K?aH%%dAq1?K-56X2==#X6D	577 	 	9 	D	&//a<&//a< 	 	> 	D	(& 	 	( 	D	"" 	 	$ 	D	777 	 	9 	D	7(& 	 	( 	D	&//a<&//a< 	 	> 	D	"" 	 	$3 HMK6s   (H.:!H3,!H8H=c                s$   \         P                  ! 4       w  r\        P                  ! \	        ^4      4      p\
        P
                  ! R^^4      p\
        P
                  ! R^^4      pWEWE3pVP                  W6R7       VP                  R^ZR7       R# )rl   i  extentr^   )ZaxisZlabelrotationN)r   r   r;   diagr   r   ZimshowZtick_params)r   r   r'   adt_startdt_endr   rj   r"   test_imshowZ TestDatetimePlotting.test_imshowN  sq    ,,.GGE!H$$T2q1""4R0H5
		!	#
Cr2r*   zTest for loglog not written yetc                r$   r%   )r   r   Zloglogr&   r(   r"   test_loglogZ TestDatetimePlotting.test_loglogX  rY   r*   c                sN   \         P                  ! \        ^4      4      p\        P                  ! R^^4      p\        P                  ! R^^4      pW#W#3p\        P
                  ! 4       w  rVVP                  WR7       VP                  4        F  pVP                  ^Z4       K  	  R# )rl     r,   r   N)	r;   r   r   r   r   r   Zmatshowget_xticklabelsset_rotation)r   r   r   r   r   r   r'   r   ro   r"   test_matshowZ!TestDatetimePlotting.test_matshow^  s    GGE!H$$T1b1""4R0H5,,.


1
$'')Er" *r*   zTest for pcolor not written yetc                r$   r%   )r   r   Zpcolorr&   r(   r"   test_pcolorZ TestDatetimePlotting.test_pcolori  rY   r*   z#Test for pcolorfast not written yetc                r$   r%   )r   r   Z
pcolorfastr&   r(   r"   test_pcolorfastZ$TestDatetimePlotting.test_pcolorfasto       ,,.
cr*   z#Test for pcolormesh not written yetc                r$   r%   )r   r   Z
pcolormeshr&   r(   r"   test_pcolormeshZ$TestDatetimePlotting.test_pcolormeshu  r   r*   c           
        R \         P                  R&   ^p\        P                  ! ^^RR7      w  pw  r4p\        P
                  ! \        ^V4       Uu. uF  p\        P                  ! R^	V4      NK  	  up4      pVP                  V\        ^V4      4       VP                  \        ^V4      V4       VP                  Ww4       R# u upi r   )	r   r   r   r   r;   re   r   r   r   r   Nr   r   r   r   nr^   ro   r"   	test_plotZTestDatetimePlotting.test_plot{      )2%&"||AqG_cHHU1a[I[h''a3[IJE!QK q!a  J   !Cc           
     s   R \         P                  R&   ^
p\        P                  ! ^^RR7      w  pw  r4p\        P
                  ! \        ^V4       Uu. uF  p\        P                  ! R^
V4      NK  	  up4      p\        P
                  ! \        ^V4       Uu. uF  p\        P                  ! R^
V4      NK  	  up4      p\        P
                  ! \        ^V4      4      p	\        P
                  ! \        ^V4      4      p
\        P                  ! \         P                  4      ;_uu_ 4        VP                  Wx4       VP                  Wz4       VP                  W4       RRR4       R# u upi u upi   + '       g   i     R# ; ir   )r   r   r   r   r;   re   r   r   pytestZwarnsZMatplotlibDeprecationWarningZ	plot_date)r   r   r   r   r   r   r   rh   r   ri   r   r!   r"   test_plot_dateZ#TestDatetimePlotting.test_plot_date  s(   )2%&"||AqG_c((=B1o=VW=VEXtR/=VW
 ((=B1o=VW=VEXtR/=VW
 88E!_5688E!_56\\#::;;MM'+MM',MM(, <; X X
 <;;s   !E+!E0-4E55F	zTest for quiver not written yetc                r$   r%   )r   r   Zquiverr&   r(   r"   test_quiverZ TestDatetimePlotting.test_quiver  rY   r*   c                s`   R \         P                  R&   \        P                  ! R^^4      p\        ^
4       Uu. uF'  q!\        P                  ! ^V,          R7      ,           NK)  	  pp\        V4      p\        P                  P                  R4       \        P                  ! \        P                  P                  V4      4      p\        P                  ! ^^RR	R7      w  rgV^ ,          P                  W54       V^ ,          P                  4        F%  pVP                  ^(4       VP!                  R4       K'  	  V^,          P                  WS4       V^,          P                  W34       V^,          P                  4        F%  pVP                  ^(4       VP!                  R4       K'  	  R# u upi )
r   r   i  rq   r   r   )r   rB   r\   N)rr   rr   )r   r   r   r   r   Zlenr;   r   r   ZcumsumZrandnr   r   Zscatterr   r   Zset_horizontalalignment)	r   Zbaser   r   r   r3   r   r   r   rt   r"   test_scatterZ!TestDatetimePlotting.test_scatter  s:   )2%&  q!,CH9M9a**!a%9999MJ
		x IIbiiooa()<<1]FKAu V++-Er"))'2 . 	Aq Au$V++-Er"))'2 . Ns   -F+z!Test for semilogx not written yetc                r$   r%   )r   r   Zsemilogxr&   r(   r"   test_semilogxZ"TestDatetimePlotting.test_semilogx       ,,.
Cr*   z!Test for semilogy not written yetc                r$   r%   )r   r   Zsemilogyr&   r(   r"   test_semilogyZ"TestDatetimePlotting.test_semilogy  r   r*   c           
     s   R \         P                  R&   ^
p\        P                  ! \        P                  ! ^V4      R4      p\        P
                  ! \        V^,
          4       Uu. uF"  p\        P                  ! RV,           ^^4      NK$  	  up4      p\        P                  ! RR7      w  rVVP                  WB4       R# u upi )r   r   r,   r   r   N)i   r   )r   r   r;   Ztilerg   re   r   r   r   r   Z	stackplot)r   r   Zstacked_numsr   r   r   r'   rj   r"   test_stackplotZ#TestDatetimePlotting.test_stackplot  s    )2%&wwryyA7U1q5\R\(++D1Ha;\RS,,m4
U) Ss   &(Cc           	     s   R \         P                  R&   \        P                  ! R^^4      p\        P                  ! ^R7      p\        P                  ! R^^4      p\	        ^4       Uu. uF  qAWB,          ,           NK  	  pp\
        P                  ! ^4      p\
        P                  P                  R4       \
        P                  P                  ^^d^4      p\
        P                  P                  ^R^4       Uu. uF*  pV\        P                  ! \        V4      R7      ,           NK,  	  pp\
        P                  P                  RR^4       Uu. uF*  pV\        P                  ! \        V4      R7      ,           NK,  	  p	p\        P                  ! ^^RR7      w  p
w  rpVP                  WuR	7       VP                  WVR
7       VP                  WVR
7       R# u upi u upi u upi )r   r   r   r   r   i@ i'  Tr   )edges)r   ZbaselineNi)r   r   r   r   r   r;   rg   r   r   r   Zintr   r   Zstairs)r   r   r   Zbaseline_dater   r   Zedge_intr   r   r   r   r   r   r   r   r"   test_stairsZ TestDatetimePlotting.test_stairs  s   )2%&&&tR3
''Q/
 ))$15:?)D)Q!.00)	D99R=
		v))##AsB/II--a;=;q  2 2A ???; 	 = II--feR@B@q  2 2A ???@ 	 B  #||AqTJ_c

7
,

7]
C

7m
D E=Bs   (G:0G0G$c           
     sB   R \         P                  R&   \        P                  ! ^^RR7      w  pw  r#rErg^
p\        P                  ! R^	^4      p	\        P                  ! R^^4      p
\
        P                  ! ^V4      p\
        P                  ! ^V4      p\
        P                  ! \        ^V4       Uu. uF  p\        P                  ! R^
V4      NK  	  up4      p\
        P                  ! \        ^V4       Uu. uF  p\        P                  ! R^
V4      NK  	  up4      pVP                  WV	R7       VP                  W^R7       VP                  WV
R7       VP                  WRV	R7       VP                  WR^R7       VP                  WRV
R7       R# u upi u upi )	r   r   r   r   r   rd   r{   )r|   r-   N)
r   r   r   r   r   r;   rg   re   r   Zstem)r   r   r   r   r   r   r   r   limit_valueZaboveZbelowri   r   r   rh   r   r   r"   	test_stemZTestDatetimePlotting.test_stem  sb   )2%&.1ll1a.V++c#!!$2.!!$B/99Q,99Q,((5:1k5JK5JXtR+5JK
 ((5:1k5JK5JXtR+5JK
 	%01-51UKQGUK L Ls   2!F8!Fc           
     r   r   )	r   r   r   r   r;   re   r   r   Zstepr   ro   r"   	test_stepZTestDatetimePlotting.test_step  r   r   z#Test for streamplot not written yetc                r$   r%   )r   r   Z
streamplotr&   r(   r"   test_streamplotZ$TestDatetimePlotting.test_streamplot  r   r*   c           
     s<   R \         P                  R&   \        P                  ! ^^RR7      w  pw  r#p^
pRRR^RR/p\        P                  ! R	^
^4      p\
        P                  ! \        ^V4      4      p\
        P                  ! \        ^V4      4      p	\
        P                  ! \        ^V4       U
u. uF  p
\        P                  ! R	^
V
4      NK  	  up
4      p\
        P                  ! \        ^V4       U
u. uF  p
\        P                  ! R	^
V
4      NK  	  up
4      pVP                  W4       VP                  ! V^R
3/ VB  VP                  W4       VP                  ! ^VR
3/ VB  VP                  W4       VP                  ! WwR
3/ VB  R# u up
i u up
i )r   r   r   r   ZfamilyZserifZsizeZweightZboldr   zInserted TextN)
r   r   r   r   r   r;   re   r   r   r	   )r   r   r   r   r   r   Zfont_propertiesZ	test_dateZx_dataZy_datar   rh   r   r   r"   r    ZTestDatetimePlotting.test_text  sb   )2%&"||AqG_c#Wfb(FK%%dB2	%;/0%;/0((5:1k5JK5JXtR+5JK
 ((5:1k5JK5JXtR+5JK
 	!AB/B!IB/B"J/J L Ls   3!F9!Fz#Test for tricontour not written yetc                r$   r%   )r   r   Z
tricontourr&   r(   r"   test_tricontourZ$TestDatetimePlotting.test_tricontour)  r   r*   z$Test for tricontourf not written yetc                r$   r%   )r   r   Ztricontourfr&   r(   r"   test_tricontourfZ%TestDatetimePlotting.test_tricontourf/  s     ,,.
sr*   z"Test for tripcolor not written yetc                r$   r%   )r   r   Z	tripcolorr&   r(   r"   test_tripcolorZ#TestDatetimePlotting.test_tripcolor5  s     ,,.
Sr*   z Test for triplot not written yetc                r$   r%   )r   r   Ztriplotr&   r(   r"   test_triplotZ!TestDatetimePlotting.test_triplot;  rx   r*   zTest for violin not written yetc                r$   r%   )r   r   Zviolinr&   r(   r"   test_violinZ TestDatetimePlotting.test_violinA  rY   r*   z#Test for violinplot not written yetc                r$   r%   )r   r   Z
violinplotr&   r(   r"   test_violinplotZ$TestDatetimePlotting.test_violinplotG  r   r*   c           	     s   R \         P                  R&   \        P                  ! ^^RR7      w  pw  r#pVP	                  \
        P
                  ! R^^4      \
        P
                  ! R^^4      R7       VP                  \
        P
                  ! R^^
4      \
        P
                  ! R^^4      \
        P
                  ! R^^4      .. RO. ROR7       VP	                  ^ RR7       VP                  RR	.\        P                  ! R
4      \        P                  ! R4      .\        P                  ! R4      \        P                  ! R4      .R7       VP	                  \
        P
                  ! R^^4      \
        P
                  ! R^^4      R7       VP                  \
        P
                  ! R^	^4      \
        P
                  ! R^^
4      .\
        P
                  ! R^^4      \
        P
                  ! R^^4      R7       R# )r   r   r   r   r   rZ   r0   r]   r   gffffff?z
2023-03-20z
2023-03-31z
2023-05-01z
2023-05-16N)r          ?r0   )r   r0   g      ?)	r   r   r   r   r_   r   Zvlinesr;   r<   r=   r>   r"   test_vlinesZ TestDatetimePlotting.test_vlinesM  s   )2%&"||AqG_c(++D!Q7#,,T1b9 	 	;

h''a4''a4''a35 ')	 	 	+
 	! 	 	 

c4[|4bmmL6QR|4bmmL6QR 	 	T 	(++D!Q7#,,T2r: 	 	<

h''a3X5F5FtRQS5TU ))$26 ))$26 	 	8r*    N)?Z__name__Z
__module__Z__qualname__Z__firstlineno__r   ZstyleZcontextr#   r   ZmarkZxfailr)   r?   rV   rX   r`   ra   rk   rp   ru   rv   rw   rz   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__static_attributes__Z__classdictcell__)Z__classdict__s   @r"   r   r   
   sB	    YYy!W "W& [[>?YYy! " @ 	YYy!K "K 	YYy!" ""H [[?@YYy! " A 	YYy!K "K 	YYy!" ""H 	YYy!5 "5( 	YYy!7 "7 	YYy!' "'. 	YYy!G "G$ [[@AYYy! " B 	YYy!
: "
: 	YYy!4 "4$ [[?@YYy! " A 	YYy!1 "1. 	YYy!2 "2. 	YYy! # " #D 	YYy!*0 "*0X 	YYy!# "#4 	YYy! 6 " 6D 	YYy! 7 " 7D [[?@YYy! " A 	YYy!,
 ",
\ [[?@YYy! " A 	YYy!#$ "#$J 	YYy!3 "3 [[?@YYy! " A 	YYy!# "# [[?@YYy! " A [[CDYYy! " E [[CDYYy! " E 	YYy! " 	YYy!- "-& [[?@YYy! " A 	YYy!3 "3* [[ABYYy! " C [[ABYYy! " C 	YYy!* "* 	YYy!E "E* 	YYy!L "L6 	YYy! " [[CDYYy! " E 	YYy!K "K6 [[CDYYy! " E [[DEYYy! " F [[BCYYy! " D [[@AYYy! " B [[?@YYy! " A [[CDYYy! " E 	YYy!8 "8r*   r   )
r   Znumpyr;   r   Zmatplotlib.pyplotZpyplotr   Z
matplotlibr   r   r   r*   r"   <module>r      s         W8 W8r*   