+
    xȇi                        R t ^ RIHt ^ RIHt ^ RIt^ RIt^ RIHt ^ RI	H
u Ht ^ RIt^ RIHtHtHtHtHt ^ RIHt ^ RIHtHtHtHtHtHtHtHtH t H!t!H"t" ^ RI#H$t$ ]PJ                  ! R4      t&]PJ                  ! R	4      t'^ R
I(H)t) ^ RI*H+t+ ]PX                  P[                  R4      ]PX                  P[                  R4      .t.]P^                  R 4       t0]P^                  R 4       t1 ! R R4      t2R# )zTest cases for Series.plot)datetime)chainN)is_platform_linux)	DataFrameSeries
date_rangeperiod_rangeplotting)_check_ax_scales_check_axes_shape_check_colors_check_grid_settings_check_has_errorbars_check_legend_labels_check_plot_works_check_text_labels_check_ticks_props_unpack_cycler
get_y_axis)CustomBusinessDay
matplotlibzmatplotlib.pyplot)DatetimeConverterget_standard_colorszAignore:divide by zero encountered in scalar divide:RuntimeWarningzBignore:invalid value encountered in scalar multiply:RuntimeWarningc                  |    \        \        P                  ! ^
\        P                  R7      \	        R^
R7      RR7      # )
   dtype
2020-01-01periodstsindexname)r   nparangefloat64r        q/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/plotting/test_series.pyr!   r!   5   s.    
		"BJJ'r2 r)   c            
          \        \        ^
4      \        P                  R\        ^
4       U u. uF  p RV  2NK
  	  up R7      # u up i )r   seriesi_)r   r$   r#   )r   ranger%   r'   )is    r*   r,   r,   >   s=    b	(USUY:WYRs8Y:W :Ws   Ac                     a  ] tR t^Et o ]P
                  P                  ]P
                  P                  RRR/RR/.4      R 4       4       t]P
                  P                  R 4       t	]P
                  P                  ]P
                  P                  RR	R
/RR/.RR
/RR/.RR
/RRRR/..4      R 4       4       t
]P
                  P                  R 4       t]P
                  P                  R 4       tR t]P
                  P                  RRRR]P                  ! R]P                   ! R4      R7      RR.4      R 4       tR tR t]P
                  P                  R/ R R/R R/.4      R! 4       tR" tR# t]P
                  P                  R/ R$R
/.4      R% 4       tR& tR' tR( tR) tR* tR+ tR, tR- tR. t R/ t!R0 t"]P
                  P                  R1R2]#! R3^R47      .4      R5 4       t$R6 t%R7 t&]P
                  PO                  ](! 4       R8RR97      ]P
                  P                  R:RR.4      R; 4       4       t)]P
                  PO                  ](! 4       R8RR97      ]P
                  P                  R<. RO. RO.4      R= 4       4       t*R> t+R? t,R@ t-RA t.RB t/RC t0RD t1RE t2RF t3RG t4RH t5RI t6RJ t7RK t8RL t9RM t:RN t;RO t<]P
                  P                  RPRR.4      ]P
                  P                  RQ/ R$R
/.4      RR 4       4       t=RS t>]P
                  P                  RTRU^.R2^.R2]?P                  ! ^4      .RV]?P                  ! R^d^4      ..4      RW 4       tB]P
                  P                  RX. RO. ROR2]?P                  ! ^4      R2.RV]?P                  ! R^d^4      R2.RU^(]?P                  ! RYRZ^24      ..4      R[ 4       tCR\ tDR] tER^ tF]P
                  PO                  R_R`7      Ra 4       tG]P
                  P                  R]HP                  P                  ]HP                  P                  ,           4      Rb 4       tL]P
                  P                  R]HP                  P                  ]HP                  P                  ,           4      Rc 4       tM]P
                  P                  R]HP                  P                  4      Rd 4       tN]P
                  P                  R]HP                  P                  4      Re 4       tO]P
                  P                  R]HP                  P                  4      Rf 4       tPRg tQRh tRRi tSRj tT]P
                  P                  ]P
                  P                  RRR.4      ]P
                  P                  Rk]U! ]?P                  ! ]?P                  P                  ^4      P                  ^
4      4      4      ]?P                  ! ]?P                  P                  ^4      P                  ^
4      4      ]Z! ]?P                  ! ]?P                  P                  ^4      P                  ^
4      4      4      ][! ]?P                  ! ]?P                  P                  ^4      P                  R4      4      RlRm.Rn7      .4      Ro 4       4       4       t\]P
                  P                  Rp 4       t]]P
                  P                  ]P
                  P                  Rk]U! ]?P                  ! ]?P                  P                  ^4      P                  ^4      4      4      ][! ]?P                  ! ]?P                  P                  ^4      P                  R4      4      RlRm.Rn7      .4      Rq 4       4       t^]P
                  P                  Rr 4       t_]P
                  P                  Rs 4       t`]P
                  P                  Rt 4       ta]P
                  P                  Ru 4       tb]P
                  P                  Rv 4       tc]P
                  P                  Rw. RO4      Rx 4       tdRy teRz tfR{ tgR| thR} tiR~ tjR tk]P
                  PO                  RR`7      R 4       tl]P
                  P                  RRR.4      R 4       tmR tnR to]P
                  P                  R. RO. RO3. RO. RO3.4      R 4       tpR tq]P
                  P                  R. RO4      ]P
                  P                  R. RO4      R 4       4       tr]P
                  P                  R1]sP                  ! ^ ^RR7      ]sP                  ! ^R7      ]sP                  ! ^R7      ..4      R 4       tvR tw]P
                  P                  R 4       txR tyR tzRt{V t|R2# )TestSeriesPlotskwargslabelfoo	use_indexFc                2    \        VP                  3/ VB  R # Nr   plot)selfr!   r2   s   &&&r*   	test_plotTestSeriesPlots.test_plotF   s     	"'',V,r)   c                N    \        VP                  ^ R7      p\        V^ R7       R# )    )rotxrotN)r   r9   r   )r:   r!   axess   && r*   test_plot_tick_props$TestSeriesPlots.test_plot_tick_propsK   s     a04a(r)   zscale, exp_scalelogyTyaxisloglogxxaxisloglogc                N    \        VP                  3R R/VB p\        V3/ VB  R# )style.N)r   r9   r
   )r:   r!   scale	exp_scaleaxs   &&&& r*   test_plot_scales TestSeriesPlots.test_plot_scalesP   s)     rww;c;U;)y)r)   c                R    \        VR ,          P                  P                  4       R# :Nr   NN)r   r9   barr:   r!   s   &&r*   test_plot_ts_bar TestSeriesPlots.test_plot_ts_bar]   s    "S',,**+r)   c                H    \        VP                  P                  R R7       R# )FstackedN)r   r9   arearV   s   &&r*   test_plot_ts_area_stacked)TestSeriesPlots.test_plot_ts_area_stackeda   s    "'',,6r)   c                p    \        \        ^4      \        R^R7      4      p\        VP                  4       R# )   r   r   N)r   r.   r   r   r9   r:   sers   & r*   test_plot_iseries!TestSeriesPlots.test_plot_iseriese   s%    U1X|L!DE#((#r)   kindlinerU   barhkdescipy)markshistboxc                B    \        VR ,          P                  VR7       R# ):Nr`   Nre   Nr8   )r:   r,   re   s   &&&r*   test_plot_series_kinds&TestSeriesPlots.test_plot_series_kindsi   s     	&*//5r)   c                R    \        VR ,          P                  P                  4       R# rT   )r   r9   rg   r:   r,   s   &&r*   test_plot_series_barh%TestSeriesPlots.test_plot_series_barhw   s    &+**//0r)   c                    \        \        \        P                  P	                  ^4      P                  ^
4      4      P                  P                  RR7      p\        VP                  ^ ,          .R.R7       R# )   blackcolor
facecolorsN)
r   r   r%   randomdefault_rngstandard_normalr9   rU   r   patches)r:   rP   s   & r*   test_plot_series_bar_ax'TestSeriesPlots.test_plot_series_bar_axz   sU    299((+;;B?@EEIIQX
 	rzz!}o7)<r)   layoutc                R    \        VP                  3R R/VB p\        V^RR7       R# )subplotsT)axes_numr   N   r   )r   r9   r   )r:   r!   r2   rP   s   &&& r*   test_plot_6951TestSeriesPlots.test_plot_6951   s(     rww@@@"q8r)   c                    \         P                  P                  4       w  r#VP                  R RVR7      p\	        VP
                  R 4       \        V^RRR7       R# )Test)titlefigsizerP   )r   r   r   N)      r   )mplpyplotr   r9   r   r   r   )r:   r,   _rP   s   &&  r*   test_plot_figsize_and_title+TestSeriesPlots.test_plot_figsize_and_title   sF    

##%[[vw2[>288V,"qIr)   c                   R p\         P                  P                  V,          p\         P                  P                  4       w  r4\	        . RO4      P                  VR7       V\         P                  P                  V,          8X  g   Q hR# )zaxes.prop_cyclerP   Nr   rv      )r   r   rcParamsr   r   r9   )r:   keycolorsr   rP   s   &    r*   test_dont_modify_rcParams)TestSeriesPlots.test_dont_modify_rcParams   sb    $$S)

##%y"%,,S1111r)   secondary_yc                f   \         P                  P                  4       w  r4VP                  ! RR V/VB pVP	                  4       w  rVVP                  4       pWW^ ,          P                  RR7      ^ ,          ^ ,          8:  g   Q hWg^ ,          P                  RR7      ^ ,          R,          8  g   Q hR# )rP   ForigNr(   )r   r   r   r9   get_xlim	get_linesget_data)r:   r!   r2   r   rP   xminxmaxliness   &&&     r*   test_ts_line_lim TestSeriesPlots.test_ts_line_lim   s    

##%WW%%f%[[]
Qx((e(4Q7::::Qx((e(4Q7;;;;r)   c                V   \         P                  P                  4       w  r#VP                  P	                  R VR7      pVP                  4       w  rEVP                  4       ^ ,          P                  R R7      ^ ,          pWF^ ,          8:  g   Q hWVR,          8  g   Q h\        V^ R7       R# )F)r[   rP   r   r@   Nr   	r   r   r   r9   r\   r   r   r   r   r:   r!   r   rP   r   r   rf   s   &&     r*   test_ts_area_lim TestSeriesPlots.test_ts_area_lim   s    

##%WW\\%B\/[[]
||~a ))u)5a8AwBx2A&r)   c                X   \         P                  P                  4       w  r#VP                  P	                  R RVR7      pVP                  4       w  rEVP                  4       ^ ,          P                  R R7      ^ ,          pWF^ ,          8:  g   Q hWVR,          8  g   Q h\        V^R7       R# )FTr[   x_compatrP   r   r@   Nr   r   r   s   &&     r*   test_ts_area_lim_xcompat(TestSeriesPlots.test_ts_area_lim_xcompat   s    

##%WW\\%$2\>[[]
||~a ))u)5a8AwBx2B'r)   c                   VP                  4       pVP                  R 4      P                  R4      Vn        \        P
                  P                  4       w  r4VP                  P                  RRVR7      pVP                  4       w  rVVP                  4       ^ ,          P                  RR7      ^ ,          pWW^ ,          8:  g   Q hWgR,          8  g   Q h\        V^ R7       R# )	GMTCETFTr   r   r@   Nr   copytz_localize
tz_convertr#   r   r   r   r9   r\   r   r   r   r   r:   r!   tz_tsr   rP   r   r   rf   s   &&      r*   test_ts_tz_area_lim_xcompat+TestSeriesPlots.test_ts_tz_area_lim_xcompat   s    	''.99%@

##%ZZ__UTb_A[[]
||~a ))u)5a8AwBx2A&r)   c                   VP                  4       pVP                  R 4      P                  R4      Vn        \        P
                  P                  4       w  r4VP                  P                  RRVR7      pVP                  4       w  rVVP                  4       ^ ,          P                  RR7      ^ ,          pWW^ ,          8:  g   Q hWgR,          8  g   Q h\        V^ R7       R# )	r   r   FT)r[   r   rP   r   r@   Nr   r   r   s   &&      r*   'test_ts_tz_area_lim_xcompat_secondary_y7TestSeriesPlots.test_ts_tz_area_lim_xcompat_secondary_y   s    	''.99%@

##%ZZ__U_D[[]
||~a ))u)5a8AwBx2A&r)   c                L   \         P                  P                  ^^RR7      w  pw  r4\        V4      P	                  VRR7       \        V4      P	                  VRR7       \        V4      P                  W44      '       g   Q h\        V4      P                  W44      '       g   Q hR# )r   T)shareyr\   )rP   re   N)r   r   r   absr9   r   joined)r:   r!   figax1ax2s   &&   r*   test_area_sharey_dont_overwrite/TestSeriesPlots.test_area_sharey_dont_overwrite   s    **--a4-@ZcB&)B&)#%%c////#%%c////r)   c                    \        ^^.4      p\        P                  P                  4       w  r#VP	                  RRVR7      p\        VR.R7       R# )r   LABELT)r3   legendrP   labelsNr   r   r   r   r9   r   r:   sr   rP   s   &   r*   
test_labelTestSeriesPlots.test_label   sC    Aq6N

##%VV'$2V6R	2r)   c                    \        ^^.4      p\        P                  P                  4       w  r#VP	                  RVR7      p\        VR.R7       R# )r   Tr   rP    r   Nr   r   s   &   r*   test_label_noneTestSeriesPlots.test_label_none   sA    Aq6N

##%VV4BV'R-r)   c                    \        ^^.RR7      p\        P                  P                  4       w  r#VP	                  RVR7      p\        VR.R7       R# )r   NAMEr$   Tr   r   Nr   r   s   &   r*   test_label_ser_name#TestSeriesPlots.test_label_ser_name   sD    Aq6'

##%VV4BV'R1r)   c                    \        ^^.RR7      p\        P                  P                  4       w  r#VP	                  RRVR7      p\        VR.R7       R# )r   r   r   Tr   r   r3   rP   r   Nr   r   s   &   r*   test_label_ser_name_override,TestSeriesPlots.test_label_ser_name_override   sF    Aq6'

##%VV4w2V6R	2r)   c                    \        ^^.RR7      p\        P                  P                  4       w  r#VP	                  RRVR7      pVP                  4       e   Q hVP                  4        \        VR.R7       R# )r   r   r   Fr   r   Nr   )r   r   r   r   r9   
get_legendr   r   r   s   &   r*   &test_label_ser_name_override_dont_draw6TestSeriesPlots.test_label_ser_name_override_dont_draw   sa    Aq6'

##%VV5BV7}}&&&
		R	2r)   c                    \        . RO4      p\        VP                  RR7       Rp\        P                  ! \
        VR7      ;_uu_ 4        \        VP                  4       RRR4       R#   + '       g   i     R# ; i)FT)include_boolno numeric data to plotmatchN)FFT)r   r   r9   pytestraises	TypeErrorr:   r   msgs   &  r*   test_booleanTestSeriesPlots.test_boolean   sL    '(!&&t4']]9C00aff% 1000s   A++A<	r#   Nr   r   c                   ^^\         P                  ^.p\        W!R7      p\        VP                  4      pVP
                  ^ ,          P                  4       p\         P                  ! . RO\         P                  R7      p\        P                  ! \         P                  ! VP                  ^4      V4       \        P                  ! VP                  \         P                  ! . RO4      4       \         P                  ! . R	O\         P                  R7      p\        VP                  RR7      p\        P                  ! VP
                  ^ ,          P                  4       V4       \        VP                  P                  4      p\        P                  ! VP
                  ^ ,          P                  4       V4       \        VP                  P                  RR7      p\        P                  ! VP
                  ^ ,          P                  4       V4       R# )
r   r#   r   FTrZ   Nr   )FFTF)r   rv   r>   r   )r%   nanr   r   r9   r   	get_ydataarrayr'   tmassert_numpy_array_equaldeletedatamaskr\   )r:   r#   valuesdrP   maskedexpexpecteds   &&      r*   test_line_area_nan_series)TestSeriesPlots.test_line_area_nan_series   s@   Q"6'qvv&!&&(hhy

3
##BIIfkk1$=sC
##FKK:U1VW88L

;qvvt4
##BHHQK$9$9$;XFqvv{{+
##BHHQK$9$9$;XFqvv{{E:
##BHHQK$9$9$;XFr)   c                    \        . RO. ROR7      pRVP                  n        \        P                  P                  4       w  r#VP                  RVR7      pVP                  4       pVR8X  g   Q hR# 	r   r   z	The IndexFr5   rP   r   Nr   abc)r   r#   r$   r   r   r   r9   
get_xlabel)r:   r   r   rP   r3   s   &    r*   test_line_use_index_false)TestSeriesPlots.test_line_use_index_false  sV    9O4"

##%VVeV+{{r)   c                    \        . RO. ROR7      pRVP                  n        \        P                  P                  4       w  r#VP                  P                  RVR7      pVP                  4       pVR8X  g   Q hR# r  )	r   r#   r$   r   r   r   r9   rU   r  )r:   r   r   rP   r   label2s   &     r*   "test_line_use_index_false_diff_var2TestSeriesPlots.test_line_use_index_false_diff_var  s[    9O4"

##%ffjj5Rj0!||r)   zWeird rounding problems)reasonstrictz
axis, methc                $   \         P                  ! . RO4      p\        P                  P	                  4       w  rE\        \        ^R.4      P                  V4      ! RVR7      p\        P                  ! \        WQ4      P                  4       V4       R# )皙?i  T)rG   rP   N)r        ?      $@g      Y@g     @@g     @)r%   r   r   r   r   getattrr   r9   r   r   get_ticklocs)r:   axismethr  r   rP   s   &&&   r*   test_bar_logTestSeriesPlots.test_bar_log  sg     88;<

##%VS#J',,d3D
##GB$5$B$B$DhOr)   zaxis, kind, res_methc                   \         P                  ! . RO4      p\        P                  P	                  4       w  rV\        . RO4      P                  RW&R7      pRpRp\        Wc4      ! 4       p	\        P                  ! V	^ ,          V4       \        P                  ! V	^,          V4       \        P                  ! \        Wa4      P                  4       V4       R# )h㈵>T)rG   re   rP   g!,NJ?gЄ-??N)r   g-C6?MbP?{Gz?r  r  r  )r  r"  r!  )r%   r   r   r   r   r   r9   r  r   assert_almost_equalr   r  )
r:   r  re   res_methr  r   rP   yminymaxress
   &&&&      r*   test_bar_log_kind_bar%TestSeriesPlots.test_bar_log_kind_bar,  s     88DE

##%&',,D,H$"b#%
s1vt,
s1vt,
##GB$5$B$B$DhOr)   c                    \        . RO. ROR7      p\        P                  P                  4       w  r#VP                  P                  RVR7      p\        VP                  4       . RO4       R# )r   r   Fr  Nr   rv   r      r	  r
  r  r   )0123)r   r   r   r   r9   rU   r   get_xticklabels)r:   dfr   rP   s   &   r*   test_bar_ignore_index%TestSeriesPlots.test_bar_ignore_indexB  sM    L(<=

##%WW[[5R[02--/1EFr)   c                    \        . RO4      pVP                  P                  . ROR7      pVP                   Uu. uF  q3P	                  4       NK  	  pp. ROpWE8X  g   Q hR# u upi )r   rx   Nr+  )redbluer8  r7  )r          r:  r  r:  r:  r  r  r;  r9  )r   r9   rU   r   get_facecolor)r:   r   rP   presultr  s   &     r*   test_bar_user_colors$TestSeriesPlots.test_bar_user_colorsH  sX    < VVZZ<Z=-/ZZ8Z//#Z8
 !!! 9s   A"c                    \        \        P                  P                  ^4      P	                  R4      4      p\
        P                  P                  4       w  r#VP                  VR7      p\        V^ R7       R# )rv   r   r@   Nr`   r`   
r   r%   r|   r}   r~   r   r   r   r9   r   r:   r3  r   rP   rB   s   &    r*   test_rotation_default%TestSeriesPlots.test_rotation_defaultT  sS    ryy,,Q/??GH

##%ww"w~4a(r)   c                    \        \        P                  P                  ^4      P	                  R4      4      p\
        P                  P                  4       w  r#VP                  ^VR7      p\        V^R7       R# )rv   )r?   rP   r@   NrB  rC  rD  s   &    r*   test_rotation_30 TestSeriesPlots.test_rotation_30[  sV    ryy,,Q/??GH

##%ww2"w%4b)r)   c                   \        R R4      pV. R	O,          p\        \        P                  P	                  ^4      P                  \        V4      4      V4      p\        P                  P                  4       w  r4VP                  VR7      p\        P                  ! \        R^^4      RV4      pVP                  RR4       WTP                  4       ^ ,          8X  g   Q h\!        V^R7       R# )
1/1/2000z	1/15/2000r   i  r   z1/1/19991/1/2001r@   N)	r>   r   rv   r   r`   	   r         )r   r   r%   r|   r}   r~   lenr   r   r   r9   r   convertr   set_xlimr   r   )r:   rngrb   r   rP   xps   &     r*   test_irregular_datetime'TestSeriesPlots.test_irregular_datetimea  s    [101RYY**1-==c#hGM

##%XXX_&&xa';RD
J
+[[]1%%%%2B'r)   c           
        \        R R\        P                  RRRR.RR RR\        P                  RR.R7      p\        P                  P                  4       w  r#VP                  VR7      pVP                  4       w  rEVP                  4       pV\        P                  ! V^ ,          P                  R	R
7      ^ ,          4      8:  g   Q hV\        P                  ! V^ ,          P                  R	R
7      ^ ,          4      8  g   Q hR# )r:  r  g      @g      @g      @g      @       @r   r   Fr   N)r   r%   r   r   r   r   r9   r   r   nanminr   nanmax)r:   rb   r   rP   r   r   r   s   &      r*   test_unsorted_index_xlim(TestSeriesPlots.test_unsorted_index_xliml  s    #rvvsCc2S#rvvsC8
 

##%XXX_[[]
ryyq!2!2!2!>q!ABBBBryyq!2!2!2!>q!ABBBBr)   c                ,   \        \        P                  P                  ^4      P	                  ^^4      . RORR7      p\        VP                  P                  4      p\        VP                  VP                  4       VP                  4       R8X  g   Q hR# )rv   YLABELr"   r   Nr	  r
  r  r   e)r   r%   r|   r}   integersr   r9   pier   textsr#   
get_ylabelr:   r,   rP   s   &  r*   test_pie_seriesTestSeriesPlots.test_pie_seriesx  sm     II!!!$--a3+

 v{{/288V\\2}}"$$$r)   c                    \         P                  ! R 4       \        . RORR7      p\        VP                  P
                  4       R# )pyarrowzint32[pyarrow]r   Nr+  )r   importorskipr   r   r9   rb  ra   s   & r*   test_pie_arrow_type#TestSeriesPlots.test_pie_arrow_type  s-    I&\)9:#((,,'r)   c                    \        \        P                  P                  ^4      P	                  ^^4      . RORR7      p\        VP                  P                  RR7      p\        VP                  R.^,          4       R# )rv   r^  r"   Nr   r   r_  )
r   r%   r|   r}   ra  r   r9   rb  r   rc  re  s   &  r*   test_pie_series_no_label(TestSeriesPlots.test_pie_series_no_label  s[    II!!!$--a3+

 v{{t<288bTAX.r)   c                    \        \        P                  P                  ^4      P	                  ^^4      . RORR7      p. ROp\        VP                  P                  VR7      p. ROp\        VP                  VR7       R# )	rv   r^  r"   )r   rz   Nr_  )rgr
  )rq  rr  r
  rq  rr  )
r   r%   r|   r}   ra  r   r9   rb  r   r   )r:   r,   
color_argsrP   color_expecteds   &    r*   )test_pie_series_less_colors_than_elements9TestSeriesPlots.test_pie_series_less_colors_than_elements  s_    II!!!$--a3+

 %
v{{zB2bjj^<r)   c                ,   \        \        P                  P                  ^4      P	                  ^^4      . RORR7      p. ROp. ROp\        VP                  P                  W#R7      p\        VP                  V4       \        VP                  VR7       R# )	rv   r^  r"   )r   r   rz   Nr_  )ABCDErq  rr  r
  r  m)r   r%   r|   r}   ra  r   r9   rb  r   rc  r   r   )r:   r,   r   rs  rP   s   &    r*   !test_pie_series_labels_and_colors1TestSeriesPlots.test_pie_series_labels_and_colors  sm    II!!!$--a3+
 +.
v{{vQ288V,bjjZ8r)   c           
     2   \        \        P                  P                  ^4      P	                  ^^4      . R	ORR7      p. R
Op\        VP                  P                  VR^R7      pVP                  VP                  4       ,           Uu. uF  qD^d,          R NK  	  pp\        \        P                  ! \        VP                  VRR7      4      4      p\        VP                   V4       VP                    F  pVP#                  4       ^8X  d   K  Q h	  R# u upi )rv   r^  r"   z%.2f)r   autopctfontsizez.2fT)r  Nr_  r}  )r   r%   r|   r}   ra  r   r9   rb  r   sumlistr   from_iterablezipr#   r   rc  get_fontsize)r:   r,   rs  rP   r   pctsexpected_textsts   &       r*   $test_pie_series_autopct_and_fontsize4TestSeriesPlots.test_pie_series_autopct_and_fontsize  s    II!!!$--a3+

 /
KKOOJ
 +1--&**,*FG*FQs73- *FGe11#fllDQU2VWX288^4A>>#q(((  Hs   Dc                    \        . RO. ROR7      p\        P                  ! \        RR7      ;_uu_ 4        VP                  P                  4        RRR4       R#   + '       g   i     R# ; i)r   r   z&pie plot doesn't allow negative valuesr   N)r   rv   r>   r,  r   r_  )r   r   r   
ValueErrorr9   rb  rr   s   & r*   test_pie_series_negative_raises/TestSeriesPlots.test_pie_series_negative_raises  s@    (0IJ]]:-UVVKKOO WVVVs   AA,	c                    \        ^^\        P                  ^.. RORR7      p\        VP                  P
                  4      p\        VP                  . RO4       R# )r   r^  r"   Nr-  )r	  r
  r   r   )r   r%   r   r   r9   rb  r   rc  re  s   &  r*   test_pie_series_nan#TestSeriesPlots.test_pie_series_nan  s?    Arvvq)1EHUv{{/288%89r)   c                ,   \        ^\        P                  ^^.4      p\        P                  P                  4       w  r#VP                  P                  RVR7      p. ROpVP                   Uu. uF  qUP                  4       NK  	  ppWd8X  g   Q hR# u upi )r   Tr   N)r.  r   r0  r1  )
r   r%   r   r   r   r   r9   rb  rc  get_text)r:   r   r   rP   r  xr>  s   &      r*   test_pie_nanTestSeriesPlots.test_pie_nan  su    Arvvq!$%

##%VVZZtZ+&(*11**,1!!! 2s   -Bc                R   \        \        P                  P                  ^4      P	                  R
4      \        R4      R7      p\        \        P                  P                  ^4      P	                  ^
4      RR7      p\        P                  P                  4       w  r4VP                  VR7      pVP                  RRVR7       \        V. ROR7       VP                  4       P                  4       '       g   Q hVP                  P                  4       P                  4       '       g   Q hR	# )rv   abccolumnsr  r   r   Tr   r   rP   r   Nr   r   r	  r
  r  	x (right))r   r%   r|   r}   r~   r  r   r   r   r   r9   r   	get_yaxisget_visibleright_ax)r:   r3  r   r   rP   s   &    r*   test_df_series_secondary_legend/TestSeriesPlots.test_df_series_secondary_legend  s    II!!!$44W=tE{
 299((+;;B?cJ 

##%WWW^	d4 	R(DE||~))++++{{$$&224444r)   c                l   \        \        P                  P                  ^4      P	                  R
4      \        R4      R7      p\        \        P                  P                  ^4      P	                  ^
4      RR7      p\        P                  P                  4       w  r4VP                  RVR7      pVP                  RRVR7       . ROp\        VP                  VR7       VP                  P                  4       P                  4       '       d   Q hVP                  4       P                  4       '       g   Q hR	# )rv   r  r  r  r   T)r   rP   r  r   Nr  )z	a (right)z	b (right)z	c (right)r  r   r%   r|   r}   r~   r  r   r   r   r   r9   r   left_axr  r  r:   r3  r   r   rP   r  s   &     r*   $test_df_series_secondary_legend_both4TestSeriesPlots.test_df_series_secondary_legend_both  s    II!!!$44W=tE{
 299((+;;B?cJ

##%WW"W-	d4 HRZZ9::'')557777||~))++++r)   c                l   \        \        P                  P                  ^4      P	                  R
4      \        R4      R7      p\        \        P                  P                  ^4      P	                  ^
4      RR7      p\        P                  P                  4       w  r4VP                  RRVR7      pVP                  VRRR7       . ROp\        VP                  V4       VP                  P                  4       P                  4       '       d   Q hVP                  4       P                  4       '       g   Q hR	# )rv   r  r  r  r   TF)r   
mark_rightrP   )rP   r   r   Nr  r  r  r  s   &     r*   0test_df_series_secondary_legend_both_with_axis_2@TestSeriesPlots.test_df_series_secondary_legend_both_with_axis_2  s    II!!!$44W=tE{
 299((+;;B?cJ

##%WW%BW?	"Tt4 0RZZ2::'')557777||~))++++r)   zinput_logy, expected_scalesecondary_kwargc                    \        \        P                  P                  ^4      P	                  ^
4      4      pVP
                  ! RRV/VB pVP                  4       V8X  g   Q hR# )rv   rE   Nr(   )r   r%   r|   r}   r~   r9   
get_yscale)r:   
input_logyexpected_scaler  s1r   s   &&&&  r*   test_secondary_logy#TestSeriesPlots.test_secondary_logy  sS     BII))!,<<R@Agg9:99~~>111r)   c                b   \        \        P                  P                  ^4      P	                  ^4      4      p\
        P                  P                  4       w  r#Rp\        P                  ! \        VR7      ;_uu_ 4        VP                  RRVR7       RRR4       R#   + '       g   i     R# ; i)rv   zCannot pass 'style' string with a color symbol and 'color' keyword argument. Please use one or the other or pass 'style' without a color symbolr   zk--k)rL   ry   rP   N)r   r%   r|   r}   r~   r   r   r   r   r   r  r9   )r:   r  r   rP   r   s   &    r*   )test_plot_fails_with_dupe_color_and_style9TestSeriesPlots.test_plot_fails_with_dupe_color_and_style  sx    299((+;;A>?

##% 	
 ]]:S11FFcbF1 2111s   >BB.	zbw_method, indscott      ?c                t    \         P                  ! R 4       \        VP                  P                  W#R7       R# )ri   	bw_methodindN)r   rj  r   r9   rh   )r:   r!   r  r  s   &&&&r*   test_kde_kwargsTestSeriesPlots.test_kde_kwargs  s$     	G$"''++Dr)   zbw_method, ind, weightsr:  rX  c                    \         P                  ! R 4       \        \        P                  P                  ^4      P                  ^2R7      4      p\        VP                  P                  WVR7       R# )ri   size)r  r  weightsN)
r   rj  r   r%   r|   r}   uniformr   r9   rh   )r:   r  r  r  r   s   &&&& r*   test_kde_kwargs_weights'TestSeriesPlots.test_kde_kwargs_weights%  sM     	G$299((+333<=!&&**	GTr)   c                    \         P                  ! R 4       \        P                  ! R^d^4      p\	        VP
                  P                  RVR7       R# )ri   r  r  N)r   rj  r%   linspacer   r9   density)r:   r!   sample_pointss   && r*   test_density_kwargs#TestSeriesPlots.test_density_kwargs5  s6    G$D#r2"''//SmLr)   c                @   \         P                  ! R 4       \        P                  P	                  4       w  r#\
        P                  ! R^d^4      pVP                  P                  RRWCR7      p\        VRR7       \        VP                  P                  4       R4       R# )	ri   Tr  )rE   r  r  rP   rG   rF   DensityNr  )r   rj  r   r   r   r%   r  r9   rh   r
   r   rF   	get_label)r:   r!   r   rP   r  s   &&   r*   test_kde_kwargs_check_axes*TestSeriesPlots.test_kde_kwargs_check_axes:  so    G$

##%D#r2WW[[dc}[L5)288--/;r)   c                   \         P                  ! R 4       \        \        P                  P                  ^4      P                  ^2R7      4      p\        P                  V^ &   \        VP                  P                  4      p\        \        P                  ! VP                  ^ ,          P                  4       4      ( 4      '       g   Q hR# )ri   r  N)r   rj  r   r%   r|   r}   r  r   r   r9   rh   anyisnanr   	get_xdata)r:   r   rB   s   &  r*   test_kde_missing_vals%TestSeriesPlots.test_kde_missing_valsB  s    G$299((+333<=vv! , BHHTZZ]446778888r)   zApi changed in 3.6.0)r  c                @   \         P                  P                  4       w  r#VP                  P	                  R VR7      p\        VRR7       VP                  4       p\        WAP                  .4       VP                  4       p\        VR.\        V4      ,          4       R# )T)rE   rP   rG   r  r   N)r   r   r   r9   rl   r
   r2  r   r$   get_yticklabelsrP  )r:   r!   r   rP   xlabelsylabelss   &&    r*   test_boxplot_series#TestSeriesPlots.test_boxplot_seriesK  su    

##%WW[[dr[*5)$$&7WWI.$$&7RD3w<$78r)   c                    \         P                  ! R 4       \        \        ^4      4      p\        P
                  P                  4       w  r4VP                  WR7       \        P
                  P                  4        R# )ri   re   rP   N)	r   rj  r   r.   r   r   r   r9   closer:   re   r   r   rP   s   &&   r*   test_kind_kwargTestSeriesPlots.test_kind_kwargU  sR    
 	G$58

##%	D 

r)   c                   \         P                  ! R 4       \        \        ^4      4      p\        P
                  P                  4       w  r4\        VP                  V4      ! 4        \        P
                  P                  4        R# )ri   N)
r   rj  r   r.   r   r   r   r  r9   r  r  s   &&   r*   test_kind_attrTestSeriesPlots.test_kind_attr`  sU    
 	G$58

##%

r)   c                   \        \        R 4      4      p\        P                  P	                  4       w  r4Rp\
        P                  ! \        VR7      ;_uu_ 4        VP                  WR7       RRR4       R#   + '       g   i     R# ; i)abcdr   r   r  N)	r   r  r   r   r   r   r   r   r9   r:   re   r   r   rP   r   s   &&    r*   test_invalid_plot_data&TestSeriesPlots.test_invalid_plot_datak  sW    4< 

##%']]9C00FFF$ 1000s   A88B		c                    \         P                  ! R 4       \        \        ^
4      \        R7      p\        VP                  VR7       R# )ri   r   rn   N)r   rj  r   r.   objectr   r9   )r:   re   r   s   && r*   test_valid_object_plot&TestSeriesPlots.test_valid_object_plots  s.    G$59F+!&&t,r)   c                
   \        . RO4      p\        P                  P                  4       w  r4Rp\        P
                  ! \        VR7      ;_uu_ 4        VP                  WR7       RRR4       R#   + '       g   i     R# ; i)r	  r   r   r  N)r	  r
  r  rv   )r   r   r   r   r   r   r   r9   r  s   &&    r*    test_partially_invalid_plot_data0TestSeriesPlots.test_partially_invalid_plot_datay  sT    %&

##%']]9C00FFF$ 1000s   A11B	c                    \        ^^.4      p\        P                  ! \        RR7      ;_uu_ 4        VP	                  RR7       RRR4       R#   + '       g   i     R# ; i)r   z%invalid_kind is not a valid plot kindr   invalid_kindrn   N)r   r   r   r  r9   r:   r   s   & r*   test_invalid_kind!TestSeriesPlots.test_invalid_kind  s?    Aq6N]]:-TUUFFF' VUUUs   AA 	c                   \        R ^R7      p\        R^R7      pVP                  V4      p\        P                  P	                  ^4      P                  VP                  4      p\        WCR7      p\        VP                  4       R# )z1/1/2009r   z1/2/2009r   N)
r   appendr%   r|   r}   r~   r  r   r   r9   )r:   dr1dr2r#   r   r   s   &     r*   test_dup_datetime_index_plot,TestSeriesPlots.test_dup_datetime_index_plot  s`    Q/Q/

3&&q)99%**E6'!&&!r)   c                D   \        \        P                  ! ^
4      RR7      p\        P                  P	                  ^4      P                  R4      pVP                  W"R7      p\        P                  ! VP                  ^,          P                  4        Uu. uF  qDP                  R,          NK  	  up4      pVP                  \        P                  ! R^.4      ,          VP                  4       P                  R^4      ,           p\        P                  ! WV4       R# u upi )r   r  r   )yerrxerrN)rv   r   ):NNNr   r   )r   r%   r&   r|   r}   r9   vstackcollections	get_pathsverticesTr   to_numpyreshaper   r   )r:   r   errrP   r/   r>  r  s   &      r*   test_errorbar_asymmetrical*TestSeriesPlots.test_errorbar_asymmetrical  s    299R=s+ii##A&--g6VVV'bnnQ6G6Q6Q6ST6SJJt,,6STUEEBHHb!W--1E1Eb!1LL
##F5 Us   Dc                d   \        \        P                  ! ^
4      RR7      pR\        V4       R2p\        P
                  ! \        VR7      ;_uu_ 4        VP                  \        P                  P                  ^4      P                  R4      R7       RRR4       R#   + '       g   i     R# ; i)	r   r  r   z?Asymmetrical error bars should be provided with the shape \(2, z\)r   r  N)rv   rN  )
r   r%   r&   rP  r   r   r  r9   r|   r}   r   s   &  r*    test_errorbar_asymmetrical_error0TestSeriesPlots.test_errorbar_asymmetrical_error  sz    299R=s+$$'F830 	 ]]:S11FF		--a077@FA 2111s   ?BB/	r  r  yr  c                    \        \        P                  ! ^
4      RR7      p\        VP                  W!R7      p\        V^ ^R7       R# )r   r  r   )r  re   r  r  N)r   r%   r&   r   r9   r   )r:   re   r  r   rP   s   &&&  r*   test_errorbar_plot"TestSeriesPlots.test_errorbar_plot  s4     299R=s+qvvD<Raa0r)   c                   \        \        P                  ! ^
4      RR7      p\        P                  ! \        P                  P                  ^4      P                  ^
4      4      p\        VP                  VR7      p\        V^^ R7       R# )r   r  r   )r  r  N)
r   r%   r&   r   r|   r}   r~   r   r9   r   )r:   r   s_errrP   s   &   r*   test_errorbar_plot_yerr_0)TestSeriesPlots.test_errorbar_plot_yerr_0  sZ    299R=s+ryy,,Q/??CDqvvE2Raa0r)   c                    \        R RRR7      p\        \        P                  ! ^4      VRR7      pW!n        \        VP                  VR7      p\        V^ ^R7       R# )	rK  rL  ME)freqr  r"   r  r  N)r   r   r%   r&   r#   r   r9   r   )r:   r  ixr!   rP   s   &&   r*   test_errorbar_plot_ts%TestSeriesPlots.test_errorbar_plot_ts  sI     
JT:BIIbM#6
rwwT2Raa0r)   c                   \        \        P                  ! ^
4      RR7      p\        P                  ! \
        4      ;_uu_ 4        VP                  \        P                  ! ^4      R7       RRR4       R#   + '       g   i     R# ; i)r   r  r   r  N)r   r%   r&   r   external_error_raisedr  r9   r  s   & r*   %test_errorbar_plot_invalid_yerr_shape5TestSeriesPlots.test_errorbar_plot_invalid_yerr_shape  sL    299R=s+%%j11FF		"F& 2111s   'A55B	c                    \        \        P                  ! ^
4      RR7      pR.^
,          p\        P                  ! \
        4      ;_uu_ 4        VP                  VR7       RRR4       R#   + '       g   i     R# ; i)r   r  r   zzzr  N)r   r%   r&   r   r&  r   r9   )r:   r   r  s   &  r*   test_errorbar_plot_invalid_yerr/TestSeriesPlots.test_errorbar_plot_invalid_yerr  sO    299R=s+"%%i00FFF 1000s   A++A<	c                4    \        VP                  R R7       R# )TtableNr8   rr   s   &&r*   test_table_trueTestSeriesPlots.test_table_true  s    &++T2r)   c                4    \        VP                  VR 7       R# )r.  Nr8   rr   s   &&r*   test_table_selfTestSeriesPlots.test_table_self  s    &++V4r)   c                    \         P                  ! R 4       \        \        . RO4      \        P
                  P                  \        P
                  P                  ,           4       R# )ri   Nr   )r   rj  r   r   r	   PlotAccessor_series_kinds_common_kinds)r:   s   &r*   test_series_grid_settings)TestSeriesPlots.test_series_grid_settings  sB     	G$9!!//(2G2G2U2UU	
r)   r  c                    \        ^VR7      pW!.8X  g   Q h\        ^V.R7      pW!.8X  g   Q h\        ^VR7      pW!.^,          8X  g   Q h\        ^V.R7      pW!.^,          8X  g   Q hR# )r   rx   Nr   r:   r  r>  s   && r*   test_standard_colors$TestSeriesPlots.test_standard_colors  sr    $Qa0}}$Qqc2}}$Qa0q   $Qqc2q   r)   c                >   \         P                  P                   Fk  p\        ^VR7      pW!.8X  g   Q h\        ^V.R7      pW!.8X  g   Q h\        ^VR7      pW!.^,          8X  g   Q h\        ^V.R7      pW!.^,          8X  d   Kk  Q h	  \         P                  P                  P                   Fk  p\        ^VR7      pW!.8X  g   Q h\        ^V.R7      pW!.8X  g   Q h\        ^VR7      pW!.^,          8X  g   Q h\        ^V.R7      pW!.^,          8X  d   Kk  Q h	  R# )r   )
num_colorsry   N)r   r   cnamesr   ColorConverterr<  s   &  r*   test_standard_colors_all(TestSeriesPlots.test_standard_colors_all  s   ""A(AQ?FS= =(AaSAFS= =(AQ?FS1W$$$(AaSAFS1W$$$ # **11A(AQ?FS= =(AaSAFS= =(AQ?FS1W$$$(AaSAFS1W$$$ 2r)   c                    \         P                  P                  4       w  r\        \        P
                  ! ^4      ^,           4      P                  RVR7      p\        VP                  4       R.R7       R# )rO  greenry   rP   
linecolorsN)	r   r   r   r   r%   r&   r9   r   r   r:   r   rP   s   &  r*   test_series_plot_color_kwargs-TestSeriesPlots.test_series_plot_color_kwargs  sO    

##%BIIbMA%&++'b+Ablln';r)   c                   \         P                  P                  4       w  r\        \        P
                  ! ^4      ^,           \        R^R7      R7      P                  RVR7      p\        VP                  4       R.R7       R# )rO  rK  r   r   rF  rG  rH  N)
r   r   r   r   r%   r&   r   r9   r   r   rJ  s   &  r*   "test_time_series_plot_color_kwargs2TestSeriesPlots.test_time_series_plot_color_kwargs!  s`    

##%BIIbMA%Z
B-OPUUb V 
 	blln';r)   c                ^   \        \        P                  4      p\        R ^R7      p\	        \
        P                  ! ^^4      VR7      p^p\        P                  P                  4       w  rV\        V4       F  pVP                  VR7      pK  	  \        VP                  4       VRV R7       R# )rK  r   r   r   NrH  )r   r   r   r   r   r%   r&   r   r   r.   r9   r   r   )r:   
def_colorsr#   r   ncolorsr   rP   r/   s   &       r*   -test_time_series_plot_color_with_empty_kwargs=TestSeriesPlots.test_time_series_plot_color_with_empty_kwargs)  s    #CLL1
:r2299Q#51

##%wA2B  bllnHW1EFr)   c           	     ^   \        \        P                  ! ^
4      \        ^
4       Uu. uF	  pRVR 2NK  	  upR7      p\        P
                  P                  4       w  r4VP                  . ROVR7      pR Uu. uF	  pRVR 2NK  	  pp\        VP                  4       V4       R# u upi u upi )r   P02dr   )xticksrP   N)r>   r   r`   rM  )
r   r%   r&   r.   r   r   r   r9   r   r2  )r:   r/   r   r   rP   r  s   &     r*   test_xticklabels TestSeriesPlots.test_xticklabels5  s    299R=eBi(Hi1QsGi(HI

##%VV<BV/$01Lq1S'{L12--/5	 )I 2s   B%
8B*c           	     `   \        \        ^
4      \        ^
4       Uu. uF	  pRVR 2NK  	  upR7      pVP                  P                  \        ^ ^^4      R7      p\        P
                  ! \        \        ^ ^^4      4      4      p\        P                  ! WCP                  4       4       R# u upi )r   rV  rW  r   )rX  N)
r   r.   r9   rU   r%   r   r  r   r   
get_xticks)r:   r/   r   rP   r  s   &    r*   test_xtick_barPlot"TestSeriesPlots.test_xtick_barPlot=  s~    59%)$D)Qq3[)$DEVVZZuQAZ/hhtE!RO,-
##C9 %Es   B+
c                    \        \        ^d^y4      \        P                  ! RR\	        R.R7      R7      R7      p\        VP                  4       R# )d   z
2014-05-01z
2014-06-01z
2014-05-26)holidays)startendr!  r   N)r   r.   pdbdate_ranger   r   r9   r  s   & r*   test_custom_business_day_freq-TestSeriesPlots.test_custom_business_day_freqD  s?    #sO.." &?
 	!&&!r)   ziGH#24426, see also github.com/pandas-dev/pandas/commit/ef1bd69fa42bbed5d09dd17f08c44fc8bfc2b685#r61470674c                   \        . RO4      p\        P                  P                  4       w  r#VP	                  VR7      pVP
                  P                  4       pVP                  ^ ^.RR7       \        P                  P                  4       w  r#VP
                  P                  4       p\        P                  ! WE4       R# )r   r   T)inplaceNr+  )
r   r   r   r   r9   rI   r  dropr   r   )r:   rb   r   rP   beforeafters   &     r*   %test_plot_accessor_updates_on_inplace5TestSeriesPlots.test_plot_accessor_updates_on_inplaceQ  s     \"

##%XXX_&&(!Q&

##%%%'
##F2r)   r\   c                    \        ^^.4      p\        P                  P                  4       w  r4VP	                  WR7       VP                  4       pV^ ,          ^ 8  g   Q hV^,          ^8  g   Q hR# )rv   r  N)r   r   r   r   r9   r   )r:   re   r   r   rP   xlimss   &&    r*   test_plot_xlim_for_series)TestSeriesPlots.test_plot_xlim_for_seriesa  s^     Aq6N

##%	D Qx!||Qx!||r)   c                \   \        \        R 7      pVP                  '       g   Q hVP                  4       p\	        VP                  4       4      ^8X  g   Q hVP                  4       ^ ,          p\	        VP                  4       4      ^ 8X  g   Q h\	        VP                  4       4      ^ 8X  g   Q hR# )r   N)r   intemptyr9   rP  r   r  r   )r:   r3  rP   rf   s   &   r*   test_plot_no_rows!TestSeriesPlots.test_plot_no_rowsm  s    #xxxxWWY2<<>"a'''||~a 4>>#$)))4>>#$)))r)   c                    \        . RO4      p\        P                  ! \        RR7      ;_uu_ 4        VP	                  4        RRR4       R#   + '       g   i     R# ; i)r	  r   r   Nr  )r   r   r   r   r9   )r:   r3  s   & r*   test_plot_no_numeric_data)TestSeriesPlots.test_plot_no_numeric_dataw  s7    O$]]9,EFFGGI GFFFs   AA	zdata, indexc                    \        WR 7      pVP                  RR7      pVP                  4       p\        VP                  R R7       Uu. uF  pVP                  4       P                  NK  	  ppWW8X  g   Q hR# u upi ))r   r#   rU   rn   c                 6    V P                  4       P                  # r7   )get_bboxr   )patchs   &r*   <lambda>1TestSeriesPlots.test_plot_order.<locals>.<lambda>  s    enn>N>S>Sr)   )r   N)r   r9   tolistsortedr   r}  r&  )r:   r   r#   rb   rP   r  r~  r>  s   &&&     r*   test_plot_orderTestSeriesPlots.test_plot_order|  sw     $,XX5X!::<  

0ST
T NN!!T 	 
 !!!	
s   	#A8c                    \        ^^.4      pVP                  RRR7      pVP                  ^ ,          P                  4       R8X  g   Q hR# )r   r   C3)rL   ry   N)r   r9   r   	get_color)r:   r   rP   s   &  r*   test_style_single_ok$TestSeriesPlots.test_style_single_ok  s@    Aq6NVV#TV*xx{$$&$...r)   z index_name, old_label, new_labelc                   \        . RO4      pW%P                  n        VP                  VR7      pVR8X  d0   VP	                  4       R8X  g   Q hVP                  4       V8X  g   Q hMdVR8X  d0   VP	                  4       R8X  g   Q hVP                  4       R8X  g   Q hM.VP                  4       R8X  g   Q hVP	                  4       V8X  g   Q hVP                  WVR7      pVP                  4       V8X  g   Q hVP	                  4       V8X  g   Q hR# )	r   rn   rg   r   rk   	Frequency)re   ylabelxlabelNr+  )r   r#   r$   r9   r  rd  )r:   re   
index_name	old_label	new_labelrb   rP   s   &&&&&  r*   test_xlabel_ylabel_series)TestSeriesPlots.test_xlabel_ylabel_series  s     \"#		 XX4X 6>==?b(((==?i///V^==?b(((==?k111==?b(((==?i/// XX4)XD}})+++}})+++r)   r{  )rb  r    r!  )daysc                v    Rp\        ^^.VR7      P                  VR7      pVP                  4       R8X  g   Q hR# )r   r   )xlimN)r   r   )r   r9   r   )r:   r#   rp  rP   s   &&  r*   test_timedelta_index$TestSeriesPlots.test_timedelta_index  s;     QF%(--E-;{{}&&&r)   c                    \        . RO4      pVP                  RR7      p\        \        P                  P
                  4      R,          p\        VP                  4       VR7       R# )r   Nrx   :Nr   NrH  r   )r   r9   r   r   r   r   r   r   )r:   r,   rP   r  s   &   r*   test_series_none_color&TestSeriesPlots.test_series_none_color  sE    	"[[t[$!#**"5"56r:blln:r)   c                    \         P                  ! R 4      ;_uu_ 4        VP                  4       pRRR4       R#   + '       g   i     R# ; i)FN)r   assert_produces_warningr9   )r:   r!   r   s   && r*   test_plot_no_warning$TestSeriesPlots.test_plot_no_warning  s/     ''..	A /...s	   :A	c                   \        . RO. ROR7      p\        . RO. ROR7      p\        P                  ^^^4      pVP                  VR7       VP                  VRR7       \        P                  ^^^4      pVP                  VR7       \	        VP
                  P                  4       4      ^ 8X  g   Q h\	        VP                  4       4      ^ 8  g   Q hR# )	r`   r   r   T)rP   r   N)r`         r   r  )r   rv   r   r,  r`   )r  r,  r`   r   r,  )r   pltsubplotr9   rP  rI   get_minor_ticksr2  )r:   r  s2rP   r   s   &    r*   $test_secondary_y_subplot_axis_labels4TestSeriesPlots.test_secondary_y_subplot_axis_labels  s    O?;O?;[[Aq!
2
24(kk!Q"
3288++-.!3332%%'(1,,,r)   c                   \        R^RR7      p\        VP                  P                  \        4      4      p\        . ROVR7      p\        P                  4       pVP                  RVR7       VP                  4        Uu. uF  qUP                  4       V9   g   K  VNK  	  ppVP                  RVRR	7       VP                  4        Uu. uF  qUP                  4       V9   g   K  VNK  	  pp\        V4      \        V4      8X  g   Q hWg8X  g   Q hVP                  4       pV^ ,          V^ ,          P                  4       ^ ,          8:  g   Q hV^,          VR,          P                  4       ^ ,          8  g   Q hR
# u upi u upi )z
Test that bar and line plots with the same x values are superposed
and that the x limits are set such that the plots are visible.
2023Y)r    r!  r   rU   r  rf   rq  )re   rP   ry   Nr   r   )r   setyearastypestrr   r  r  r9   r2  r  rP  r   get_position)	r:   r#   yearsr   rP   r3   
bar_xticksline_xticksx_limitss	   &        r*   test_bar_line_plot"TestSeriesPlots.test_bar_line_plot  sO    VQS9EJJ%%c*+9E*[[]	Eb!!113
3e~~7G57PEE3 	 
 	
Fr-!113
3e~~7G57PEE3 	 
 :#e*,,,(((;;={jm88:1===={jn99;A>>>>

s   ?E8E8E=#E=r(   )r   r   )r   r   )rF   rU   )rI   rg   )rF   rU   get_ylim)rI   rg   r   )TrG   )symsymlogr  )r     N)Nr  N)r   rv   )rO  rv   )rq  r7  rF  z#FF0000r+  )r   rv   r   r>   )r   2   r     )iv  i  i  i  ))Nr   new)oldr  r  )Nr   r   )rf   r\   rU   rg   rk   )}__name__
__module____qualname____firstlineno__r   markslowparametrizer;   rC   rQ   rW   r]   rc   paramtd
skip_if_noro   rs   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  xfailr   r  r(  r4  r?  rE  rH  rU  r[  rf  rk  rn  ru  r  r  r  r  r  r  r  r  r  r  r%   int_r  r  r  r  r  r  r  r	   r6  r8  r7  r  r  r  r  r  r  r  r  r  r   r   r|   r}   r~   r  r   r  r  r#  r'  r+  r0  r3  r9  r=  rC  rK  rN  rS  rY  r]  rf  rm  rq  rv  ry  r  r  r  rd  timedelta_range	Timedeltar  r  r  r  r  __static_attributes____classdictcell__)__classdict__s   @r*   r1   r1   E   s#
    [[[[X%(8;:N'OP- Q - [[) ) [[[[d^gu-.d^gu-.?@	
* * [[, , [[7 7$ [[LLbmmG&<=	

6
61= [[XXw,?(GAT'UV9 W9
J2 [[X]D,A'BC< D<'(	'	'03.233& [[WtZa-P&QRG SG$ [[(  
 [[\,<>O+PQP RP [[(  
 [[	%'DEP	PG
")*	(
C
%(/
=9) :"5","," [[$}6G&H [[.mT5J0KL2 M2	2 [[bM2J2772;"++dC,-		
EE [[!2772;%"++dC,d3b"++c334	
	U	UM
<9 [[459 69 [[++h.C.C.Q.QQ	 [[++h.C.C.Q.QQ	 [[VX%:%:%H%HI% J% [[VX%:%:%H%HI- J-
 [[VX%:%:%H%HI% J%(
"	6B [[[[Vfe_5[[266"))//2BB2FGHFF299((+;;B?@		--a0@@DEFryy,,Q/??HIc
		
1 6 1
 [[1 1 [[[[266"))//2BB2FGHryy,,Q/??HIc
	
	1	 1 [[' ' [[  [[3 3 [[5 5 [[
 
 [[S"BC! D!%:<<
G6:" [[=  
	3
	3 [[Vff%56	 7	*
 [[<(78	

"
"/
 [[*B [[V%LM, N	
,, [[Q<\\q!2<<Q#78	
''; [[ -? ?r)   r1   )3__doc__r   	itertoolsr   numpyr%   r   pandas.compatr   pandas.util._test_decoratorsutil_test_decoratorsr  pandasrd  r   r   r   r   r	   pandas._testing_testingr   pandas.tests.plotting.commonr
   r   r   r   r   r   r   r   r   r   r   pandas.tseries.offsetsr   rj  r   r  %pandas.plotting._matplotlib.converterr   !pandas.plotting._matplotlib.styler   r  filterwarnings
pytestmarkfixturer!   r,   r1   r(   r)   r*   <module>r     s          + ) )       5,'-. C A KKK KKL	
    h? h?r)   