+
    xȇiԋ                       R t ^ RIHtHt ^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	H
u Ht ^ RIHt ^ RIt^ RIHtHtHtHt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(H)t)H*t* ^ RI+H,t, ^ RI-H.t. ]P^                  ! R4      t0]P^                  ! R	4      t1]Pd                  Pg                  R
4      ]Pd                  Pg                  R4      .t4 ! R R4      t5R t6R# )zTest cases for DataFrame.plot)datedatetimeN)is_list_like)		DataFrameIndex
MultiIndexPeriodIndexSeriesbdate_range
date_rangeoption_contextplotting)_check_ax_scales_check_axes_shape_check_box_return_type_check_colors_check_data_check_grid_settings_check_has_errorbars_check_legend_labels_check_plot_works_check_text_labels_check_ticks_props_check_visible
get_y_axis)Version)pprint_thing
matplotlibzmatplotlib.pyplotzAignore:divide by zero encountered in scalar divide:RuntimeWarningzBignore:invalid value encountered in scalar multiply:RuntimeWarningc                   X)  a  ] tR t^?t o ]P
                  P                  R 4       t]P
                  P                  R 4       t]P
                  P                  R 4       t	]P
                  P                  R 4       t
]P
                  P                  RR7      ]P
                  P                  R 4       4       t]P
                  P                  R 4       t]P
                  P                  ]P
                  P                  R	R
. ER&O/R. ER&O/RER'RER'/RRRRRR/.4      R 4       4       t]P
                  P                  R 4       t]P
                  P                  R 4       t]P
                  P                  R 4       t]P
                  P                  R 4       t]P
                  P                  ]P
                  P                  RRER).4      R 4       4       t]P
                  P                  R 4       t]P
                  P                  R]! R4      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"..4      R# 4       t]P
                  P                  ]P
                  P                  R$. ER*O4      R) 4       4       t]P
                  P                  ]P
                  P                  R*R%/ .R&/ .R'/ .R(R+R+/.R,R-R-R+R+/.R.R-R-R+R+/..4      R/ 4       4       tR0 tR1 tR2 tR3 tR4 tR5 t]P
                  P                  R6ER+ER,.4      R7 4       t ]P
                  P                  R8. ER-O4      R< 4       t!R= t"R> t#R? t$R@ t%RA t&RB t']P
                  P                  RC](PR                  ](PT                  .4      RD 4       t+]P
                  P                  RE],! R+. ER.O/. ER/ORJ7      ],! R+RFRG](PZ                  RIRKRLRM./RGRFRIRH](PZ                  RIRH.RJ7      .4      RN 4       t.RO t/RP t0RQ t1]P
                  P                  RRR%RS.4      ]P
                  P                  RT^ER(.4      RU 4       4       t2]P
                  P                  RRR%RS.4      RV 4       t3RW t4]P
                  P                  RRR%RS.4      RX 4       t5]P
                  P                  RY]6! ^4      ]7! RZR!^R[7      .4      R\ 4       t8]P
                  P                  RY]6! ^4      ]7! RZR!^R[7      .4      R] 4       t9]P
                  P                  RY]6! ^4      ]7! RZR!^R[7      .4      ]P
                  P                  R	/ R^R_/.4      R` 4       4       t:]P
                  P                  R	/ RaR/.4      Rb 4       t;Rc t<]P
                  P                  R_RdRe7      ]P
                  P                  R^RR_.4      Rf 4       4       t=Rg t>]P
                  P                  R^RR_.4      Rh 4       t?Ri t@]P
                  P                  RjER0ER1.4      ]P
                  P                  R^RR_.4      Rk 4       4       tA]P
                  P                  RjER0ER1.4      Rl 4       tBRm tCRn tDRo tERp tFRq tGRr tH]P
                  P                  RY]I]JP                  .4      Rs 4       tL]P
                  P                  RtER2ER3.4      Ru 4       tMRv tNRw tORx tPRy tQ]P
                  P                  RtER4ER5.4      Rz 4       tR]P
                  P                  R{R_]P                  ! R]TP                  ! R|4      R}7      .4      ]P
                  P                  RtER6ER5.4      ]P
                  P                  R. ER7O. ER8O.4      R 4       4       4       tV]P
                  P                  RRR_.4      ]P
                  P                  R. ER9O. ER:O34      R 4       4       tW]P
                  P                  Rt. ER;O4      R 4       tX]P
                  P                  RER<ER=.4      R 4       tYR tZR t[R t\R t]R t^]P
                  P                  ]P
                  P                  R	/ RR_/RRRR/R^R/.4      R 4       4       t_]P
                  P                  R 4       t`]P
                  P                  R 4       ta]P
                  P                  R 4       tbR tcR tdR te]P
                  P                  R4      ]P
                  P                  ]g! ]hP                  4      ]g! R4      8  RR7      R 4       4       tj]P
                  P                  R4      ]P
                  P                  ]g! ]hP                  4      ]g! R4      8  RR7      R 4       4       tk]P
                  P                  R4      ]P
                  P                  ]g! ]hP                  4      ]g! R4      8  RR7      R 4       4       tlR tm]P
                  P                  R. ER>O4      R 4       tnR toR tpR tqR trR tsR ttR tuR tvR twR tx]P
                  P                  RER?ER@.4      R 4       tyERAR ltz]P
                  P                  RR](P                  ! ](P                  ! . ERBO4      ](P                  ! . ERCO4      4      R](P                  ! ](P                  ! . ERBO4      ](P                  ! . ERDO4      4      R ](P                  ! ](P                  ! . ERBO4      ](P                  ! . EREO4      4      /R](P                  ! ](P                  ! ](PZ                  ^^^^^.4      ](P                  ! . ERFO4      4      R](P                  ! ](P                  ! ^](PZ                  ^^^^.4      ](P                  ! . ERGO4      4      R ](P                  ! ](P                  ! ^^^](PZ                  ^^.4      ](P                  ! . ERHO4      4      /.4      R 4       t}R t~]P
                  P                  R^ R^R^R/^ R^R/. ERIORR..4      R 4       tR t]P
                  P                  R. ERJO4      R 4       tR t]P
                  P                  RR]EP                  EP
                  4      R 4       t]P
                  P                  RRR,R..4      R 4       t]P
                  P                  RR]EP                  EP
                  4      R 4       t]P
                  P                  RR. ]! ]EP                  EP
                  4      ORSN4      R 4       tR t]P
                  P                  RRR .RR~3R.RR .RR.3.4      R 4       tR t]P
                  P                  RERKR.R3.4      R 4       t]P
                  P                  RRR.R.R.3RRR .RR.RR.3^ ^^.RR.RR.3.4      R 4       t]P
                  P                  R^ ^RR.3^^ ^ ^.3.4      R 4       tR tR t]P
                  P                  RR](EP$                  .4      R 4       t]P
                  P                  R/ R3RR/R3RR/R3.4      R 4       tR t]P
                  P                  R+R^.4      R 4       tR tR tR t]P
                  P                  ]P
                  P                  R	R:R/R9RR:R/R;R/.4      R 4       4       t]P
                  P                  R 4       t]P
                  P                  R 4       t]P
                  P                  ]P
                  P                  RRR.4      R 4       4       t]P
                  P                  R 4       t]P
                  P                  R 4       t]P
                  P                  ]P
                  P                  RR. ERLO4      ]P
                  P                  R]! ](EPB                  ! ^4      R,          R-R7      ],! R-](EPB                  ! ^4      R,          R+](EPB                  ! ^4      R,          /4      .4      R 4       4       4       t]P
                  P                  ]P
                  P                  RR. ERLO4      ]P
                  P                  R],! R-](EPB                  ! ^4      R,          R+](EPB                  ! ^4      R,          /4      ],! R-](EPB                  ! ^4      R,          R+](EPB                  ! ^4      R,          /4      3]! ](EPB                  ! ^4      R,          R-R7      ]! ](EPB                  ! ^4      R,          R-R7      3ERM.4      R 4       4       4       t]P
                  P                  ]P
                  P                  RR. ERLO4      R 4       4       t]P
                  P                  R]R7      R 4       tR t]P
                  P                  ]P
                  P                  RRR%R&.4      R 4       4       t]P
                  P                  R 4       t]P
                  P                  ]P
                  P                  RR ],.4      R 4       4       t]P
                  P                  RR. ERLO4      R 4       tR tR tR tR tR tR tR tER  tER t]P
                  P                  RR]EP                  EPj                  4      ER 4       tER tER tER tER tER tER tER	 t]P
                  P                  ER
. ERNO4      ER 4       tER tER t]P
                  P                  RRR%RS.4      ER 4       tER tER tER t]P
                  P                  RRERO4      ER 4       tER tER tER t]P
                  P                  ER. ERPO4      ER 4       tER tER t]P
                  P                  RRERQ4      ER 4       t]P
                  P                  ERERRERSERTERURER^^.3.4      ]P
                  P                  RR. ERVO4      ER 4       4       t]P
                  P                  ER. ERWO4      ]P
                  P                  RRR,R..4      ER 4       4       t]P
                  P                  RaERX4      ER  4       t]P
                  P                  ER! 4       t]P
                  P                  ER". ERYO4      ER# 4       tER$ tER%tV tR# (Z  TestDataFramePlotsc           
         \        \        P                  P                  ^4      P	                  R
4      \        \        R4      \        R7      \        R^
RR7      R7      p\        VP                  RR7       R	# )   ABCDdtype
2000-01-01BperiodsfreqcolumnsindexF)gridN
      )r   nprandomdefault_rngstandard_normalr   listobjectr   r   plotselfdfs   & v/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/plotting/frame/test_frame.py	test_plotTestDataFramePlots.test_plot@   sS    II!!!$44W=$v,f5\2C@

 	"''.    c           
        \        \        P                  P                  ^4      P	                  R4      \        \        R4      \        R7      \        R^
RR7      R7      p\        VP                  RRR7      p\        V^RR	7       R
# )r!   r"   r#   r%   r&   r'   r*   Tdefault_axessubplotsaxes_numlayoutNr.   r0      r   r1   r2   r3   r4   r   r5   r6   r   r   r7   r   r9   r:   axess   &  r;   test_plot_subplots%TestDataFramePlots.test_plot_subplotsI   sc    II!!!$44W=$v,f5\2C@
 !tdK$6:r>   c           
        \        \        P                  P                  ^4      P	                  R4      \        \        R4      \        R7      \        R^
RR7      R7      p\        VP                  RRRR7      p\        V^RR	7       R
# )r!   r"   r#   r%   r&   r'   r*   T)rA   rB   rE   rC   Nr.   )r!   r!   r!   rH   rI   s   &  r;   "test_plot_subplots_negative_layout5TestDataFramePlots.test_plot_subplots_negative_layoutT   sm    II!!!$44W=$v,f5\2C@

 !GG	
 	$6:r>   c           
     *   \        \        P                  P                  ^4      P	                  R4      \        \        R4      \        R7      \        R^
RR7      R7      p\        VP                  RRRR	7      p\        V^ R
7       \        V^RR7       R# )r!   r"   r#   r%   r&   r'   r*   TF)rA   rB   	use_indexxrotrC   Nr.   rF   )r   r1   r2   r3   r4   r   r5   r6   r   r   r7   r   r   rI   s   &  r;   test_plot_subplots_use_index/TestDataFramePlots.test_plot_subplots_use_indexc   sw    II!!!$44W=$v,f5\2C@

 !GG	
 	4a($6:r>   zApi changed in 3.6.0)reasonc                    \        R ^^.R^^./4      pRp\        P                  ! \        VR7      ;_uu_ 4        VP                  P                  RR7       RRR4       R#   + '       g   i     R# ; i)xyz''Line2D' object has no property 'blarg'matchT)blargN)r   pytestraisesAttributeErrorr7   liner9   r:   msgs   &  r;   test_plot_invalid_arg(TestDataFramePlots.test_plot_invalid_args   sV     aVS1a&127]]>55GGLLtL$ 6555s   A!!A2	c                    \        \        P                  P                  ^4      P                  R4      \	        \
        P                  R,          4      R7      p\        VP                  RR7      p\        V^ R7       R# )r!   Nr/   Nr,   TrS   rT   Nr/      )
r   r1   r2   r3   r5   stringascii_lettersr   r7   r   r9   r:   axs   &  r;   test_plot_tick_props'TestDataFramePlots.test_plot_tick_props{   sX    II!!!$++G4v++C01

 rww$72A&r>   kwargsyticksxticksylimxlimrA   TrB   titleblahc                    \        \        P                  P                  ^4      P                  R4      \	        \
        P                  R,          4      R7      p\        VP                  3/ VB  R# )r!   rh   ri   Nrk   	r   r1   r2   r3   r5   rm   rn   r   r7   r9   rs   r:   s   && r;   test_plot_other_args'TestDataFramePlots.test_plot_other_args   sQ     II!!!$++G4v++C01
 	"'',V,r>   c                   \        \        P                  P                  ^4      P                  R4      \	        \
        P                  R,          4      R7      pVP                  RRR7      p\        V^RR7       VR,           Fv  p\        VP                  4       \        VP                  4       RR	7       \        VP                  RR
7      RR	7       \        VP                  P                  4       .RR	7       Kx  	  V^,          3 Fb  p\        VP                  4       \        VP                  4       4       \        VP                  P                  4       .4       \        V^ R7       Kd  	  R# )r!   rh   ri   Try   )rB   rx   rC   Nr!   NFvisibleminorrT   Nrk   rl   rG   )r   r1   r2   r3   r5   rm   rn   r7   r   r   xaxisget_xticklabels	get_labelr   )r9   r:   rJ   rp   s   &   r;   test_plot_visible_ax'TestDataFramePlots.test_plot_visible_ax   s   II!!!$++G4v++C01
 wwFw3$6:r((B288$2--/?2--D-95IBHH..015A	 
 7)B288$2--/0BHH..012r*	 r>   c                    \        \        P                  P                  ^4      P                  R4      \	        \
        P                  R,          4      R7      p\        VP                  RR7       R# )r!   rh   ri   ry   rx   Nrk   r{   r8   s   & r;   test_plot_title"TestDataFramePlots.test_plot_title   sL    II!!!$++G4v++C01
 	"''0r>   c                @   \        \        P                  R ,          \        ^
4      RR7      p\	        \
        P                  P                  ^4      P                  R4      \        P                  ! V4      R7      p\        VP                  RR7      p\        V^ R7       R# )rh   Tstrictri   rj   rT   Nrk   )ziprm   rn   ranger   r1   r2   r3   r   from_tuplesr   r7   r   )r9   tuplesr:   rp   s   &   r;   test_plot_multiindex'TestDataFramePlots.test_plot_multiindex   sp    V))#.b	$GII!!!$++G4((0
 rww$72A&r>   c                   \         P                  ! . R
ORR.R7      p\         P                  ! RR.RR.R7      p\        \        P                  P                  ^4      P                  ^ ^
R4      VVR7      p\        VP                  RR7       R	# )   αi0i1)namesc0c1r*   u   Σr   N))r       )r   rG   )   βr!   )r   rl   )   γr0   )r      )   δ   )r      )baru   Δ)r   u   Ε)   r!   )	r   r   r   r1   r2   r3   integersr   r7   )r9   r,   r+   r:   s   &   r;   test_plot_multiindex_unicode/TestDataFramePlots.test_plot_multiindex_unicode   s     &&	 ,
 (( 124,
 II!!!$--aV<

 	"''2r>   rE   Nc                    \        R \        P                  P                  ^4      P                  ^
4      /4      p\	        VP
                  P                  RVR7      p\        V^RR7       R# )rZ   T)rB   rE   rC   NrG   rG   )r   r1   r2   r3   r   r7   r   r   )r9   rE   r:   rJ   s   &&  r;   test_plot_single_column_bar.TestDataFramePlots.test_plot_single_column_bar   sO    
 RYY2215<<R@AB tFK$6:r>   c                J   \        R \        P                  P                  ^4      P                  ^
4      /4      p\        P
                  P                  4       w  r#VP                  P                  RVR7      p\        V4      ^8X  g   Q hVP                  pWT^ ,          J g   Q hR# )rZ   TrB   rp   N)r   r1   r2   r3   mplpyplotrB   r7   r   lenrJ   )r9   r:   _rp   rJ   results   &     r;   test_plot_passed_ax&TestDataFramePlots.test_plot_passed_ax   s     RYY2215<<R@AB

##%ww{{DR{04yA~~a   r>   z
cols, x, yABCDEAr&   CDEc                j   . ROp\        R. ROR. ROR\        P                  ! ^^\        P                  ^^.\        R7      R\
        P                  ! VRR7      P                  R	4      R
\
        P                  ! VRRR7      P                  R	4      /4      p\        WQ,          P                  W#R7       R# )2008Nr   r&   r   r#   r   z%Yformati8r   T)r   utcrZ   r[   )r   2009N20112012rG   r!   rl   r0   r   )
r   r1   arraynanr6   pdto_datetimeviewr   r7   )r9   colsrZ   r[   datesr:   s   &&&&  r;   test_nullable_int_plot)TestDataFramePlots.test_nullable_int_plot   s     7__RXXq!RVVQ2&AR^^E$7<<TBR^^E$DAFFtL
 	"(--12r>   r7   rb   r   histpiec                    \         P                  ! . RORR7      p\        V4      p\        \	        VP
                  V4      4       R# )rG   UInt32r#   NrG   r!   rl   r0   )r   r   r	   r   getattrr7   )r9   r7   arrss   &&  r;   test_integer_array_plot_series1TestDataFramePlots.test_integer_array_plot_series	  s0     hh|843K'!&&$/0r>   zplot, kwargsr[   scatterrZ   hexbinc                    \         P                  ! . RORR7      p\        RVRV/4      p\        \	        VP
                  V4      3/ VB  R# )rG   r   r#   rZ   r[   Nr   )r   r   r   r   r   r7   )r9   r7   rs   r   r:   s   &&&  r;   test_integer_array_plot_df-TestDataFramePlots.test_integer_array_plot_df  s?     hh|84S#s+,'"''40;F;r>   c                    \        R . ROR. RO/4      pVP                  4       p\        VP                  4       4      ^8X  g   Q hR# )r   r&   NrZ   r[   zrG   r!   rl   )r   r7   r   	get_linesro   s   &  r;   test_nonnumeric_exclude*TestDataFramePlots.test_nonnumeric_exclude$  s9    _c9=>WWY2<<>"a'''r>   c                    \        \        P                  P                  ^4      P	                  R4      . ROR7      pVP                  RRR7      p\        VP                  P                  4       R4       R# )r!   abr+   r   Nrk   r   r   c)	r   r1   r2   r3   r4   r7   r   r   r   ro   s   &  r;   test_implicit_label&TestDataFramePlots.test_implicit_label)  sV    II!!!$44W=
 WWscW"288--/5r>   c                    \        \        P                  P                  ^4      P	                  R4      RR.R7      pRVP
                  n        VP                  RRR7       VP
                  P                  R8X  g   Q hR# )	r!   r   r   r   NAMELABEL)r[   labelNrO   )r   r1   r2   r3   r4   r,   namer7   r8   s   & r;   test_donot_overwrite_index_name2TestDataFramePlots.test_donot_overwrite_index_name0  sb    II!!!$44V<sCj
 
#W%xx}}&&&r>   c           
        \        \        P                  P                  ^4      P	                  R4      \        \        R4      \        R7      \        R^RR7      R7      p\        VP                  ^ ^R7      VP                  R4      R,          P                  4       4       \        VP                  ^ R	7      VP                  R4      P                  4       4       \        VP                  ^ R
7      VP                  P                  4       4       \        VP                  RRR7      VP                  R4      P                  P                  4       4       \        VP                  RR	7      VP                  R4      P                  4       4       \        VP                  RR
7      VP                  P                  4       4       R# )r!   r"   r#   r%   r&   r'   r*   r   r   rZ   r[   Nr   r0   )r   r1   r2   r3   r4   r   r5   r6   r   r   r7   	set_indexr&   r8   s   & r;   test_plot_xyTestDataFramePlots.test_plot_xy9  s*   II!!!$44V<$v,f5\13?

 	BGGa1G%r||C'8'='B'B'DEBGGaGL",,s"3"8"8":;BGGaGL"$$))+.BGGcSG)2<<+<+>+>+C+C+EFBGGcGNBLL$5$:$:$<=BGGcGNBDDIIK0r>   c           
        \        \        P                  P                  ^4      P	                  R4      \        \        R4      \        R7      \        R^RR7      R7      p\        P                  ! ^\        VP                  4      ^,           4      Vn        \        VP                  ^^R7      VP                  ^4      ^,          P                  4       4       \        VP                  ^R7      VP                  ^4      P                  4       4       \        VP                  ^R	7      V^,          P                  4       4       R
# )r!   r"   r#   r%   r&   r'   r*   r   r   r   Nr   )r   r1   r2   r3   r4   r   r5   r6   r   aranger   r+   r   r7   r   r8   s   & r;   test_plot_xy_int_cols(TestDataFramePlots.test_plot_xy_int_colsG  s    II!!!$44V<$v,f5\13?
 YYq#bjj/A"56
BGGa1G%r||Aq'9'>'>'@ABGGaGL",,q/"6"6"89BGGaGL"Q%**,/r>   c           
     6   \        \        P                  P                  ^4      P	                  R4      \        \        R4      \        R7      \        R^RR7      R7      pVP                  ^^RRR7      p\        VP                  R4       \        V^RRR	7       R
# )r!   r"   r#   r%   r&   r'   r*   Test)rZ   r[   rx   figsize)rD   rE   r  Nr   )   r   r   )g      0@       @)r   r1   r2   r3   r4   r   r5   r6   r   r7   r   rx   r   ro   s   &  r;   test_plot_xy_figsize_and_title1TestDataFramePlots.test_plot_xy_figsize_and_titleS  sw    II!!!$44V<$v,f5\13?
 WWqAVWW=288V,"qMr>   zinput_log, expected_logc                   \        R \        P                  ! ^d4      /\        P                  ! ^d4      R7      pVP                  VR7      p\	        WBR7       VP                  4       V8X  g   Q hVP                  VR7      p\	        WBR7       VP                  4       V8X  g   Q hVP                  VR7      p\	        WBVR7       VP                  4       V8X  g   Q hVP                  4       V8X  g   Q hR# )	r   ri   logyyaxis)logxr   loglog)r   r  N)r   r1   r   r7   r   
get_yscale
get_xscale)r9   	input_logexpected_logr:   rp   s   &&&  r;   test_logscales!TestDataFramePlots.test_logscalesa  s     RYYs^,BIIcNCWW)W$0}},...WW)W$0}},...WWIW&|D}},...}},...r>   input_paramr  r
  r  c                   \        R \        P                  ! ^d4      /\        P                  ! ^d4      R7      pRV R2p\        P                  ! \
        VR7      ;_uu_ 4        VP                  ! R/ VR/B  RRR4       RV R2p\        P                  ! \        VR7      ;_uu_ 4        VP                  P                  ! RR	R
/VR
/B  RRR4       R#   + '       g   i     Le; i  + '       g   i     R# ; i)r   ri   z	keyword 'z*' should be bool, None, or 'sym', not 'sm'r\   smNzPiePlot ignores the 'z	' keywordrB   T )r   r1   r   r_   r`   
ValueErrorr7   tmassert_produces_warningUserWarningr   )r9   r  r:   rd   s   &&  r;   test_invalid_logscale(TestDataFramePlots.test_invalid_logscalet  s     RYYs^,BIIcNC+&PQ]]:S11GG*{D)* 2 &k])<''3??GGKK==+t)<= @?	 21 @??s   "C)!C'C$	'C8	c           
     z   \        \        P                  P                  ^4      P	                  R4      \        \        R4      \        R7      \        R^
RR7      R7      pVP                  RR7      pVP                  4       p\        V^ ,          P                  4       \        4      '       d   Q h\        V^R	7       R
# )r!   r"   r#   r%   r&   r'   r*   T)x_compatrT   Nr.   )r   r1   r2   r3   r4   r   r5   r6   r   r7   r   
isinstance	get_xdatar   r   r9   r:   rp   liness   &   r;   test_xcompatTestDataFramePlots.test_xcompat  s    II!!!$44W=$v,f5\2C@

 WWdW#eAh002K@@@@2B'r>   c           
        \        \        P                  P                  ^4      P	                  R4      \        \        R4      \        R7      \        R^
RR7      R7      pR\        P                  R&   VP                  4       pVP                  4       p\        V^ ,          P                  4       \        4      '       d   Q h\!        V^R	7       R
# )r!   r"   r#   r%   r&   r'   r*   Tzxaxis.compatrT   Nr.   )r   r1   r2   r3   r4   r   r5   r6   r   r   plot_paramsr7   r   r#  r$  r   r   r%  s   &   r;   test_xcompat_plot_params+TestDataFramePlots.test_xcompat_plot_params  s    II!!!$44W=$v,f5\2C@

 04^,WWYeAh002K@@@@2B'r>   c           
     v   \        \        P                  P                  ^4      P	                  R4      \        \        R4      \        R7      \        R^
RR7      R7      pR\        P                  R&   VP                  4       pVP                  4       p\        V^ ,          P                  4       \        4      '       d   Q hR	p\         P"                  ! \$        VR
7      ;_uu_ 4        \        \        V^ ,          P                  4       4      \        4      '       g   Q h RRR4       R#   + '       g   i     R# ; i)r!   r"   r#   r%   r&   r'   r*   Fr"  zPeriodDtype\[B\] is deprecatedr\   Nr.   )r   r1   r2   r3   r4   r   r5   r6   r   r   r*  r7   r   r#  r$  r   r  r  FutureWarningr9   r:   rp   r&  rd   s   &    r;   !test_xcompat_plot_params_x_compat4TestDataFramePlots.test_xcompat_plot_params_x_compat  s    II!!!$44W=$v,f5\2C@

 ,1Z(WWYeAh002K@@@@/''SAAk%(*<*<*>?MMMM BAAAs   %7D''D8	c           
         \        \        P                  P                  ^4      P	                  R4      \        \        R4      \        R7      \        R^
RR7      R7      p\        P                  P                  RR4      ;_uu_ 4        VP                  4       pVP                  4       p\        V^ ,          P                  4       \         4      '       d   Q h\#        V^R	7       R
R
R
4       R
#   + '       g   i     R
# ; i)r!   r"   r#   r%   r&   r'   r*   r"  TrT   Nr.   )r   r1   r2   r3   r4   r   r5   r6   r   r   r*  user7   r   r#  r$  r   r   r%  s   &   r;   (test_xcompat_plot_params_context_manager;TestDataFramePlots.test_xcompat_plot_params_context_manager  s    II!!!$44W=$v,f5\2C@
 !!%%j$77BLLNE!%("4"4"6DDDDr+	 8777s   AC,,C=	c           
     h   \        \        P                  P                  ^4      P	                  R4      \        \        R4      \        R7      \        R^
RR7      R7      pVP                  4       pVP                  4       p\        V^ ,          P                  4       \        4      '       d   Q hRp\        P                  ! \         VR7      ;_uu_ 4        \        \        V^ ,          P                  4       4      \        4      '       g   Q h R	R	R	4       \#        V^ R
7       R	#   + '       g   i     L; i)r!   r"   r#   r%   r&   r'   r*   zPeriodDtype\[B\] is deprecated r\   NrT   r.   )r   r1   r2   r3   r4   r   r5   r6   r   r7   r   r#  r$  r   r  r  r.  r   r/  s   &    r;   test_xcompat_plot_period+TestDataFramePlots.test_xcompat_plot_period  s    II!!!$44W=$v,f5\2C@

 WWYeAh002K@@@@0''SAAk%(*<*<*>?MMMM B2A& BAs   7D!!D1	c                   \        \        P                  P                  ^4      P                  R4      \	        \        R^^4      \        R^^4      4      RR.R7      pVP                  4        \        P                  P                  ^ R7       R# )r!     r   r   r,   r+   r   N)   r!   )
r   r1   r2   r3   r
   r   r7   r   r   axhliner8   s   & r;   test_period_compat%TestDataFramePlots.test_period_compat  sn     II!!!$++G4htQ2HT1b4IJ#J
 		

Qr>   index_dtypec           
        \        R \        P                  ! ^d4      /\        \        P                  ! ^cRR4      VR7      \        P                  R7      pVP                  4       pVP                  4       ^ ,          pVP                  4       p\        VR,          VR	,          \        P                  R R7      p\        P                  ! WRP                  RR7       R# )
r[   r#   )r,   r$   )r$   r   F)check_index_typeNrN   NNNrG   )rD  r   )r   r1   r   r   int64r7   r   
get_xydatar	   r  assert_series_equalr[   )r9   r@  r:   rp   r&  rss   &&    r;   test_unsorted_index&TestDataFramePlots.test_unsorted_index  s    "))C.!		"b"-[A((

 WWYq!BtHbhbhhSA
r44%@r>   r:                 ?       @      @ri   g      @g      @g      @c                N   VP                  4       pVP                  4       w  r4VP                  4       pV\        P                  ! V^ ,          P                  4       ^ ,          4      8:  g   Q hV\        P                  ! V^ ,          P                  4       ^ ,          4      8  g   Q hR# )r   N)r7   get_xlimr   r1   nanminget_datananmaxr9   r:   rp   xminxmaxr&  s   &&    r;   test_unsorted_index_lims+TestDataFramePlots.test_unsorted_index_lims  sy     WWY[[]
ryyq!2!2!4Q!78888ryyq!2!2!4Q!78888r>   c                z   \        R . ROR. RO/4      pVP                  RR R7      pVP                  4       w  r4VP                  4       pV\        P
                  ! V^ ,          P                  4       ^ ,          4      8:  g   Q hV\        P                  ! V^ ,          P                  4       ^ ,          4      8  g   Q hR# )r[   r   r   NrK  rL  rM  rN  )g     V@g     V@g     @W@g      W@)r   r7   rP  r   r1   rQ  rR  rS  rT  s   &     r;   test_unsorted_index_lims_x_y/TestDataFramePlots.test_unsorted_index_lims_x_y  s    138PQRWWscW"[[]
ryyq!2!2!4Q!78888ryyq!2!2!4Q!78888r>   c                2   \        \        P                  P                  ^4      P                  R	4      \	        \
        P                  R,          4      . R
OR7      ) pRp\        P                  ! \        VR7      ;_uu_ 4        VP                  P                  RR7       RRR4       \        P                  ! \        VR7      ;_uu_ 4        VP                  P                  RR7       RRR4       R#   + '       g   i     L[; i  + '       g   i     R# ; i)r!   Nr   Nr;  z+Log-y scales are not supported in area plotr\   Tr	  Nr  r   r0   rZ   r[   r   four)r   r1   r2   r3   r5   rm   rn   r_   r`   r  r7   arearc   s   &  r;   test_negative_log$TestDataFramePlots.test_negative_log  s    II!!!$++F3v++B/0+
 

 <]]:S11GGLLdL# 2]]:S11GGLLL% 21 21111s   C2D2D	D	c                <   \         P                  ! \        V^ ,          P                  4       ^,          4      4      p\	        WRR7       FO  w  rEW4P                  4       ^,          ,          pVP                  4       ^,          p\
        P                  ! W64       KQ  	  R# )r   Tr   N)r1   zerosr   rR  r   r  assert_numpy_array_equal)r9   normal_linesstacked_linesbasenlslsys   &&&    r;   _compare_stacked_y_cood*TestDataFramePlots._compare_stacked_y_cood   sl    xxLO446q9:;,dCFBKKM!$$Dq!B''1 Dr>   kindrb  multc                6   V\        \        P                  P                  ^4      P                  R4      . ROR7      ,          p\	        VP
                  VRR7      p\	        VP
                  VRR7      pV P                  VP                  VP                  4       R# )r!   r   Frp  stackedTNr_  wrZ   r[   r   r   r1   r2   r3   r   r7   rn  r&  )r9   rp  rq  r:   ax1ax2s   &&&   r;   test_line_area_stacked)TestDataFramePlots.test_line_area_stacked  ss     III!!!$++F3=Q
 
  dEBdDA$$SYY		:r>   c                   \        R \        P                  P                  ^4      P                  ^4      R\        P                  P                  ^4      P                  ^4      R\        P                  P                  ^4      P                  ^4      ) R\        P                  P                  ^4      P                  ^4      ) /4      p\	        VP
                  VRR7      p\	        VP
                  VRR7      pV P                  VP                  R,          VP                  R,          4       V P                  VP                  R,          VP                  R,          4       R	# )
rv  rZ   r[   r   Frs  Tr   :r!   NNNrw  )r9   rp  sep_dfrx  ry  s   &&   r;   test_line_area_stacked_sep_df0TestDataFramePlots.test_line_area_stacked_sep_df  s     RYY**1-44Q7RYY**1-44Q7bii++A.55a88bii++A.55a88	
  $F$E$$SYYr]CIIbMB$$SYYr]CIIbMBr>   c                   \        \        P                  P                  ^4      P	                  R	4      \        \        P                  R,          4      . R
OR7      p\        VP                  RR7       Rp\        P                  ! \        VR7      ;_uu_ 4        VP                  RR7       RRR4       R#   + '       g   i     R# ; i)r!   r^  r;  Frt  zWhen stacked is True, each column must be either all positive or all negative. Column 'w' contains both positive and negative valuesr\   TNr_  ru  )r   r1   r2   r3   r4   r5   rm   rn   r   r7   r_   r`   r  )r9   mixed_dfrd   s   &  r;   test_line_area_stacked_mixed/TestDataFramePlots.test_line_area_stacked_mixed"  s    II!!!$44V<v++B/0(

 	(--7 	
 ]]:S11MM$M' 2111s   B55C	c                    \        \        P                  P                  ^4      P                  R4      . ROR7      pVP	                  VP
                  ^,           4      p\        VP                  VRRR7       R# )r!   r   T)rp  r  rt  Nr_  ru  )r   r1   r2   r3   r   r,   r   r7   )r9   rp  r:   df2s   &&  r;   #test_line_area_stacked_positive_idx6TestDataFramePlots.test_line_area_stacked_positive_idx2  sV    II!!!$++F3=Q

 ll288a<(#((D$Gr>   idxz	2023-01-1r)   r(   c                z   ^^\         P                  ^.p^\         P                  ^^.p\        RVRV/VR7      p\        VP                  4      pVP
                  ^ ,          P                  4       pVP
                  ^,          P                  4       p\         P                  ! . RO\         P                  R7      p\        P                  ! \         P                  ! VP                  ^4      V4       \         P                  ! . RO\         P                  R7      p\        P                  ! \         P                  ! VP                  ^4      V4       \        P                  ! VP                  \         P                  ! . RO4      4       \        P                  ! VP                  \         P                  ! . R	O4      4       R# )
rG   r   r   ri   r#   Nr   )rl   r!   rG   )FFTF)FTFF)r1   r   r   r   r7   r&  	get_ydatar   float64r  rg  deletedatamask)	r9   r  values1values2r:   rp   masked1masked2exps	   &&       r;   test_line_area_nan_df(TestDataFramePlots.test_line_area_nan_df<  s    a#bffa#Wc733?rww'((1+'')((1+'') hhy

3
##BIIgllA$>Dhhy

3
##BIIgllA$>D
##GLL"((;V2WX
##GLL"((;V2WXr>   c                *   ^^\         P                  ^.p^\         P                  ^^.p\        RVRV/VR7      p\         P                  ! . RO\         P                  R7      p\         P                  ! . R	O\         P                  R7      p\        VP                  RR7      p\        P                  ! VP                  ^ ,          P                  4       V4       \        P                  ! VP                  ^,          P                  4       WV,           4       R# )
rG   r   r   ri   r#   Tr  NrG   r!   r   rl   rl   r   r!   rG   )r1   r   r   r   r  r   r7   r  rg  r&  r  )r9   r  r  r  r:   	expected1	expected2rp   s   &&      r;   test_line_area_nan_df_stacked0TestDataFramePlots.test_line_area_nan_df_stackedQ  s     a#bffa#Wc733?HH\<	HH\<	rww5
##BHHQK$9$9$;YG
##BHHQK$9$9$;Y=RSr>   rt  Fc                   ^^\         P                  ^.p^\         P                  ^^.p\        RVRV/VR7      p\         P                  ! . RO\         P                  R7      p\         P                  ! . R	O\         P                  R7      p\        VP                  P                  3/ VB p\        P                  ! VP                  ^ ,          P                  4       V4       V'       d8   \        P                  ! VP                  ^,          P                  4       V4       M<\        P                  ! VP                  ^,          P                  4       Wg,           4       \        VP                  P                  RR7      p\        P                  ! VP                  ^ ,          P                  4       V4       \        P                  ! VP                  ^,          P                  4       V4       R# )
rG   r   r   ri   r#   Fr  Nr  r  )r1   r   r   r   r  r   r7   rb  r  rg  r&  r  )	r9   r  rs   r  r  r:   r  r  rp   s	   &&&      r;   "test_line_area_nan_df_stacked_area5TestDataFramePlots.test_line_area_nan_df_stacked_area`  s;   
 a#bffa#Wc733?HH\<	HH\<	rww||6v6
##BHHQK$9$9$;YG''(=(=(?K''(=(=(?AVWrww||U;
##BHHQK$9$9$;YG
##BHHQK$9$9$;YGr>   secondary_yc                   \        \        P                  P                  ^4      P                  R4      . ROR7      pVP                  ! R/ VB pVP                  4       w  rEVP                  4       pWF^ ,          P                  4       ^ ,          ^ ,          8:  g   Q hWV^ ,          P                  4       ^ ,          R,          8  g   Q hR# )r!   r   Nr   rl   r   r  rN   )r   r1   r2   r3   r7   rP  r   rR  )r9   rs   r:   rp   rU  rV  r&  s   &&     r;   test_line_lim TestDataFramePlots.test_line_limw  s    ryy,,Q/66v>XWWv[[]
Qx((*1-a0000Qx((*1-b1111r>   c                   \        \        P                  P                  ^4      P                  R4      . R	OR7      pVP	                  RRR7      p\        V^R
R7       V F  p\        VR4      '       g   Q h\        VR4      '       d   Q hVP                  4       w  rEVP                  4       pWF^ ,          P                  4       ^ ,          ^ ,          8:  g   Q hWV^ ,          P                  4       ^ ,          R,          8  d   K  Q h	  R# )r!   r   T)r  rB   rC   left_axright_axNr  r   r   rN   )
r   r1   r2   r3   r7   r   hasattrrP  r   rR  )r9   r:   rJ   rp   rU  rV  r&  s   &      r;   test_line_lim_subplots)TestDataFramePlots.test_line_lim_subplots  s    ryy,,Q/66v>Xww4$w7$6:B2y))))r:....JDLLNE8,,.q1!44448,,.q1"5555 r>   zX2020-12-01 this has been failing periodically on the ymin==0 assertion for a week or so.)r   rX   c                b   \        \        P                  P                  ^4      P                  R4      . ROR7      pV) p\	        VP
                  P                  VR7      pVP                  4       w  rVVP                  4       w  rxVP                  4       p	WY^ ,          P                  4       ^ ,          ^ ,          8:  g   Q hWi^ ,          P                  4       ^ ,          R,          8  g   Q hV^ 8X  g   Q h\	        VP
                  P                  VR7      pVP                  4       w  rxV^ 8X  g   Q hR# )r!   r   r  Nr_  r`  rN   )r   r1   r2   r3   r   r7   rb  rP  get_ylimr   rR  )
r9   rt  r:   neg_dfrp   rU  rV  yminymaxr&  s
   &&        r;   test_area_lim TestDataFramePlots.test_area_lim  s     II!!!$++F3=T
 rww||W=[[]
[[]
Qx((*1-a0000Qx((*1-b1111qyyv{{//A[[]
qyyr>   c                   \        \        P                  P                  ^4      P                  R	4      RR.R7      p\        P
                  P                  ^^RR7      w  pw  r4VP                  VRR7       VP                  VRR7       \        V4      P                  W44      '       g   Q h\        V4      P                  W44      '       g   Q hR# )
r!   rZ   r[   r   T)shareyrb  )rp   rp  Nr0   r!   )
r   r1   r2   r3   r   r   rB   r7   r   joined)r9   r:   figrx  ry  s   &    r;   test_area_sharey_dont_overwrite2TestDataFramePlots.test_area_sharey_dont_overwrite  s    ryy,,Q/66v>c
S**--a4-@Zc
3V$
3V$#%%c////#%%c////r>   c                   \        \        P                  P                  ^4      P	                  R4      4      pVP
                  P                  V^R7      pVP                   F  pVP                  4       ^8X  d   K  Q h	  R# )r!   )rt  	linewidthNr   r   )	r   r1   r2   r3   r4   r7   r   patchesget_linewidth)r9   rt  r:   rp   rs   &&   r;   test_bar_linewidth%TestDataFramePlots.test_bar_linewidth  s_    ryy,,Q/??GHWW[[A[6A??$))) r>   c                0   \        \        P                  P                  ^4      P	                  R4      4      pVP
                  P                  ^RR7      p\        V^RR7       V F-  pVP                   F  pVP                  4       ^8X  d   K  Q h	  K/  	  R# )r!   T)r  rB   rC   Nr  )r   rG   )
r   r1   r2   r3   r4   r7   r   r   r  r  )r9   r:   rJ   rp   r  s   &    r;   test_bar_linewidth_subplots.TestDataFramePlots.test_bar_linewidth_subplots  su    ryy,,Q/??GHww{{Q{6$6:BZZ(A---   r>   z	meth, dimc                |   \        \        P                  P                  ^4      P	                  R4      4      pRp\        VP                  V4      ! W5R7      pVP                   FU  pV'       g4   \        Wr4      ! 4       V\        VP                  4      ,          8X  g   Q hK>  \        Wr4      ! 4       V8X  d   KU  Q h	  R# )r!   ?)rt  widthNr  )
r   r1   r2   r3   r4   r   r7   r  r   r+   )r9   methdimrt  r:   r  rp   r  s   &&&&    r;   test_bar_barwidth$TestDataFramePlots.test_bar_barwidth  s    
 ryy,,Q/??GHRWWd#GAAq(EC

O,CCCCq(E111	 r>   c                   \        \        P                  P                  ^4      P	                  R4      4      pRp\        VP                  V4      ! VRR7      pV F-  pVP                   F  p\        Wr4      ! 4       V8X  d   K  Q h	  K/  	  R# )r!   r  T)r  rB   Nr  )r   r1   r2   r3   r4   r   r7   r  )r9   r  r  r:   r  rJ   rp   r  s   &&&     r;   test_barh_barwidth_subplots.TestDataFramePlots.test_barh_barwidth_subplots  sq     ryy,,Q/??GHrww%EDABZZq(E111   r>   c                   \        \        P                  P                  ^4      P                  R4      4      pVP                  P                  R^R7      pVP                   Uu. uF  q3P                  4       NK  	  ppV^.^,          8X  g   Q hVP                  P                  R. ROR7      pVP                  R,           Uu. uF  q3P                  4       NK  	  ppV. RO8X  g   Q hR# u upi u upi )r!   F)rt  bottomTNr   NNr  )rN   )r   r1   r2   r3   r7   r   r  get_yr9   r:   rp   pr   s   &    r;   test_bar_bottom_left_bottom.TestDataFramePlots.test_bar_bottom_left_bottom  s    ryy,,Q/66v>?WW[[q[1%'ZZ0Z'')Z0!r!!!WW[[.B[C%'ZZ^4^'')^4---- 1 5s   #C)C.c                   \        \        P                  P                  ^4      P                  R4      4      pVP                  P                  R\        P                  ! . RO4      R7      pVP                   Uu. uF  q3P                  4       NK  	  ppV^.^,          8X  g   Q hVP                  P                  R. ROR7      pVP                  R,           Uu. uF  q3P                  4       NK  	  ppV. RO8X  g   Q hR# u upi u upi )	r!   F)rt  leftTr  Nr  rG   rG   rG   rG   rG   r   )	r   r1   r2   r3   r7   barhr   r  get_xr  s   &    r;   test_bar_bottom_left_left,TestDataFramePlots.test_bar_bottom_left_left  s    ryy,,Q/66v>?WW\\%bhh.G\H%'ZZ0Z'')Z0!r!!!WW\\$_\=%'ZZ^4^'')^4((( 1 5s   9C?Dc                0   \        \        P                  P                  ^4      P                  R4      4      pVP                  P                  RRR7      pV F<  pVP                   Uu. uF  qDP                  4       NK  	  ppVR.^,          8X  d   K<  Q h	  VP                  P                  R\        P                  ! . RO4      R7      pV F<  pVP                   Uu. uF  qDP                  4       NK  	  ppV^.^,          8X  d   K<  Q h	  R# u upi u upi )r!   T)rB   r  )rB   r  Nr  rN   r  )r   r1   r2   r3   r7   r   r  r  r  r   r  )r9   r:   rJ   rp   r  r   s   &     r;   test_bar_bottom_left_subplots0TestDataFramePlots.test_bar_bottom_left_subplots  s    ryy,,Q/66v>?ww{{D{4B)+4AggiF4bTAX%%%  ww||T0I|JB)+4AggiF4aS1W$$$ 	 5
 5s   (DDc           	         \        R ^
\        P                  ^.R. ROR. RO/4      pVP                  P	                  4       p. ROpVP
                   Uu. uF  qDP                  4       NK  	  ppWS8X  g   Q hR# u upi )r   r&   r   Nr   r/      r   	r/   r   r  r   r/   r  rG   r!   rl   )r   r1   r   r7   r   r  
get_heightr9   r:   rp   expectedr  r   s   &     r;   test_bar_nanTestDataFramePlots.test_bar_nan  se    b"&&"-sKiPQWW[[]2*,**5*Q,,.*5!!! 6s   A7c           	     n   \        R ^
\        P                  ^.R. ROR. RO/4      pVP                  P	                  RR7      p. ROpVP
                   Uu. uF  qDP                  4       NK  	  ppWS8X  g   Q hVP
                   Uu. uF  qDP                  4       NK  	  pp. R	OpWS8X  g   Q hR# u upi u upi )
r   r&   r   Tr  Nr  r   r  )	rK  rK  rK        $@rK  g      4@g      .@r  g      D@)r   r1   r   r7   r   r  r  r  r  s   &     r;   test_bar_nan_stacked'TestDataFramePlots.test_bar_nan_stacked  s    b"&&"-sKiPQWW[[[&2*,**5*Q,,.*5!!!%'ZZ0Z'')Z0E!!! 6 1s   B-B2c           	     n   \        R . ROR. ROR. R	O/4      pVP                  P                  RR7      pVP                  VP                  R
,          4       . ROpVP
                   Uu. uF  qDP                  ^,          NK  	  pp\        P                  ! WS4       \        P                  R4       R# u upi )r   r&   r   Tr  allN)rl   r   rG   )r   r!   r0   )r   r   r!   rN   )r  rM        @)r   r7   r   	bar_label
containerstextsxyr  assert_almost_equalpltclose)r9   r:   rp   r  textr   s   &     r;   0test_bar_stacked_label_position_with_zero_heightCTestDataFramePlots.test_bar_stacked_label_position_with_zero_height  s    YYYGHWW[[[&
R]]2&'")+2''!**2
v0		% 3s   (B2c           	        \        \        P                  P                  ^4      P	                  R	4      V! \        R4      4      V! \        R4      4      R7      pVP                  P                  4       pVP                  P                  4       p\        P                  ! V\        P                  ! . R
O4      4       VP                  4       R8X  g   Q hVP                  ^ ,          P                  4       R8X  g   Q hVP                  R,          P                  4       R8X  g   Q hVP                  P                  RR7      p\        P                  ! V\        P                  ! . R
O4      4       VP                  4       R8X  g   Q hVP                  ^ ,          P                  4       R8X  g   Q hVP                  R,          P                  4       R8X  g   Q hR# )r!   ABCDEFabcder;  g@Tr  g      @N)r   r   )r   rG   r!   rl   r0   r   )g      g      @g      пrN   )r   r1   r2   r3   r4   r5   r7   r   r   get_ticklocsr  rg  r   rP  r  r  )r9   r  r:   rp   tickss   &&   r;   test_bar_categorical'TestDataFramePlots.test_bar_categorical  sR    II!!!$44V<d8n%W&
 WW[[]%%'
##E2884F+GH{{}+++zz!}""$---zz"~##%---WW[[[&
##E2884F+GH{{}+++zz!}""$---zz"~##%---r>   zx, yc                    \        \        P                  P                  ^4      P	                  R4      \        \        P                  R,          4      . ROR7      p\        VP                  P                  WR7       R# )r!   r^  r;  r   Nr_  r`  )r   r1   r2   r3   r4   r5   rm   rn   r   r7   r   r9   rZ   r[   r:   s   &&& r;   test_plot_scatter$TestDataFramePlots.test_plot_scatter1  sS    II!!!$44V<v++B/0+
 	"''//Q4r>   c                   \        \        P                  P                  ^4      P	                  R4      \        \        P                  R,          4      . ROR7      p\        P                  ! R4      p\        P                  ! \        VR7      ;_uu_ 4        VP                  P                  RR7       RRR4       \        P                  ! R	4      p\        P                  ! \        VR7      ;_uu_ 4        VP                  P                  RR
7       RRR4       R#   + '       g   i     Lq; i  + '       g   i     R# ; i)r!   r^  rZ   r[   r;  z5scatter() missing 1 required positional argument: 'y'r\   r   Nz5scatter() missing 1 required positional argument: 'x'r   r_  r`  )r   r1   r2   r3   r4   r5   rm   rn   reescaper_   r`   	TypeErrorr7   r   rc   s   &  r;   test_plot_scatter_error*TestDataFramePlots.test_plot_scatter_error;  s    II!!!$44V<v++B/0+

 iiOP]]9C00GGOOcO" 1iiOP]]9C00GGOOcO" 10 10 100s   D4D.D+	.D?	c                    \        \        P                  P                  ^4      P	                  R
4      \        \        P                  R,          4      . ROR7      pVP                  RRRRR7      p\        V^RR7       R	# )r!   r^  rZ   r[   r;  r   T)rZ   r[   rp  rB   rC   Nr_  r`  r   )
r   r1   r2   r3   r4   r5   rm   rn   r7   r   rI   s   &  r;   test_plot_scatter_shape*TestDataFramePlots.test_plot_scatter_shapeH  sc    II!!!$44V<v++B/0+
 ww)dwC$6:r>   c                    \        \        P                  P                  ^4      P	                  ^
4      R.R7      p\        RR^
R7      P                  VR&   VP                  RRRR7       R	# )
r!   r   r   z
2014-01-01h)startr)   r(   dtimer   )rp  rZ   r[   N)r   r1   r2   r3   r4   r   timer7   r8   s   & r;   "test_scatter_on_datetime_time_data5TestDataFramePlots.test_scatter_on_datetime_time_dataR  sV     ryy,,Q/??CcUS |#rJOO7
Y'S1r>   c                   \        \        ^4       Uu. uF  p\        R^^VR7      V3NK  	  upRR.R7      p\        P	                  ^RR7      w  r4VP
                  P                  RRV^ ,          R7       V^ ,          P                  4       pVP                  RRV^,          R7       V^,          P                  4       pV^ ,          V^ ,          8X  g   Q hVR
,          VR
,          8X  g   Q hR	# u upi )rl   i  )yearmonthdayhourr   r[   r   T)sharex)rZ   r[   rp   NrN   )r   r   r   r  rB   r7   r   
get_xticks)r9   nr:   r  rp   scatter_xticksline_xtickss   &      r;   test_scatter_line_xticks+TestDataFramePlots.test_scatter_line_xticksY  s    GLQxPx!hDqq91=xP%
 ,,q,.
*16A))+
*1.e&&(a KN222b![_444 Qs   C/c                
   \        \        R ^^4      ^RR7      p\        P                  P	                  ^4      P                  ^ ^\        V4      4      p\        RVRV/4      p\        VP                  P                  WR7       R# )i  W)r  r(   r)   r   valsr   N)r   r   r1   r2   r3   normalr   r   r   r7   r   )r9   rZ   r[   r   r)  r:   s   &&&   r;   test_scatterplot_datetime_data1TestDataFramePlots.test_scatterplot_datetime_datag  sg     dAq!12CHyy$$Q'..q!SZ@56"''//Q4r>   infer_stringpyarrow)marksr   r   b_colr   c                    \        R V4      ;_uu_ 4        \        R. RORV/4      p\        VP                  P                  W#R7       RRR4       R#   + '       g   i     R# ; i)zfuture.infer_stringr   r   r   N)r   r&   r   )r   r   r   r7   r   )r9   r0  rZ   r[   r-  r:   s   &&&&& r;   test_scatterplot_object_data/TestDataFramePlots.test_scatterplot_object_datap  sG     1<@@C#u=>Bbggoo8 A@@@s   3AA#	ordered
categoriesc           	        \        R R.RR.RR.RR.RR..RR	.R
7      p\        P                  ! . ROVVR7      VR&   VP                  P	                  ^ ^RR7      pVP
                  w  pVP                  p\        P                  ! . RO4      pVP                  4       p\        P                  ! W4       \        P                  ! . RO4      p	VP                  p
\        P                  ! W4       TpVP                  P                  4        Uu. uF  qP                  4       NK  	  pp\         ;QJ d'    R \#        WRR7       4       F  '       d   K   RM	  RM! R \#        WRR7       4       4      '       g   Q hR# u upi )gffffff@g      @g@rN  r  g	@g@g@lengthr  r   )r4  r5  speciesrZ   r[   r   c              3   .   "   T F  w  rW8H  x  K  	  R # 5iNr  ).0ijs   &  r;   	<genexpr>KTestDataFramePlots.test_scatterplot_color_by_categorical.<locals>.<genexpr>  s      
R FRs   Tr   FN)setosarA  	virginicarB  
versicolor)      ?g      ?g      @rZ  )r   r   Categoricalr7   r   collectionscolorbarr1   r   	get_ticksr  rg  _boundariesrp   get_ymajorticklabelsget_textr  r   )r9   r4  r5  r:   rp   colorbar_collectionrG  expected_ticksresult_ticksexpected_boundariesresult_boundariesexpected_yticklabelsr=  result_yticklabelss   &&&           r;   %test_scatterplot_color_by_categorical8TestDataFramePlots.test_scatterplot_color_by_categorical|  sY    3Z#sc3Z#sc3ZHw'
 H!
9
 WW__qA_3!#	&///2))+
##LA hh';<$00
##$5K)4<KK4T4T4VW4Vqjjl4VWs 
.TR
sss 
.TR
 
 
 	
 
 Xs   E9c           	         \        R . ROR\        P                  ! . RO4      /4      p\        VP                  P
                  WR7       R# )rZ   r[   r   Nr   )r   r   r   r   )r   r   rE  r   r7   r   r  s   &&& r;   'test_plot_scatter_with_categorical_data:TestDataFramePlots.test_plot_scatter_with_categorical_data  s3     \3?S0TUV"''//Q4r>   zx, y, cc                   \        \        P                  P                  ^4      P	                  ^ ^dRR7      \        \        P                  R,          4      . R	OR7      pVP                  P                  WVR7      pVP                  ^ ,          P                  P                  R8X  g   Q hVP                  ^ ,          P                  P                  P                  4       R8X  g   Q hR# )
r!   lowhighsizer^  r   r;  r9  GreysNr_  r`  )r   r1   r2   r3   r   r5   rm   rn   r7   r   rF  cmapr   rG  rp   
get_ylabel)r9   rZ   r[   r   r:   rp   s   &&&&  r;   test_plot_scatter_with_c+TestDataFramePlots.test_plot_scatter_with_c  s    II!!!$--!#F-Kv++B/0+
 WW__q_+~~a %%**g555~~a )),,779S@@@r>   c                   \        \        P                  P                  ^4      P	                  ^ ^dRR7      \        \        P                  R,          4      . ROR7      pRpVP                  P                  RRRVR7      pVP                  ^ ,          P                  P                  V8X  g   Q hVP                  P                  RRRR	R
7      pVP                  ^ ,          P                  e   Q hVP                  P                  ^ ^RR7      pVP                  ^ ,          P                  e   Q h\        VP                  R.R7       R# )r!   rY  r^  rZ   r[   r   r;  	cubehelix)rZ   r[   r   colormapF)rZ   r[   r   rG  Nredr9  r  
facecolorsr_  r`  )r   r1   r2   r3   r   r5   rm   rn   r7   r   rF  r^  r   rG  r   )r9   r:   cmrp   s   &   r;   test_plot_scatter_with_c_props1TestDataFramePlots.test_plot_scatter_with_c_props  s   II!!!$--!#F-Kv++B/0+

 WW__scS2_>~~a %%**b000 WW__scS5_A~~a ))111 WW__qA_/~~a ))111bnn#7r>   c                   \        R ^^.R^^./4      p. ROp. R	Op\        P                  ! W#.4      pVP                  P	                  R RVR7      p\
        P                  ! VP                  ^ ,          P                  4       V4       \        P                  ! RR.4      pVP                  P	                  R RVRR7       R# )
r   r&   rL  rK  r9  spring)rZ   r[   r   r^  N)rL  rK  rK  rL  )rK  rL  rK  rL  )	r   r1   r   r7   r   r  rg  rF  get_facecolor)r9   r:   red_rgba
green_rgba
rgba_arrayrp   float_arrays   &      r;   test_plot_scatter_with_c_array1TestDataFramePlots.test_plot_scatter_with_c_array  s     aVS1a&12')
XXx45
WW__scZ_8
 	##BNN1$5$C$C$EzR hhSz*
#(Cr>   c                V   \        \        P                  P                  ^4      P                  R4      ^d,          . R	OR7      pVP                  P                  RRRR7      p\        P                  ! VR,          P                  VP                  ^ ,          P                  4       R7       R# )
r!   r   r   r   r   )rZ   r[   r   )rightNrk   r   )r   r1   r2   r3   r7   r   r  rg  valuesrF  	get_sizesro   s   &  r;   test_plot_scatter_with_s+TestDataFramePlots.test_plot_scatter_with_s  st    II!!!$++G4s:O
 WW__scS_1
##BsGNN"..:K:U:U:WXr>   c                J   \        \        P                  P                  ^4      P                  R4      ^d,          . ROR7      p\        P
                  P                  4       pVP                  P                  RRRVR7      pVP                  ^ ,          P                  VJ g   Q hR# )	r!   r   r   r   r   )rZ   r[   r   normNrk   r   )r   r1   r2   r3   r   colorsLogNormr7   r   rF  r{  )r9   r:   r{  rp   s   &   r;   test_plot_scatter_with_norm.TestDataFramePlots.test_plot_scatter_with_norm  s{    II!!!$++G4s:O
 zz!!#WW__scSt_<~~a %%---r>   c                   \        \        P                  P                  ^4      P                  R4      ^d,          . ROR7      pVP                  P                  RRRR7      pVP                  ^ ,          P                  pVP                  P                  4       VP                  P                  4       3p\        P                  P                  ! V!  pVP                   F  pV! V4      V! V4      8X  d   K  Q h	  R# )	r!   r   r   r   r   r9  Nrk   r   )r   r1   r2   r3   r7   r   rF  r{  r   minmaxr   r|  	Normalize)r9   r:   rp   	plot_normcolor_min_maxdefault_normvalues   &      r;   test_plot_scatter_without_norm1TestDataFramePlots.test_plot_scatter_without_norm  s    II!!!$++G4s:O
 WW__scS_1NN1%**	RTTXXZ0zz++];TTEU#|E':::: r>   legendc                    \        \        P                  P                  ^4      P	                  R4      \        \        P                  R,          4      . ROR7      p\        VP                  P                  3/ VB  R# )r!   r^  r;  Nr_  onetwothreera  )r   r1   r2   r3   r4   r5   rm   rn   r   r7   r   r|   s   && r;   test_plot_bar TestDataFramePlots.test_plot_bar  sX     II!!!$44V<v++B/03
 	"''++00r>   c                   \        \        P                  P                  ^4      P	                  R4      \        \        P                  R,          4      \        ^4      R7      p\        VP                  P                  4       R# )r!   rh   r;  N)r/      )r   r1   r2   r3   r4   r5   rm   rn   r   r   r7   r   r8   s   & r;   test_plot_bar_int_col(TestDataFramePlots.test_plot_bar_int_col  sU    II!!!$44X>v++C01"I

 	"''++&r>   c                    \        R ^ ^.R^^ ./4      p\        VP                  P                  4      p\	        V^ZR7       VP                  P                  ^#^
R7      p\	        V^#^
^
R7       R# )r   r   rT   rotfontsizerU   
xlabelsize
ylabelsizeN)r   r   r7   r   r   ro   s   &  r;   test_plot_bar_ticks&TestDataFramePlots.test_plot_bar_ticks  s]    aVS1a&12rww{{+2B'WW[[R"[-2B2"Er>   c                    \        R ^ ^.R^^ ./4      p\        VP                  P                  4      p\	        V^ R7       VP                  P                  ^7^R7      p\	        V^7^^R7       R# )r   r   )yrotr  )r  r  r  N)r   r   r7   r  r   ro   s   &  r;   test_plot_barh_ticks'TestDataFramePlots.test_plot_barh_ticks   s]    aVS1a&12rww||,2A&WW\\b2\.2B2"Er>   c           	        TpVP                  4       P                  pV Uu. uF  p\        V4      NK  	  pp\        VP                  P
                  4      p\        VP                  4       V4       \        P                  ! VP                  P                  4       \        P                  ! ^\        V4      ^,           4      4       \        VP                  4      ^\        V4      ,          8X  g   Q hR# u upi )rG   N)_get_numeric_datar+   r   r   r7   boxr   r   r  rg  r   r  r1   r   r   r&  )r9   hist_dfr:   numeric_colsr   labelsrp   s   &&     r;   test_boxplotTestDataFramePlots.test_boxplot)  s    ++-55+78<a,q/<8rww{{+2--/8
##HH!!#RYYq#l2Ca2G%H	
 288}C$5 5555 9s   C2c                    TpVR ,          pVP                   P                  ^(R7      p\        V^(^ R7       \        VP                   P                  4       R# )heightr  rU   r  N)r7   r  r   r   )r9   r  r:   seriesrJ   s   &&   r;   test_boxplot_series&TestDataFramePlots.test_boxplot_series5  s@    H{{2&4bq1&++//*r>   c                   Tp\         P                  ! . RO4      pVP                  P                  VR7      pVP	                  4       P
                  pV Uu. uF  p\        V4      NK  	  pp\        VP                  4       V4       \        P                  ! VP                  P                  4       V4       \        VP                  4      ^\        V4      ,          8X  g   Q hR# u upi )rG   )	positionsN)rG   r   r   )r1   r   r7   r  r  r+   r   r   r   r  rg  r   r  r   r&  )r9   r  r:   r  rp   r  r   r  s   &&      r;   test_boxplot_series_positions0TestDataFramePlots.test_boxplot_series_positions=  s    HHY'	WW[[9[-++-55+78<a,q/<82--/8
##BHH$9$9$;YG288}C$5 5555 9s   C"z!ignore:set_ticklabels:UserWarning3.10z#Fails starting with matplotlib 3.10c                   TpVP                  4       P                  pV Uu. uF  p\        V4      NK  	  pp\        \        P
                  4      \        R 4      8  d   RR/MRR/pVP                  P                  ! R	R^2R^/VB p\        V^ ^2^R7       \        VP                  4       V4       \        VP                  4      ^\        V4      ,          8X  g   Q hR# u upi )
r  vertForientation
horizontalr  r  rU   r  r  Nr  )r  r+   r   r   r   __version__r7   r  r   r   get_yticklabelsr   r&  )r9   r  r:   r  r   r  rs   rp   s   &&      r;   test_boxplot_vertical(TestDataFramePlots.test_boxplot_verticalG  s     ++-55+78<a,q/<8
 s''&/9 UO. 	
 WW[[6R6!6v62AB1=2--/8288}C$5 5555 9s   Czignore::UserWarningz+Fails starting with matplotlib version 3.10c           	        TpVP                  4       P                  pV Uu. uF  p\        V4      NK  	  pp\        \        P
                  4      \        R 4      8  d   RR/MRR/p\        VP                  P                  3RRRRRR/VB p\        V^RR	7       \        VR
R7       \        WuRR7       F<  w  r\        VP                  4       V	.4       \        VP                  4      ^8X  d   K<  Q h	  R# u upi )r  r  Fr  r  rA   TrB   r  rC   logr  r   N)rG   rl   )r  r+   r   r   r   r  r   r7   r  r   r   r   r   r  r   r&  )
r9   r  r:   r  r   r  rs   rJ   rp   r   s
   &&        r;   test_boxplot_vertical_subplots1TestDataFramePlots.test_boxplot_vertical_subplots\  s     ++-55+78<a,q/<8 s''&/9 UO. 	
 !GGKK
&*
59
@D
HN
 	$6:U+T$7IBr113eW=rxx=A%%% 8 9s   C6c                0   TpVP                  4       P                  pV Uu. uF  p\        V4      NK  	  pp\        P                  ! . RO4      p\        \        P                  4      \        R4      8  d   RR/MRR/pVP                  P                  ! R	RV/VB p\        VP                  4       V4       \        P                  ! VP                  P                  4       V4       \!        VP"                  4      ^\!        V4      ,          8X  g   Q hR# u upi )
rl   r  r  Fr  r  r  N)rl   r!   r   r  )r  r+   r   r1   r   r   r   r  r7   r  r   r  r  rg  r  r  r   r&  )	r9   r  r:   r  r   r  r  rs   rp   s	   &&       r;   test_boxplot_vertical_positions2TestDataFramePlots.test_boxplot_vertical_positionss  s     ++-55+78<a,q/<8HHY'	 s''&/9 UO. 	
 WW[[79772--/8
##BHH$9$9$;YG288}C$5 5555 9s   Dc                x   \        \        P                  P                  ^4      P	                  R4      \        \        P                  R,          4      . R	OR7      pRp\        P                  ! \        VR7      ;_uu_ 4        VP                  P                  RR7       RRR4       R#   + '       g   i     R# ; i)
r!   r^  r;  z2return_type must be {None, 'axes', 'dict', 'both'}r\   
not_a_typereturn_typeNr_  r  )r   r1   r2   r3   r4   r5   rm   rn   r_   r`   r  r7   r  rc   s   &  r;    test_boxplot_return_type_invalid3TestDataFramePlots.test_boxplot_return_type_invalid  sy    II!!!$44V<v++B/03

 C]]:S11GGKKLK1 2111s   B((B9	r  c                   \        \        P                  P                  ^4      P	                  R4      \        \        P                  R,          4      . ROR7      pVP                  P                  VR7      p\        W14       R# )r!   r^  r;  r  Nr_  r  )r   r1   r2   r3   r4   r5   rm   rn   r7   r  r   )r9   r  r:   r   s   &&  r;   %test_boxplot_return_type_invalid_type8TestDataFramePlots.test_boxplot_return_type_invalid_type  s]    II!!!$44V<v++B/03

 5v3r>   c                R   \         P                  ! R 4       \        \        P                  P                  ^4      P                  R4      4      p\        VP                  RR7      pVP                   Uu. uF  p\        V4      NK  	  pp\        W$R7       \        V^ R7       R# u upi )scipykderp  r  rT   Nr.   )r_   importorskipr   r1   r2   r3   r4   r   r7   r+   r   r   r   )r9   r:   rp   r   r  s   &    r;   test_kde_dfTestDataFramePlots.test_kde_df  sw    G$ryy,,Q/??HIrwwU3-/ZZ8ZLOZ8R12A& 9s   3B$c                    \         P                  ! R 4       \        \        P                  P                  ^4      P                  R4      4      pVP                  R^^R7      p\        V^^^R7       R# )r  r  )rp  r  r  r  Nr.   )	r_   r  r   r1   r2   r3   r4   r7   r   ro   s   &  r;   test_kde_df_rot"TestDataFramePlots.test_kde_df_rot  sV    G$ryy,,Q/??HIWW%R!W42B1Cr>   c                    \         P                  ! R 4       \        \        P                  P                  ^4      P                  R4      4      p\        VP                  RRRR7      p\        V^RR7       R# )r  Tr  )rA   rp  rB   rC   Nr.   rF   )
r_   r  r   r1   r2   r3   r4   r   r7   r   rI   s   &  r;   test_kde_df_subplots'TestDataFramePlots.test_kde_df_subplots  s\    G$ryy,,Q/??HI GG	
 	$6:r>   c                    \         P                  ! R 4       \        \        P                  P                  ^4      P                  R4      4      pVP                  RRRR7      p\        VRR7       R# )r  r  T)rp  r
  rB   r  r  Nr.   )	r_   r  r   r1   r2   r3   r4   r7   r   rI   s   &  r;   test_kde_df_logy#TestDataFramePlots.test_kde_df_logy  sR    G$ryy,,Q/??HIwwEtw<U+r>   c                
   \         P                  ! R 4       \        \        P                  P                  ^4      P                  RR7      4      p\        P                  VP                  R&   \        VP                  RR7       R# )r  r\  r  r  Nd   r0   r   r   )r_   r  r   r1   r2   r3   uniformr   locr   r7   r8   s   & r;   test_kde_missing_vals(TestDataFramePlots.test_kde_missing_vals  sV    G$ryy,,Q/77X7FGvvt"''.r>   c                   \        \        P                  P                  ^4      P	                  R4      4      p\        VP                  P                  4      pVP                   Uu. uF  p\        V4      NK  	  pp\        W$R7       \        VP                  P                  RRRR7      p\        V^R	R7       \        VRR7       R# u upi )
r!   r  T)rA   rB   r
  rC   r  r  Nr  rF   )r   r1   r2   r3   r4   r   r7   r   r+   r   r   r   r   )r9   r:   rp   r   r  rJ   s   &     r;   test_hist_dfTestDataFramePlots.test_hist_df  s    ryy,,Q/??IJrww||,-/ZZ8ZLOZ8R1 GGLL	
 	$6:U+ 9s   %Cc                    \        \        P                  P                  ^4      P                  ^
4      4      pVP                  P                  ^(R7      p\        V^(^ R7       R# )r!   r  r  N)r	   r1   r2   r3   r7   r   r   )r9   r  rJ   s   &  r;   test_hist_df_series&TestDataFramePlots.test_hist_df_series  sI    		--a077;<{{B'4bq1r>   c                   \        \        P                  P                  ^4      P                  ^
4      4      pVP                  P                  R^RR7      pVP                  4        Uu. uF1  p\        V\        P                  P                  4      '       g   K/  VNK3  	  pp\        P                  ! VR,          P                  4       R4       R# u upi )r!   T)
cumulativebinsdensityrL  NrN   r	   r1   r2   r3   r7   r   get_childrenr#  r   r  	Rectangler  r  r  r9   r  rp   rZ   rectss   &    r;   &test_hist_df_series_cumulative_density9TestDataFramePlots.test_hist_df_series_cumulative_density  s    		--a077;<[[AtDOO-V-qAs{{?T?T1U-V
uRy335s; Ws   (,CCc                   \        \        P                  P                  ^4      P                  ^
4      4      pVP                  P                  R^R7      pVP                  4        Uu. uF1  p\        V\        P                  P                  4      '       g   K/  VNK3  	  pp\        P                  ! VR,          P                  4       R4       R# u upi )r!   T)r  r  r  Nr  r  r  s   &    r;   test_hist_df_series_cumulative1TestDataFramePlots.test_hist_df_series_cumulative  s    		--a077;<[[A6OO-V-qAs{{?T?T1U-V
uRy335t< Ws   ',CCc                    \        \        P                  P                  ^4      P	                  R4      4      pVP
                  P                  ^2^RR7      p\        V^ ^2^R7       R# )r!   r  )r  r  r  r  Nr.   )r   r1   r2   r3   r4   r7   r   r   rI   s   &  r;   test_hist_df_orientation+TestDataFramePlots.test_hist_df_orientation  sL    ryy,,Q/??HIww||QL|I4abQ?r>   weight_shapec           
     ,   R \         P                  ! VR7      ,          p\        \        \	        RR.\         P
                  P                  ^4      P                  R
4      RR7      4      4      p\        VP                  RVR7      p\        VP                  RR7      pVP                   Uu. uF  qfP                  4       NK  	  ppVP                   Uu. uF  pR VP                  4       ,          NK  	  pp\        P                  ! Wx4       R	# u upi u upi )皙?)shaper   r&   Tr   r   )rp  weightsr  N)r!   r  )r1   onesr   dictr   r2   r3   r4   r   r7   r  r  r  r  )	r9   r  r  r:   rx  ry  patchpatch_height_with_weightsexpected_patch_heights	   &&       r;   test_hist_weights$TestDataFramePlots.test_hist_weights  s     l33#JII))!,<<XF
  fgFf5EH[[$Q[E%5%5%7[!$Q HK{{ S{eu'7'7'9!9!9{ S
8P %R !Ts   *D Dc                   \         P                  ! V Uu. uF  qfP                  4       NK  	  up4      p\         P                  ! V Uu. uF  qfP                  4       NK  	  up4      p\         P                  ! V Uu. uF  qfP	                  4       NK  	  up4      p	\         P                  ! V Uu. uF  qfP                  4       NK  	  up4      p
Ve   \        P                  ! WrRR7       Ve   \        P                  ! WRR7       Ve   \        P                  ! WRR7       Ve   \        P                  ! WRR7       R # R # u upi u upi u upi u upi )NF)check_dtype)r1   r   r  r  r  	get_widthr  rg  )r9   r  
expected_y
expected_h
expected_x
expected_wr  result_yresult_heightresult_xresult_widths   &&&&&&     r;   _check_box_coord#TestDataFramePlots._check_box_coord  s     8881WWY89'!B'Q,,.'!BC8881WWY89xx @1 @A !''%P!''uU!''%P!''eT " 9!B8 @s   EE;E.Er  c                   \        V4      pVP                  P                  ^R7      pV P                  VP                  R,          \
        P                  ! . RO4      \
        P                  ! . RO4      R7       V P                  VP                  R,          \
        P                  ! . RO4      \
        P                  ! . RO4      R7       V P                  VP                  R,          \
        P                  ! . RO4      \
        P                  ! . RO4      R7       VP                  P                  ^RR7      pV P                  VP                  R,          \
        P                  ! . RO4      \
        P                  ! . RO4      R7       V P                  VP                  R,          \
        P                  ! . RO4      \
        P                  ! . RO4      R7       V P                  VP                  R,          \
        P                  ! . RO4      \
        P                  ! . RO4      R7       VP                  P                  ^RRR7      pV P                  V^ ,          P                  \
        P                  ! . RO4      \
        P                  ! . RO4      R7       V P                  V^,          P                  \
        P                  ! . RO4      \
        P                  ! . RO4      R7       V P                  V^,          P                  \
        P                  ! . RO4      \
        P                  ! . RO4      R7       VP                  P                  ^R	R
7      pV P                  VP                  R,          \
        P                  ! . RO4      \
        P                  ! . RO4      R7       V P                  VP                  R,          \
        P                  ! . RO4      \
        P                  ! . RO4      R7       V P                  VP                  R,          \
        P                  ! . RO4      \
        P                  ! . RO4      R7       VP                  P                  ^RR	R7      pV P                  VP                  R,          \
        P                  ! . RO4      \
        P                  ! . RO4      R7       V P                  VP                  R,          \
        P                  ! . RO4      \
        P                  ! . RO4      R7       V P                  VP                  R,          \
        P                  ! . RO4      \
        P                  ! . RO4      R7       VP                  P                  ^RRR	R7      pV P                  V^ ,          P                  \
        P                  ! . RO4      \
        P                  ! . RO4      R7       V P                  V^,          P                  \
        P                  ! . RO4      \
        P                  ! . RO4      R7       V P                  V^,          P                  \
        P                  ! . RO4      \
        P                  ! . RO4      R7       R# )r   )r  r  )r  r  :r   r/   N:r/   NNT)r  rt  )r  rt  rB   r  )r  r  )r  r  )r  rt  r  )r  rt  rB   r  N)r   r   r   r   r   r/   	   r   r   r   r   r   r   r   r   r   r   r   r  r/   )      r  r     )r   r7   r   r  r  r1   r   )r9   r  r:   rp   rJ   s   &&   r;   test_hist_df_coord%TestDataFramePlots.test_hist_df_coord  s   , t_WW\\q\!JJrNxx0xx 01 	 	

 	JJtxx0xx0 	 	

 	JJsOxx0xx 01 	 	
 WW\\q$\/JJrNxx0xx 01 	 	

 	JJtxx 01xx0 	 	

 	JJsOxx 45xx 01 	 	
 ww||D4|@GOOxx0xx 01 	 	

 	GOOxx0xx0 	 	

 	GOOxx0xx 01 	 	
 WW\\ql\;JJrNxx0xx 01 	 	

 	JJtxx0xx0 	 	

 	JJsOxx0xx 01 	 	
 WW\\q$L\IJJrNxx0xx 01 	 	

 	JJtxx 01xx0 	 	

 	JJsOxx 45xx 01 	 	
 ww||D4\  
 	GOOxx0xx 01 	 	

 	GOOxx0xx0 	 	

 	GOOxx0xx 01 	 	
r>   c                    \        \        P                  P                  ^4      P	                  R4      4      P                  4       p\        VP                  RR7       R# )r!   Tr  Nr  )r   r1   r2   r3   r4   cumsumr   r7   r8   s   & r;   test_plot_int_columns(TestDataFramePlots.test_plot_int_columns  s=    ryy,,Q/??IJQQS"''$/r>   markers^+oc                   \         P                  4       pVP                  4        VP                  ^o4       \	        \
        P                  P                  ^4      P                  R4      4      pVP                  VR7      p\        VP                  4       R\        V4       4       F"  w  rVVP                  4       W,          8X  d   K"  Q h	  R# )o   )styleNrk   )r  gcfclfadd_subplotr   r1   r2   r3   r4   r7   	enumerater   r   
get_marker)r9   r)  r  r:   rp   r  rb   s   &&     r;   test_style_by_column'TestDataFramePlots.test_style_by_column  s     ggi	ryy,,Q/??HIWW7W#"2<<>.CL#ABIC??$444 Cr>   c                    \        ^^.4      pVP                  4       pVP                  4       e   Q hVP                  RR7      pVP                  4       P                  4       ^ ,          P	                  4       R8X  g   Q hR# )rG   NTr%   )r	   r7   
get_legend	get_textsrK  )r9   r   rp   s   &  r;   test_line_label_none'TestDataFramePlots.test_line_label_none  sg    Aq6NVVX}}&&&VV4V }}((*1-668B>>>r>   zprops, expectedc           	     .   \        R  Uu/ uF1  q3\        P                  P                  ^4      P                  ^d4      bK3  	  up4      pVRR//pVP                  P
                  ! RRR/VB pWb,          ^ ,          P                  4       R8X  g   Q hR# u upi )ABCcolorC1r  r  Nr  )r   r1   r2   r3   r7   r  	get_color)r9   propsr  kr:   kwdr   s   &&&    r;   !test_specified_props_kwd_plot_box4TestDataFramePlots.test_specified_props_kwd_plot_box  s     OA299003::3??OPwo&7737",,.$666	 Ps   7Bc                X   \        R ^
^4      \        R ^	^4      \        R ^^4      .p. ROp\        \        P                  ! V4      VR.R7      pVP	                  4       pVP
                  ^ ,          P                  4       p\        P                  ! V\        P                  ! V\        R7      4       VP
                  ^ ,          P                  4       p\        P                  ! V\        P                  ! V4      4       VP                  P                  4       pV Uu. uF  qwP                  4       ^ ,          NK  	  pp\        V4      P                  '       g   Q hV Uu. uF  qwP!                  4       NK  	  p	p\"        P$                  ! V	RR7      P                  '       g   Q hR# u upi u upi )  testr;  r#   z%Y-%m-%dr   N)rN  rM  rL  )r   r   r1   r   r7   r&  r$  r  rg  r6   r  r   get_ticklabelsget_positionr   is_monotonic_increasingrK  r   r   )
r9   r,   rv  r:   rp   ru   ydatarZ   xlocsxlabelss
   &         r;   test_unordered_ts$TestDataFramePlots.test_unordered_ts  sA   dB"Dq!$4d4A6FG HHVH

 WWY!&&(
##FBHHU&,IJ%%'
##E288F+;< ((*.45f!!$$f5U|33333)/0A::<0~~gj9QQQQQ 60s   F"F'c                    \         P                  ! R 4       \        R. RO/4      pVP                  VR7       \	        VP                  V4      ! 4        R# r  rZ   r  Nr   r_   r  r   r7   r   r9   rp  r:   s   && r;   test_kind_both_ways&TestDataFramePlots.test_kind_both_ways  s>    G$Y'(
T r>   c                    \         P                  ! R 4       \        R. RO/4      pVP                  RRVR7       \	        VP                  V4      ! RR4       R# rS  rT  rU  s   && r;   test_kind_both_ways_x_y*TestDataFramePlots.test_kind_both_ways_x_y  sF    G$Y'(
St$sC(r>   c                    \        \        R 4      4      pRp\        P                  ! \        VR7      ;_uu_ 4        VP                  VR7       RRR4       R#   + '       g   i     R# ; i)abcdno numeric data to plotr\   r  N)r   r5   r_   r`   r  r7   r9   rp  r:   rd   s   &&  r;   test_all_invalid_plot_data-TestDataFramePlots.test_all_invalid_plot_data  sC    tF|$']]9C00GGG 1000s   AA)	c                   \        \        P                  P                  ^4      P	                  R4      \
        R7      pRV\        P                  P                  ^4      P                  VP                  ^ ,          4      R8  &   Rp\        P                  ! \        VR7      ;_uu_ 4        VP                  VR7       RRR4       R#   + '       g   i     R# ; i)	r!   r#   r   rD  r]  r\   r  Nr/   r!   )r   r1   r2   r3   r4   r6   r  r_   r`   r  r7   r^  s   &&  r;   (test_partially_invalid_plot_data_numeric;TestDataFramePlots.test_partially_invalid_plot_data_numeric  s     II!!!$44W=
 BE299  #**288A;7#=>']]9C00GGG 1000s   )CC	c                   \        \        P                  P                  ^4      P	                  R4      4      pRp\
        P                  ! \        VR7      ;_uu_ 4        VP                  RR7       RRR4       R#   + '       g   i     R# ; i)r!   z*invalid_plot_kind is not a valid plot kindr\   invalid_plot_kindr  Nrb  )	r   r1   r2   r3   r4   r_   r`   r  r7   rc   s   &  r;   test_invalid_kind$TestDataFramePlots.test_invalid_kind  sZ    ryy,,Q/??HI:]]:S11GG,G- 2111   A;;B	zx,y,lblc           	         \        R ^^.R^^.R^^./4      p\        P                  ! \        RR7      ;_uu_ 4        VP	                  WVR7       RRR4       R#   + '       g   i     R# ; i)r   r&   r   x must be a label or positionr\   rZ   r[   r   Nr   r_   r`   r  r7   )r9   rZ   r[   lblr:   s   &&&& r;   test_invalid_xy_args'TestDataFramePlots.test_invalid_xy_args  sY     aVS1a&#1v>?]]:-LMMGGaCG( NMMMs   AA+	c           	         \        R ^^.R^^.R^^./4      pRp\        P                  ! \        VR7      ;_uu_ 4        VP	                  R RR.RR7       RRR4       R#   + '       g   i     R# ; i)r   r&   r   z.label should be list-like and same length as yr\   	bad_labelrl  Nrm  rc   s   &  r;   test_bad_label!TestDataFramePlots.test_bad_label  s`    aVS1a&#1v>?>]]:S11GGcc3Z{G; 2111s   AA0	zx,yc                    \        . RO. RO.\        R4      R7      p\        P                  ! \        RR7      ;_uu_ 4        VP                  WR7       RRR4       R#   + '       g   i     R# ; i)	rG   AABr   rk  r\   r   N)rG   rl   r   )r!   r0   r   )r   r5   r_   r`   r  r7   r  s   &&& r;   test_invalid_xy_args_dup_cols0TestDataFramePlots.test_invalid_xy_args_dup_cols  sI     	9-tE{C]]:-LMMGGaG NMMMs   AA/	zx,y,lbl,colorsre  bluebokehcythongreenyellowc           	     
   \        R ^^.R^^.R^^./4      p\        VP                  R W#R7       VP                  WW4R7      p\        VP                  4      \        V4      8X  g   Q h\        VP                  4       VR7       R# )r   r&   r   rl  )rZ   r[   r   r?  
linecolorsN)r   r   r7   r   r&  r   r   )r9   rZ   r[   rn  r|  r:   rp   s   &&&&&  r;   test_y_listlike"TestDataFramePlots.test_y_listlike"  ss     aVS1a&#1v>?"''SA9WWqSW7288}A&&&blln8r>   zx,y,colnamesc                f    \        R ^^.R^^./4      pW4n        \        VP                  WR7       R# )r   r&   r   N)r   r+   r   r7   )r9   rZ   r[   colnamesr:   s   &&&& r;   test_xy_args_integer'TestDataFramePlots.test_xy_args_integer3  s2     aVS1a&12
"''Q,r>   c                   \        R \        P                  P                  ^4      P	                  ^R7      R\        P                  P                  ^4      P	                  ^R7      R\        P
                  ! ^4      \        P                  P                  ^4      P	                  ^R7      ,           /4      pVP                  P                  R R^
R7      p\        VP                  4      ^8X  g   Q hR# )r   r  r&   r   )rZ   r[   gridsizeN
r   r1   r2   r3   r  r   r7   r   r   rF  ro   s   &  r;   test_hexbin_basic$TestDataFramePlots.test_hexbin_basic:  s    RYY**1-5525>RYY**1-5525>RYYr]RYY%:%:1%=%E%E2%E%NN
 WW^^cS2^62>>"a'''r>   c                   \        R \        P                  P                  ^4      P	                  ^R7      R\        P                  P                  ^4      P	                  ^R7      R\        P
                  ! ^4      \        P                  P                  ^4      P	                  ^R7      ,           /4      pVP                  P                  R RRR7      p\        V^ ,          P                  P                  4      ^8X  g   Q h\        V^RR7       R# )	r   r  r&   r   T)rZ   r[   rB   rC   Nr   )r   r1   r2   r3   r  r   r7   r   r   figurerJ   r   rI   s   &  r;   test_hexbin_basic_subplots-TestDataFramePlots.test_hexbin_basic_subplotsG  s    RYY**1-5525>RYY**1-5525>RYYr]RYY%:%:1%=%E%E2%E%NN
 ww~~sT~: 47>>&&'1,,,$6:r>   reduce_Cc                   \        R \        P                  P                  ^4      P	                  ^R7      R\        P                  P                  ^4      P	                  ^R7      R\        P
                  ! ^4      \        P                  P                  ^4      P	                  ^R7      ,           /4      pVP                  P                  R RRVR7      p\        VP                  4      ^8X  g   Q hR# )r   r  r&   r   )rZ   r[   r   reduce_C_functionNr  )r9   r  r:   rp   s   &&  r;   test_hexbin_with_c%TestDataFramePlots.test_hexbin_with_cW  s    RYY**1-5525>RYY**1-5525>RYYr]RYY%:%:1%=%E%E2%E%NN
 WW^^cSC8^L2>>"a'''r>   zkwargs, expectedBuGnrd  rc  r^  YlGnc                   \        R \        P                  P                  ^4      P	                  ^R7      R\        P                  P                  ^4      P	                  ^R7      R\        P
                  ! ^4      \        P                  P                  ^4      P	                  ^R7      ,           /4      pVP                  P                  ! RRR RR/VB pVP                  ^ ,          P                  P                  V8X  g   Q hR# )r   r  r&   r   rZ   r[   Nr  )r   r1   r2   r3   r  r   r7   r   rF  r^  r   )r9   rs   r  r:   rp   s   &&&  r;   test_hexbin_cmap#TestDataFramePlots.test_hexbin_cmapd  s     RYY**1-5525>RYY**1-5525>RYYr]RYY%:%:1%=%E%E2%E%NN
 WW^^3c3S3F3~~a %%**h666r>   c                <   \        \        P                  P                  ^4      P                  R4      . RO. ROR7      pRp\        P
                  ! \        VR7      ;_uu_ 4        VP                  P                  4        RRR4       R#   + '       g   i     R# ; i)r!   r*   z/pie requires either y column or 'subplots=True'r\   Nr   rl   XYZr   r   r   de)	r   r1   r2   r3   r_   r`   r  r7   r   rc   s   &  r;   test_pie_df_err"TestDataFramePlots.test_pie_df_errw  sd    II!!!$++F3#+

 @]]:S11GGKKM 2111s   %B

B	r  c                   \        \        P                  P                  ^4      P                  R4      . RO. ROR7      p\	        VP
                  P                  VR7      p\        VP                  VP                  4       R# )r!   r*   r   Nr  r  r  )
r   r1   r2   r3   r   r7   r   r   r  r,   )r9   r[   r:   rp   s   &&  r;   test_pie_dfTestDataFramePlots.test_pie_df  sW    II!!!$++F3#+

 rww{{a0288RXX.r>   c                   \        \        P                  P                  ^4      P                  R4      . RO. R	OR7      p\	        VP
                  P                  RRR7      p\        V4      \        VP                  4      8X  g   Q hV F#  p\        VP                  VP                  4       K%  	  \        W!P                  RR7       F  w  r4VP                  4       R8X  d   K  Q h	  R# )
r!   r*   Tr@   r   r8  Nr  r  r  )r   r1   r2   r3   r   r7   r   r   r+   r   r  r,   r   r_  )r9   r:   rJ   rp   ylabels   &    r;   test_pie_df_subplots'TestDataFramePlots.test_pie_df_subplots  s    II!!!$++F3#+

 !GGKK

 4yC

O+++Brxx2 dJJt<JB==?b((( =r>   c                   \        \        P                  P                  ^4      P                  R4      . RO. ROR7      p. R	Op. R
Op\	        VP
                  P                  RRVVR7      p\        V4      \        VP                  4      8X  g   Q hV F0  p\        VP                  V4       \        VP                  VR7       K2  	  R# )r!   r*   T)rA   rB   r  r|  rf  Nr  r  r  )r   r&   r   r   r   )r  gr   r   m)r   r1   r2   r3   r   r7   r   r   r+   r   r  r   r  )r9   r:   r  
color_argsrJ   rp   s   &     r;   test_pie_df_labels_colors,TestDataFramePlots.test_pie_df_labels_colors  s    II!!!$++F3#+

 +.
 GGKK
 4yC

O+++Brxx0"**< r>   c                H   \        \        P                  P                  ^4      P                  R	4      4      p\	        ^4       F!  p\        P
                  VP                  W"3&   K#  	  \        P                  P                  ^R7      w  r4RR/p\        P                  ! R4      ;_uu_ 4        VP                  P                  ! R
RRRVRR/VB  RRR4       . ROp\        V4       F  w  r'\        V4      pRW&   VP                    U	u. uF  qP#                  4       NK  	  p
p	W8X  g   Q hVP%                  4       P'                  4        U	u. uF  qP#                  4       NK  	  pp	VRV Wb^,           R ,           pW8X  d   K  Q h	  R#   + '       g   i     L; iu up	i u up	i )r!   )ncols	normalizeTNrB   rp   r  r8  )r0   r0   r  )0123)r   r1   r2   r3   r   r   ilocr   r   rB   r  r  r7   r   r3  r5   r  rK  r9  r:  )r9   r:   r=  r   rJ   rs   base_expectedrp   r  rZ   r   result_labelsexpected_labelss   &            r;   test_pie_df_nan"TestDataFramePlots.test_pie_df_nan  sX   ryy,,Q/66v>?qAFFBGGADM **%%A%. t$''--GGKKFF$FtFvF . -t_EAM*HHK,.HH5HqjjlHF5%%%
 46==?3L3L3NO3NaZZ\3NMO+BQ/-A2HHO 333 %	 .- 6 Ps   ,#FF
FF	c                V   R \         P                  ! ^4      R\         P                  ! ^^ R4      /p\        V4      pR \         P                  ! ^4      R,          R\         P                  ! ^4      R,          /p\        V4      p\	        VP
                  3RV/VB p\        V^ ^R7       R# )rZ   r[   皙?皙?yerrxerrr  NrN   r1   r   r   r  r   r7   r   )r9   rs   r  r:   d_errdf_errrp   s   &&     r;   test_errorbar_plot%TestDataFramePlots.test_errorbar_plot  s     "))B-biiAr&:;q\bggbkC'bggbkC.?@5! rww>V>v>Raa0r>   c                f   R \         P                  ! ^4      R\         P                  ! ^^ R	4      /p\        V4      pR \         P                  ! ^4      R,          R\         P                  ! ^4      R,          /p\        V4      p\	        V^,           P
                  WDRRR7      p\        V^^R7       R# )
rZ   r[   r  r  r   T)r  r  rp  r  r  NrN   r  )r9   r  r:   r  r  rp   s   &     r;   test_errorbar_plot_bar)TestDataFramePlots.test_errorbar_plot_bar  s    "))B-biiAr&:;q\bggbkC'bggbkC.?@5!!VMM%T
 	Raa0r>   c                   R \         P                  ! ^4      R\         P                  ! ^^ R4      /p\        V4      p\        VR,          P                  \         P
                  ! ^4      R,          R7      p\        V^ ^R7       \        VP                  \         P
                  ! R4      R,          R7      p\        V^ ^R7       R# )rZ   r[   r  r  r  NrN   )r!      )r1   r   r   r   r7   r  r   r9   r  r:   rp   s   &   r;   test_errorbar_plot_yerr_array0TestDataFramePlots.test_errorbar_plot_yerr_array  s    "))B-biiAr&:;q\r#w||"''"+2CDRaa0rwwRWWW-=-CDRaa0r>   r  u   誤差c                R   R \         P                  ! ^4      R\         P                  ! ^^ R4      /p\        V4      p\         P                  ! ^4      R,          W1&   \	        VP
                  VR7      p\        V^ ^R7       \	        VP
                  RR VR7      p\        V^ ^R7       R# )rZ   r[   r  r  r  )r[   rZ   r  NrN   r  )r9   r  r  r:   rp   s   &&   r;   test_errorbar_plot_column_name1TestDataFramePlots.test_errorbar_plot_column_name  s     "))B-biiAr&:;q\772;$rwwT2Raa0rww#4@Raa0r>   c                v   R \         P                  ! ^4      R\         P                  ! ^^ R4      /p\        V4      p\        P                  ! \
        4      ;_uu_ 4        VP                  \         P                  P                  ^4      P                  ^4      R7       RRR4       R#   + '       g   i     R# ; i)rZ   r[   r  NrN   )
r1   r   r   r  external_error_raisedr  r7   r2   r3   r4   r9   r  r:   s   &  r;   &test_errorbar_plot_external_valueerror9TestDataFramePlots.test_errorbar_plot_external_valueerror  sv    "))B-biiAr&:;q\%%j11GG..q1AA"EGF 2111s   ?B''B8	c                \   R \         P                  ! ^4      R\         P                  ! ^^ R4      /p\        V4      p\        R R.^,          RR.^,          /4      p\        P                  ! \
        4      ;_uu_ 4        VP                  VR7       RRR4       R#   + '       g   i     R# ; i)rZ   r[   zzzr  NrN   )r1   r   r   r  r  r  r7   )r9   r  r:   r  s   &   r;   %test_errorbar_plot_external_typeerror8TestDataFramePlots.test_errorbar_plot_external_typeerror  s{    "))B-biiAr&:;q\C%2sUGbLAB%%i00GGG  1000s   =BB+	y_errr  )r   r  c           
         \        R \        P                  ! ^4      R\        P                  ! ^^ R4      /4      p\        VP                  W!R7      p\        V^ ^R7       R# )rZ   r[   r  rp  r  NrN   r   r1   r   r   r7   r   )r9   rp  r  r:   rp   s   &&&  r;   !test_errorbar_plot_different_yerr4TestDataFramePlots.test_errorbar_plot_different_yerr  sH     RYYr]C2q"1EFGrwwU>Raa0r>   zy_err, x_errc           
         \        R \        P                  ! ^4      R\        P                  ! ^^ R4      /4      p\        VP                  W#VR7      p\        V^^R7       R# )rZ   r[   )r  r  rp  r  NrN   r  )r9   rp  r  x_errr:   rp   s   &&&&  r;   &test_errorbar_plot_different_yerr_xerr9TestDataFramePlots.test_errorbar_plot_different_yerr_xerr  sJ     RYYr]C2q"1EFGrwwUTJRaa0r>   c           
     T   \        R \        P                  ! ^4      R\        P                  ! ^^ R4      /4      p\        R \        P                  ! ^4      R,          R\        P                  ! ^4      R,          /4      p\	        VP
                  RVVRVR7      p\        V^^R7       R# )	rZ   r[   r  r  T)rA   r  r  rB   rp  r  NrN   )r   r1   r   r  r   r7   r   )r9   rp  r:   r  rJ   s   &&   r;   /test_errorbar_plot_different_yerr_xerr_subplotsBTestDataFramePlots.test_errorbar_plot_different_yerr_xerr_subplots1  s     RYYr]C2q"1EFGCs!2Cs9JKL GG
 	T2r>   zIterator is consumed)rX   r`   c           	        R \         P                  ! ^4      R\         P                  ! ^^ R4      /p\        V4      p\        VP                  \
        P                  ! R\        V4      4      R7      p\        V^ ^R7       R# )rZ   r[   r  r  r  NrN   )	r1   r   r   r   r7   	itertoolsrepeatr   r   r  s   &   r;   test_errorbar_plot_iterator.TestDataFramePlots.test_errorbar_plot_iterator@  s]    "))B-biiAr&:;q\ rwwY-=-=c3r7-KLRaa0r>   c                   \        \        P                  ! \        P                  P	                  ^4      P                  R4      4      4      p\        \        P                  ! \        P                  P	                  ^4      P                  R4      4      4      p\        VP                  VR7      p\        V^ ^R7       \        VP                  ^ ^R7      p\        V^ ^R7       R# )r!   r  r  )r[   r  Nrb  	r   r1   absr2   r3   r4   r   r7   r   r9   r:   r  rp   s   &   r;   'test_errorbar_with_integer_column_names:TestDataFramePlots.test_errorbar_with_integer_column_namesI  s    rvvbii33A6FFwOPQ266"))"7"7":"J"J7"STUrwwV4Raa0rww!!4Raa0r>   c                   \        \        P                  ! \        P                  P	                  ^4      P                  R4      4      4      p\        \        P                  ! \        P                  P	                  ^4      P                  R4      4      ^ ^.R7      p\        VP                  W1R7      p\        V^ ^R7       R# )r!   r   r  r  Nrk   rb  r  )r9   rp  r:   r  rp   s   &&   r;   'test_errorbar_with_partial_columns_kind:TestDataFramePlots.test_errorbar_with_partial_columns_kindR  s     rvvbii33A6FFwOPQFF299((+;;GDEPQSTv
 rwwV?Raa0r>   c                   \        \        P                  ! \        P                  P	                  ^4      P                  R4      4      4      p\        \        P                  ! \        P                  P	                  ^4      P                  R4      4      ^ ^.R7      p\        R^
RR7      pVP                  VRR7       VP                  VRR7       \        VP                  VRR7      p\        V^ ^R	7       R
# )r!   r   1/1/2000MEr'   T)inplacerb   r  r  Nrk   rb  )r   r1   r  r2   r3   r4   r   r   r   r7   r   )r9   r:   r  ixrp   s   &    r;   &test_errorbar_with_partial_columns_dti9TestDataFramePlots.test_errorbar_with_partial_columns_dti\  s    rvvbii33A6FFwOPQFF299((+;;GDEPQSTv
 
BT:
R&T*rwwV&ARaa0r>   err_boxc                    V # r;  r  r   s   &r;   <lambda>TestDataFramePlots.<lambda>i  s    1r>   c                J   R \         P                  ! ^4      R\         P                  ! ^^ R4      /p\        V4      pV! R \         P                  ! ^4      R,          R\         P                  ! ^4      R,          /4      p\	        VP
                  VR7      p\        V^ ^R7       R# )	rZ   r[   r  r   r  r  r  NrN   r  )r9   r  r  r:   errrp   s   &&    r;   &test_errorbar_with_partial_columns_box9TestDataFramePlots.test_errorbar_with_partial_columns_boxh  sy     "))B-biiAr&:;q\sBGGBK#-sBGGBK#4EFGrwwS1Raa0r>   c                   R \         P                  ! ^4      R\         P                  ! ^^ R4      /pR \         P                  ! ^4      R,          R\         P                  ! ^4      R,          /p\        RRRR7      p\	        W$R7      p\	        W4R7      p\        VP                  WaR	7      p\        V^ ^R
7       \        VP                  W1R	7      p\        V^ ^R
7       \        VP                  RVR ,          VR7      p\        V^ ^R
7       \        VP                  RR VR7      p\        V^ ^R
7       \        VP                  WaR	7      p\        V^ ^R
7       \        VP                  RVVRR7      p\        V^ ^R
7       R# )rZ   r[   r  r  r  z1/1/2001r  )r)   ri   r  r  )r[   r  rp  T)rA   rp  r  rB   NrN   )r1   r   r  r   r   r   r7   r   )	r9   rp  r  r  r  tdftdf_errrp   rJ   s	   &&       r;   test_errorbar_timeseries+TestDataFramePlots.test_errorbar_timeseriesq  s4   "))B-biiAr&:;bggbkC'bggbkC.?@ 
JT:$E,sxxgARaa0sxxe?Raa0sxx3WS\MRaa0sxx3StDRaa0sxxgARaa0 HH
 	T2r>   c                   \         P                  P                  ^4      P                  R4      p\        \         P                  ! ^4      P                  ^^4      4      P                  pVP                  W^,          R7      pVP                  ^,          P                  4       ^ ,          P                  R,          pVR,          \         P                  ! R	^.4      ,          p\        P                  ! WE4       \        P                  ! R4      p\         P"                  ! \$        VR7      ;_uu_ 4        VP                  VP                  R7       RRR4       R#   + '       g   i     R# ; i)
r!   )r  r  zCAsymmetrical error bars should be provided with the shape (3, 2, 5)r\   r  N)rl   r!   r   rC  )r   rD  r   rN   )r1   r2   r3   r   r   reshapeTr7   rF  	get_pathsverticesr   r  r  r  r  r_   r`   r  )r9   r  r:   rp   yerr_0_0expected_0_0rd   s   &      r;   test_errorbar_asymmetrical-TestDataFramePlots.test_errorbar_asymmetrical  s    ii##A&--i8 ryy},,Q2355WW#!GW,>>!$..03<<TB7|bhhAw&77
x6iiQ
 ]]:S11GGG 2111s   0EE(	c                X   \        \        P                  P                  ^4      P                  R4      \	        \
        P                  R,          4      R7      p\        VP                  RR7       \        VP                  VR7       \        P                  ! R4      ;_uu_ 4        VP                  4       p\        VP                  4      ^ 8X  g   Q h\        P                  ! W!P                  4       \        VP                  4      ^8X  g   Q h RRR4       R#   + '       g   i     R# ; i)r!   rh   ri   T)tableNrk   )r   r1   r2   r3   r5   rm   rn   r   r7   r  r  r   tablesr   r  r  ro   s   &  r;   
test_tableTestDataFramePlots.test_table  s    II!!!$++G4v++C01
 	"''."'', ''--Bryy>Q&&&NN2tt$ryy>Q&&&	 .---s   $A)DD)	c                   \        \        P                  ! \        P                  P	                  ^4      P                  R
4      4      \        ^4      RR.R7      p\        \        P                  ! \        P                  P	                  ^4      P                  R
4      4      ^,          \        ^4      RR.R7      p\        VP                  P                  RRR7      p\        V^ ^ R7       \        VP                  P                  RRVR7      p\        V^^ R7       \        VP                  P                  RRVR7      p\        V^ ^R7       \        VP                  P                  RRW"R7      p\        V^^R7       R	# )r!   rZ   r[   r;  r   r  )rZ   r[   r  )rZ   r[   r  )rZ   r[   r  r  N)r   r!   )r   r1   r  r2   r3   r4   r   r   r7   r   r   r  s   &   r;   test_errorbar_scatter(TestDataFramePlots.test_errorbar_scatter  s   FF299((+;;FCD(#J

 FF299((+;;FCDqH(#J
 rww#=Raa0rww#6JRaa0rww#6JRaa0rww#6WRaa0r>   c                  a RV3R llp\        \        P                  ! \        P                  P	                  ^4      P                  R4      4      . ROR7      pVP                  P                  RRRRRR7      o\        S^^R	7       V! SP                  RR R
7       V! SP                  RRR
7       VP                  P                  RRRRR7      o\        S^ ^R	7       V! SP                  RRR
7       R# )has_xerrc           	      |  <a . p\        V3R  lSP                   4       4      pV F8  p\        V4      '       d   VP                  V4       K'  VP	                  V4       K:  	  V Uu. uF  qfSP
                  9   g   K  VNK  	  pp\        V\        P                  ! V.\        V4      ,          4      R7       R# u upi )c              3   f   <"   T F&  p\        VSR 4      '       g   K  VP                  x  K(  	  R# 5i)FN)r   r&  )r<  r   has_errs   & r;   r?  `TestDataFramePlots.test_errorbar_scatter_color.<locals>._check_errorbar_color.<locals>.<genexpr>  s"     UA'!We:Ts   11r  N)
nextr  r   extendappendrF  r   r1   r   r   )	r  r  r#  r&  errselrZ   	err_linesrp   s	   &&f     r;   _check_errorbar_colorMTestDataFramePlots.test_errorbar_scatter_color.<locals>._check_errorbar_color  s    EUUUD##LL$LL$	 
 %*AEq"..-@EIA)(c)n9T0UV Bs   &B9=B9r   r   r  r  r   re  )rZ   r[   r  r  r   r  )r#  has_yerrr|  )rZ   r[   r  r?  N)r   )r/   r   r  )
r   r1   r  r2   r3   r4   r7   r   r   r  )r9   r+  r:   rp   s   &  @r;   test_errorbar_scatter_color.TestDataFramePlots.test_errorbar_scatter_color  s    		W FF299((+;;GDE-
 WW__sc#_GRaa0bmmUJGbmmUJGWW__sc7_CRaa0bmmWjIr>   c           	         \        R . ROR^/4      p\        P                  ! \        \        3RR7      ;_uu_ 4        VP                  R RRRR7       RRR4       R#   + '       g   i     R# ; i)	r   r   z'unknown' is not ar\   unknownr   )rZ   r[   rd  rp  Nr   )r   r_   r`   r  KeyErrorr7   r8   s   & r;   test_scatter_unknown_colormap0TestDataFramePlots.test_scatter_unknown_colormap  sP    YQ/0]]J19MNNGGcS99GE ONNNs   AA-	c                   \        4       w  r\        R . ROR. ROR. ROR. RO/4      pR pV F  pVP                  R RRVRR7       K  	  VP                  \        P                  4       4       V! V4       \        P                  R4       \        4       w  r\        P                  ! \        R	R
7      ;_uu_ 4        VP                  RVRR7      pRRR4       V! V4       R#   + '       g   i     L; i)r   r   r   r  c                    V  F:  p\        VP                  4      ^8X  g   Q h\        VP                  4       RR7       K<  	  V ^ ,          V ^,          3 F;  p\        VP	                  4       RR7       \        VP	                  RR7      RR7       K=  	  V ^,          V ^,          3 F;  p\        VP	                  4       RR7       \        VP	                  RR7      RR7       K=  	  R# )rG   Tr   Fr   N)r   r&  r   r  r   rJ   rp   s   & r;   _check5TestDataFramePlots.test_sharex_and_ax.<locals>._check  s    288})))r113TB  AwQ(r113UCr111=uM ) AwQ(r113TBr111=tL )r>   rx   T)rZ   r[   rx   rp   r   r  sharex and shareyr\   )rB   rp   r   NrG   r!   rl   r0   r   r   
_generate_4_axes_via_gridspecr   r7   tight_layoutr  r0  r  r  r  r  r9   gsrJ   r:   r8  rp   s   &     r;   test_sharex_and_ax%TestDataFramePlots.test_sharex_and_ax  s     12''''	
		M BGGcSBtGD 
	"t		%02'';NOO77DT$7?D Pt POs   :C!!C1	c                   \        R . R
OR. R
OR. R
OR. R
O/4      p\        4       w  r#V F  pVP                  R RRVR7       K  	  VP                  \        P                  4       4       V Fr  p\        VP                  4      ^8X  g   Q h\        VP                  4       RR7       \        VP                  4       RR7       \        VP                  RR7      RR7       Kt  	  R	# r   r   r   r  rx   )rZ   r[   rx   rp   Tr   r   Nr;  r   r=  r7   r>  r  r0  r   r&  r   r  r   r9   r:   r@  rJ   rp   s   &    r;   test_sharex_false_and_ax+TestDataFramePlots.test_sharex_false_and_ax  s     ''''	
 12BGGcSBG7  		"Brxx=A%%%2--/>2--/>2--D-94H	 r>   c                .   \        4       w  r\        R . ROR. ROR. ROR. RO/4      pR pV F  pVP                  R RRVRR7       K  	  VP                  \        P                  4       4       V! V4       \        P                  R4       \        4       w  r\        P                  ! \        R	R
7      ;_uu_ 4        VP                  RVRR7      pRRR4       VP                  \        P                  4       4       V! V4       R#   + '       g   i     L=; i)r   r   r   r  c                    V  FW  p\        VP                  4      ^8X  g   Q h\        VP                  4       RR7       \        VP                  RR7      RR7       KY  	  V ^ ,          V ^,          3 F  p\        VP	                  4       RR7       K   	  V ^,          V ^,          3 F  p\        VP	                  4       RR7       K   	  R# )rG   Tr   r   FN)r   r&  r   r   r  r7  s   & r;   r8  5TestDataFramePlots.test_sharey_and_ax.<locals>._check6  s    288})))r113TBr111=tL  AwQ(r113TB )AwQ(r113UC )r>   rx   T)rZ   r[   rx   rp   r  r  r:  r\   )rB   rp   r  Nr;  r<  r?  s   &     r;   test_sharey_and_ax%TestDataFramePlots.test_sharey_and_ax'  s     12''''	
	D BGGcSBtGD 
	"t		%02'';NOO77DT$7?D P 		"t	 POs   :DD	c                   \        R . R
OR. R
OR. R
OR. R
O/4      p\        4       w  r#V F  pVP                  R RRVR7       K  	  VP                  \        P                  4       4       V Fr  p\        VP                  4      ^8X  g   Q h\        VP                  4       RR7       \        VP                  4       RR7       \        VP                  RR7      RR7       Kt  	  R	# rD  rE  rF  s   &    r;   test_sharey_and_ax_tight+TestDataFramePlots.test_sharey_and_ax_tightM  s    ''''	
 12BGGcSBG7  		"Brxx=A%%%2--/>2--/>2--D-94H	 r>   c                   \         P                  ! R4       / pVR9   d   \        R\        P                  P                  ^4      P                  ^R7      R\        P                  P                  ^4      P                  ^R7      R\        P                  ! ^4      \        P                  P                  ^4      P                  ^R7      ,           /4      pRRRR/pMVR8X  dn   \        \        P                  P                  ^4      P                  R4      \        \        R	4      \        R
7      \        R^
RR7      R7      P                  4       pM^\        \        P                  P                  ^4      P                  R4      \        \        R	4      \        R
7      \        R^
RR7      R7      pVP                  ! RRV/VB pVR9   d   \        VP                   4       Fh  w  pw  p pVP"                  RV3,          p\$        P&                  ! W4      '       d   Q h\$        P(                  ! VP*                  VP*                  4       Kj  	  R# \-        VR4      '       d   Q hR# )z3Check that every plot type gets properly collected.r  r   r  r&   r   rZ   r[   rb  r"   r#   r%   r'   r*   rp  rD  
_plot_dataN)r   r   r   r.   r  )rb   rb  )r_   r  r   r1   r2   r3   r  r   r4   r   r5   r6   r   r  r7   r3  rR  r  r  shares_memoryrg  _valuesr  )	r9   rp  argsr:   rp   r=  cached_datar   sers	   &&       r;   test_memory_leak#TestDataFramePlots.test_memory_leakc  s    	G$//..q199r9B..q199r9B2)>)>q)A)I)Ir)I)RRB c3'DV^		%%a(88Ad6l&9 rD ce	  		%%a(88Ad6l&9 rDB WW'$'$'##*3BMM*B&&KAggadm++C====++CKK9L9LM +C
 r<00000r>   c           	      
   \        \        P                  P                  ^4      P	                  ^
4      \        R^
R7      R7      p\        \        P                  P                  ^4      P	                  R4      VP                  \        R4      R7      pR pR pV! 4       V! 4       3 F  w  rVVP                  VR7      p\        VP                  4      ^8X  g   Q hVP                  VR7      p\        VP                  4      ^8X  g   Q hWV3 FV  p\        VP                  4       R	R
7       \        VP                  4       R	R
7       \        VP                  R	R7      R	R
7       KX  	  \        P!                  R4       K  	  V! 4       V! 4       3 F  w  rVVP                  R	WV.R7      p\        VP                  4      ^8X  g   Q h\        VP                  4      ^8X  g   Q hV FV  p\        VP                  4       R	R
7       \        VP                  4       R	R
7       \        VP                  R	R7      R	R
7       KX  	  \        P!                  R4       K  	  V! 4       w  rV\"        P$                  ! \&        RR7      ;_uu_ 4        VP                  R	WV.R	R	R7      pRRR4       \        X^ ,          P                  4      ^8X  g   Q h\        V^,          P                  4      ^8X  g   Q hWV3 F  p\        VP                  4       R	R
7       K   	  \        V^ ,          P                  4       RR
7       \        V^ ,          P                  R	R7      RR
7       \        V^,          P                  4       R	R
7       \        V^,          P                  R	R7      R	R
7       \        P!                  R4       V! 4       w  rV\"        P$                  ! \&        RR7      ;_uu_ 4        VP                  R	WV.R	R	R7      pRRR4       \        V^ ,          P                  4      ^8X  g   Q h\        V^,          P                  4      ^8X  g   Q h\        V^ ,          P                  4       R	R
7       \        V^,          P                  4       RR
7       WV3 F;  p\        VP                  4       R	R
7       \        VP                  R	R7      R	R
7       K=  	  \        P!                  R4       R#   + '       g   i     ELL; i  + '       g   i     EL; i)r!   r  r(   ri   ABr;  c                      \         P                  P                  ^^4      p \        P	                  4       pVP                  V R,          4      pVP                  V R,          4      pW#3# )rl   )r   rD  )r!   rD  r   gridspecGridSpecr  r  r2  r@  r  rx  ry  s       r;   _get_vertical_gridSTestDataFramePlots.test_df_gridspec_patterns_vert_horiz.<locals>._get_vertical_grid  N    &&q!,B**,C//"U),C//"T(+C8Or>   c                      \         P                  P                  ^^4      p \        P	                  4       pVP                  V R,          4      pVP                  V R,          4      pW#3# )rG   )rD  r   )rD  r!   r^  ra  s       r;   _get_horizontal_gridUTestDataFramePlots.test_df_gridspec_patterns_vert_horiz.<locals>._get_horizontal_grid  rd  r>   rp   Tr   r   r  r   r:  r\   rB   rp   r   r  NFrb  r	   r1   r2   r3   r4   r   r   r,   r5   r7   r   r&  r   r  r   r  r  r  r  r  )	r9   tsr:   rb  rf  rx  ry  rp   rJ   s	   &        r;   $test_df_gridspec_patterns_vert_horiz7TestDataFramePlots.test_df_gridspec_patterns_vert_horiz  s   II!!!$44R8Z4

 II!!!$44W=((J
		 ,-/C/EFHC''S'/Csyy>Q&&&''S'/Csyy>Q&&&jr113TBr113TBr111=tL ! IIe G ,-/C/EFHC77DcZ78Dsyy>Q&&&syy>Q&&&r113TBr113TBr111=tL  IIe G &''';NOO77DcZT7RD P47==!Q&&&47==!Q&&&*B2--/>  	tAw..0%@tAw..T.:EJtAw..0$?tAw..T.:DI		% ()'';NOO77DcZT7RD P47==!Q&&&47==!Q&&&tAw..0$?tAw..0%@*B2--/>2--D-94H  			%7 POO  POOs   >SS,S)	,S=	c           	        \        \        P                  P                  ^4      P	                  ^
4      \        R^
R7      R7      pR pV! 4       p\        \        P                  P                  ^4      P	                  R4      VP                  \        R4      R7      pVP                  RVR7      pV Fr  p\        VP                  4      ^8X  g   Q h\        VP                  4       RR	7       \        VP                  4       RR	7       \        VP                  RR
7      RR	7       Kt  	  \        P!                  R4       V! 4       p\"        P$                  ! \&        RR7      ;_uu_ 4        VP                  RVRRR7      pRRR4       V F  p\        VP                  4      ^8X  d   K  Q h	  V^ ,          V^,          3 F  p\        VP                  4       RR	7       K   	  V^,          V^,          3 F  p\        VP                  4       RR	7       K   	  V^ ,          V^,          3 F;  p\        VP                  4       RR	7       \        VP                  RR
7      RR	7       K=  	  V^,          V^,          3 F;  p\        VP                  4       RR	7       \        VP                  RR
7      RR	7       K=  	  \        P!                  R4       R#   + '       g   i     ELW; i)r!   r  r[  ri   c                  2   \         P                  P                  ^^4      p \        P	                  4       pVP                  V R,          4      pVP                  V R,          4      pVP                  V R,          4      pVP                  V R,          4      pW#WE3# )rl   )r   r   )r   r!   )r!   r   rO   r^  )r@  r  rx  ry  ax3ax4s         r;   _get_boxed_gridKTestDataFramePlots.test_df_gridspec_patterns_boxed.<locals>._get_boxed_grid  sv    &&q!,B**,C//"V*-C//"U),C//"U),C//"T(+CS%%r>   r"   r;  Tr   r   r   r  r:  r\   ri  NFr.   rj  )r9   rk  rr  rJ   r:   rp   s   &     r;   test_df_gridspec_patterns_boxed2TestDataFramePlots.test_df_gridspec_patterns_boxed  sF   II!!!$44R8Z4
	&  II!!!$44W=((L

 www.Brxx=A%%%2--/>2--/>2--D-94H  			%  '';NOO77DT$t7LD PBrxx=A%%% 7DG$B2--/> %7DG$B2--/? %7DG$B2--/?2--D-95I % 7DG$B2--/>2--D-94H % 			% POOs   'KK	c           	     |    \        \        R . ROR. RO/4      \        P                  P                  RR RR/R7       R# )r   r   rZ   r[   )kwsNr   r!   rl   r0   )r   r   r   PlotAccessor_dataframe_kinds)r9   s   &r;   test_df_grid_settings(TestDataFramePlots.test_df_grid_settings
	  s6    sIsI67!!22c3$	
r>   c                    \         P                  P                  4       w  rVP                  . RO4       \	        \
        P                  P                  ^4      P                  ^
4      4      P                  VR7       R# )r  rh  N)r  r  r  r  )	r   r   rB   add_axesr	   r1   r2   r3   r7   )r9   r  rp   s   &  r;   test_plain_axes"TestDataFramePlots.test_plain_axes	  sU     **%%')*ryy$$Q'..r2388B8?r>   c           	     `   \        R \        P                  P                  ^4      P	                  ^4      R\        P                  P                  ^4      P	                  ^4      /4      p\
        P                  P                  4       pVP                  R4      pVP                  RVR RR RR7       R# )r   r   r   hsv)rp  rp   rZ   r[   r   r^  N)r   r   rG   rG   )
r   r1   r2   r3   r4   r   r   r  r~  r7   )r9   r:   r  rp   s   &   r;   test_plain_axes_df%TestDataFramePlots.test_plain_axes_df	  s     RYY**1-==a@RYY**1-==a@
 jj!\\,'
Y2sGr>   c                   \         P                  P                  4       w  r^ RIHp V! V4      pVP                  RRRR7      p\        \        P                  P                  ^4      P                  ^
4      4      P                  VR7       \        \        P                  P                  ^4      P                  ^
4      4      P                  VR7       R# )r   )make_axes_locatableru  z5%g?)r\  padrh  N)r   r   rB   mpl_toolkits.axes_grid1r  append_axesr	   r1   r2   r3   r7   )r9   r  rp   r  dividercaxs   &     r;   #test_plain_axes_make_axes_locatable6TestDataFramePlots.test_plain_axes_make_axes_locatable&	  s    **%%'?%b)!!'$!?ryy$$Q'..r2388B8?ryy$$Q'..r2388C8@r>   c                   \         P                  P                  4       w  r^ RIHp V! VRR^R7      p\        \        P                  P                  ^4      P                  ^
4      4      P                  VR7       \        \        P                  P                  ^4      P                  ^
4      4      P                  VR7       R# )r   )
inset_axesz30%rL  )r  r  r  rh  N)
r   r   rB   %mpl_toolkits.axes_grid1.inset_locatorr  r	   r1   r2   r3   r7   )r9   r  rp   r  iaxs   &    r;   test_plain_axes_make_inset_axes2TestDataFramePlots.test_plain_axes_make_inset_axes0	  s    **%%'D5!<ryy$$Q'..r2388B8?ryy$$Q'..r2388C8@r>   methodc                P   \        \        P                  P                  ^4      P	                  R4      \        R4      R7      P                  R R7      P                  R R7      p^pRR.pR	VR
VRR/p\        VP                  V4      ! R/ VB p\        VP                  VR7       R# )r!   r\  r   c                 6    V P                   P                  4       # r;  )r&   r&  r:   s   &r;   r  BTestDataFramePlots.test_secondary_axis_font_size.<locals>.<lambda>?	  s    r>   r   c                 (    V P                   R ,          # )g?r  r  s   &r;   r  r  @	  s    r>   )r   r   r   r  r  
mark_rightT)rJ   r  N)r  r!   r  )r   r1   r2   r3   r4   r5   assignr   r7   r   r  )r9   r  r:   r  rm  rs   rp   s   &&     r;   test_secondary_axis_font_size0TestDataFramePlots.test_secondary_axis_font_size8	  s     		%%a(88A4PT: V.V/V+V, 	 3ZZ<NRWWf%//Ar>   c           	        \        R . ROR. ROR. RO/4      pVP                  P                  RR7      pVP                  R^4       VP	                  4        Uu. uF  q3P                  4       NK  	  pp\        \        WBP                  4       RR7      4      pVR,          R	8X  g   Q hVR,          R
8X  g   Q hVR,          R8X  g   Q hR# u upi )salesvisitsr  MondayTuesday	Wednesdayr   Fr   rK  rL  rM  N)rl   r!   rl   )r  *      )r  r  r  rN   )	r   r7   rb  set_xlimr   rK  r  r   r!  )r9   r:   rp   txticklabelslabels_positions   &     r;   test_x_string_values_ticks-TestDataFramePlots.test_x_string_values_ticksJ	  s     ,9
 WW\\E\"
B-/-?-?-AB-Azz|-ABs;NOx(C///y)S000{+s222 Cs   Cc                $   \         P                  ! R R.^^..4      p\        \        P                  P                  ^4      P                  R4      RR.VR7      pVP                  4       pVP                  R^4       VP                  4        Uu. uF  qDP                  4       NK  	  pp\        \        WSP                  4       RR7      4      pVR,          R8X  g   Q hVR	,          R
8X  g   Q hVR,          R8X  g   Q hVR,          R8X  g   Q hR# u upi )rH  i  r   r&   r*   Fr   z	(2012, 1)rK  z	(2012, 2)rL  z	(2013, 1)rM  z	(2013, 2)rN  Nr  rN   )r   from_productr   r1   r2   r3   r4   r7   r  r   rK  r  r   r!  )r9   r,   r:   rp   r  r  r  s   &      r;   test_x_multiindex_values_ticks1TestDataFramePlots.test_x_multiindex_values_ticks]	  s     ''$1v(>?II!!!$44V<#J

 WWY
B-/-?-?-AB-Azz|-ABs;NO{+s222{+s222{+s222{+s222 Cs   Dc                    \        ^^.^^.R7      pVP                  VR7      pVP                  4       pV^ ,          ^8  g   Q hV^,          ^8  g   Q hR# )r!   ri   r  N)r   r7   rP  )r9   rp  r:   rp   xlimss   &&   r;   test_xlim_plot_line&TestDataFramePlots.test_xlim_plot_linep	  sS     1vaV,WW$WQx!||Qx!||r>   c                   \         P                  P                  4       w  r. ROp\        R. ROR. ROR. ROR. RO/VR7      pV. RO,          P                  P                  VRR7       VR.,          P	                  VRR	7       VP                  4       pV^ ,          ^ 8  g   Q hV^,          ^8  g   Q hVP                  4        Uu. uF  qfP                  4       NK  	  ppWs8X  g   Q hR
# u upi )k1s1s2s3r  ri   F)rp   rt  T)rp   r  N)r  k2k3k4)i  r:    r:  )i  ix  r:  i  )r  r  i@  i  )rG   rl   r0   rl   )r  r  r  )	r   r   rB   r   r7   r   rP  r   rK  )r9   r  rp   indexesr:   r  r  r  s   &       r;   0test_xlim_plot_line_correctly_in_mixed_plot_typeCTestDataFramePlots.test_xlim_plot_line_correctly_in_mixed_plot_typez	  s     **%%'*.-.|	 
 	##''2u'=
M?  BD 9Qx!||Qx!|| .0-?-?-AB-Azz|-AB%%% Cs   C)c                `   \        R .\        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# )foo)r+   r$   N)r   intemptyr7   r   r   r$  r  )r9   r:   rp   rb   s   &   r;   test_plot_no_rows$TestDataFramePlots.test_plot_no_rows	  s    wc2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  r7   r8   s   & r;   test_plot_no_numeric_data,TestDataFramePlots.test_plot_no_numeric_data	  s7    ']]9,EFFGGI GFFFs   AA	c                T   \         P                  ! R 4       R\        P                  ! ^
4      R\        P                  ! ^
4      ^,           R\        P                  ! ^
4      ^,           R\        P                  ! ^
4      R\        P                  ! ^
4      /p\	        V4      pVP                  RR.VR7      p\        V4      ^8X  g   Q hRR.RR.R.3p\        WERR7       FF  w  rgVR	8w  d   \        WgR
7       VR8X  g   K!  \        VP                  4      \        V4      8X  d   KF  Q h	  R# )r  r   r   r   r  r  rB   rp  Tr   r   r  rb   N)r   r  )r   r  )
r_   r  r1   r   r   r7   r   r   r   r&  )r9   rp  r  r:   rJ   r  rp   r  s   &&      r;   test_group_subplot%TestDataFramePlots.test_group_subplot	  s     	G$22"2"22
 q\wwZ 8twD4yA~~:SzC59dDAJBu}$R7v~288}F333	 Br>   c                    \        \        ^4      4      pRp\        P                  ! \        VR7      ;_uu_ 4        VP                  R.R7       RRR4       R#   + '       g   i     R# ; i)rG   z!An iterable subplots for a Seriesr\   rB   Nr   )r	   r   r_   r`   NotImplementedErrorr7   )r9   rW  rd   s   &  r;   (test_group_subplot_series_notimplemented;TestDataFramePlots.test_group_subplot_series_notimplemented	  sF    U1X1]].c::HHvhH' ;:::s   AA*	c                    \        \        P                  ! ^4      \        P                  ! RR.4      R7      pRp\
        P                  ! \        VR7      ;_uu_ 4        VP                  R.R7       RRR4       R#   + '       g   i     R# ; i)r!   r   z6An iterable subplots for a DataFrame with a MultiIndexr\   r  Nr   rG   rG   r!   )	r   r1   eyer   r   r_   r`   r  r7   rc   s   &  r;   ,test_group_subplot_multiindex_notimplemented?TestDataFramePlots.test_group_subplot_multiindex_notimplemented	  s\    rvvay**@*@&&AQ*RSF]].c::GGfXG& ;:::s   A<<B	c                    \        \        P                  ! ^4      RR.R7      pRp\        P                  ! \
        VR7      ;_uu_ 4        VP                  R.R7       RRR4       R#   + '       g   i     R# ; i)r!   r   r   z4An iterable subplots for a DataFrame with non-uniquer\   r  Nr  )r   r1   r  r_   r`   r  r7   rc   s   &  r;   0test_group_subplot_nonunique_cols_notimplementedCTestDataFramePlots.test_group_subplot_nonunique_cols_notimplemented	  sP    rvvay3*5D]].c::GGfXG& ;:::s   
A((A9	zsubplots, expected_msgc                   R \         P                  ! ^
4      R\         P                  ! ^
4      /p\        V4      p\        P                  ! \
        VR7      ;_uu_ 4        VP                  VR7       RRR4       R#   + '       g   i     R# ; i)r   r   r\   r  Nr1   r   r   r_   r`   r  r7   )r9   rB   expected_msgr  r:   s   &&&  r;   test_group_subplot_bad_input/TestDataFramePlots.test_group_subplot_bad_input	  sY     "))B-biim4q\]]:\::GGXG& ;:::ri  c                   R \         P                  ! ^
4      R\         P                  ! ^
4      /p\        V4      p\        \         P                  4      \        R4      8  dC   \
        P                  ! \        RR7      ;_uu_ 4        VP                  R.R7       RRR4       R# \
        P                  ! \        RR7      ;_uu_ 4        VP                  R.R7       RRR4       R#   + '       g   i     R# ; i  + '       g   i     R# ; i)	r   r   z2.0.0z Column label\(s\) \['bad_name'\]r\   r  Nz-Column label\(s\) \[np\.str\_\('bad_name'\)\])r   bad_name)	r1   r   r   r   r  r_   r`   r  r7   r  s   &  r;   &test_group_subplot_invalid_column_name9TestDataFramePlots.test_group_subplot_invalid_column_name	  s    "))B-biim4q\2>>"WW%55z1TUU"3!45 VU "R  "3!45  VUU  s   C%C9%C6	9D
	c                N   R \         P                  ! ^
4      R\         P                  ! ^
4      R\         P                  ! ^
4      /p\        V4      p\        P                  ! \
        RR7      ;_uu_ 4        VP                  RR.R7       RRR4       R#   + '       g   i     R# ; i)	r   r   r   zshould be in only one subplotr\   r  Nr   r   )r   r   r  r  s   &  r;   $test_group_subplot_duplicated_column7TestDataFramePlots.test_group_subplot_duplicated_column	  sj    "))B-biimS"))B-Hq\]]:-LMMGGj*5G6 NMMMs   4BB$	c                "   R \         P                  ! ^
4      R\         P                  ! ^
4      /p\        V4      p\        P                  ! \
        RR7      ;_uu_ 4        VP                  R.VR7       RRR4       R#   + '       g   i     R# ; i)r   r   z1When subplots is an iterable, kind must be one ofr\   r  Nr  r  )r9   rp  r  r:   s   &&  r;   test_group_subplot_invalid_kind2TestDataFramePlots.test_group_subplot_invalid_kind	  si    "))B-biim4q\]]Q
 
 GGj\G5
 
 
 
s   A==B	z index_name, old_label, new_labelr8  c                v   \        ^^.^^..RR.R7      pW%P                  n        VP                  VR7      pVP	                  4       V8X  g   Q hVP                  4       R8X  g   Q hVP                  WVR7      pVP                  4       \        V4      8X  g   Q hVP	                  4       \        V4      8X  g   Q hR# )rG   Type AType Br   r  r8  )rp  r  xlabelN)r   r,   r   r7   
get_xlabelr_  str)r9   rp  
index_name	old_label	new_labelr:   rp   s   &&&&&  r;   (test_xlabel_ylabel_dataframe_single_plot;TestDataFramePlots.test_xlabel_ylabel_dataframe_single_plot	  s     AA'(H1EF" WW$W}})+++}}"$$$ WW$WC}}#i.000}}#i.000r>   zxlabel, ylabelc                    R pRp\        ^^.^^..WE.R7      pVP                  WWRVR7      pVP                  4       Vf   TMT8X  g   Q hVP                  4       Vf   TMT8X  g   Q hR# )r  r  r   )rp  rZ   r[   r  r  N)r   r7   r  r_  )r9   rp  r  r  xcolycolr:   rp   s   &&&&    r;   'test_xlabel_ylabel_dataframe_plane_plot:TestDataFramePlots.test_xlabel_ylabel_dataframe_plane_plot
  ss     AA'$> WW$$fWM}}6>4vFFF}}6>4vFFFr>   c                \   \        ^ .4      P                  VRR^c.R7      pVP                  P                   Fq  pVP                  P                  4       '       g   K%  VP                  4       R8X  g   Q hVP                  4       R8X  g   Q hVP                  4       ^ ,          ^c8X  d   Kq  Q h	  R# )r   r  )r  r  rv   rt   N)r   r  )	r   r7   r  rJ   r  get_visibler_  r  
get_yticks)r9   r  ax_dfrp   s   &&  r;   test_secondary_y#TestDataFramePlots.test_secondary_y.
  s    1####Cht $ 
 ,,##Bxx##%%}}#---{{}000}}q)R///	 $r>   c           
        \        \        P                  P                  ^4      P	                  R	4      \        \        R4      \        R7      \        R^
RR7      R7      p\        P                  ! R4      ;_uu_ 4        VP                  4       pVP                  P                  4       pRRR4       R#   + '       g   i     R# ; i)
r!   r"   r#   r%   r&   r'   r*   FNr.   )r   r1   r2   r3   r4   r   r5   r6   r   r  r  r7   r  )r9   r:   r   s   &  r;   test_plot_no_warning'TestDataFramePlots.test_plot_no_warning9
  s     II!!!$44W=$v,f5\2C@

 ''..	A		A /...s   =+B22C	r)   c                  aa \         P                  ! R V^R7      p\        \        P                  ! . RO4      VR.R7      pVP
                  oVP                  4       pVP                  4       ^ ,          P                  4       o\        ;QJ d)    VV3R l\        ^4       4       F  '       d   K   RM	  RM! VV3R l\        ^4       4       4      '       g   Q hR# )	z
01/01/2000r  r   r;  c              3   n   <"   T F*  p\        SV,          4      \        SV,          4      8H  x  K,  	  R # 5ir;  )r  )r<  r=  r  r   s   & r;   r?  QTestDataFramePlots.test_plot_period_index_makes_no_right_shift.<locals>.<genexpr>S
  s'     Hx!3vay>S!%55xs   25FTN)r   rG   r   rG   )r   period_ranger   r1   r   rv  r7   r   r$  r  r   )r9   r)   r  r:   rp   r  r   s   &&   @@r;   +test_plot_period_index_makes_no_right_shift>TestDataFramePlots.test_plot_period_index_makes_no_right_shiftF
  s     oolqAHH\"E

 ::WWY",,.sHuQxHsssHuQxHHHHHr>   c                8   \        \        P                  P                  ^4      P                  R4      RR.R7      pVP                  P                  RRR7      p\        VP                  P                  4       .RR7       \        VP                  4       RR7       R# )	r!   r   r   r   r   Tr   Nrb  )
r   r1   r2   r3   r7   r   r   r   r   r   ro   s   &  r;   #test_plot_display_xlabel_and_xticks6TestDataFramePlots.test_plot_display_xlabel_and_xticksU
  so    ryy,,Q/66w?#sTWW^^cS^)**,-t<r))+T:r>   r  )rG   r   r/   )ir  rN   )rN   rG   )rb   r   r   r   )Tr  )symsymlog)r  r
  r  rZ  )rL  rK  rN  rM  )r   r  )r  r  r   r  )r   r)  r  r  rx  r   )rA  rC  rB  )rC  rB  rA  )r   )r[   rZ   )r[   r[   r   )r   rG   r!   )r  rJ   both)r  )r  r!   )NNNNr   r  r  r  )rl   r/   r  r   r   r   )r   rl   r   r   r   r   )r   r   r   rl   r  r/   )r*  r+  r,  ))boxpropsboxes)whiskerpropswhiskers)cappropscaps)medianpropsmedians)r   r&   )rb   r   r  )r  r  )rb   r  r   )rb   r   r  r   r  r  rb  r   )){   z(subplots should be a bool or an iterable)r   !each entry should be a list/tuple))rG   r  )r  r  )r  r   r   )Nr8  new)oldr  r  )Nr8  r8  )Nr8  rG   )rb   rb  r   ))NN)X LabelN)NY Label)r  r  )FT)r  7h60min120min3M)__name__
__module____qualname____firstlineno__r_   markslowr<   rK   rP   rV   xfailre   rq   parametrizer}   r   r   r   r   r   r   r5   r   r   r   r   r   r   r   r   r  r  r  r'  r+  r0  r4  r7  r>  r1   rE  r  rI  r   r   rW  r[  rc  rn  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   CategoricalIndexr  r	  r  r  r  r%  r+  paramtd
skip_if_nor2  rS  rV  r`  ri  rr  rx  r~  r  r  r  r  r  r  r  r  filterwarningsr   r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r"  r'  r5  r;  rE  rP  r   ry  _common_kindsrV  rY  r_  rc  rg  ro  rs  rw  r  r  r  r  stdr  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.  r3  rA  rG  rL  rO  
_all_kindsrX  rl  rt  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  __static_attributes____classdictcell__)__classdict__s   @r;   r   r   ?   s    [[/ / [[; ; [[; ; [[; ; [[45[[%  6% [[' ' [[[[z"z"[&+6T:tWfE		
- - [[+ +. [[1 1 [[' ' [[3 32 [[[[Xg7; 8 ; [[! ! [[']C%3Zc"3Zc"3Zc"3Zc"3Zc"3Zc"	
33 [[[[V%CD1 E 1 [[[[RLBKRLS#Jc3,-S#s+,	

<
 <(
6'1
0	N [[!M3D#E//  [[],FG
> H
>	(
(N,'
  [[]RXXrzz,BC
A D
A [[s019MNsCc3<=Cc2663<	
	9	99
&2 [[Vff%56[[VaW-; . 7; [[Vff%56C 7C(  [[Vff%56H 7H [[a*[sAFGYY$ [[a*[sAFG
T
T [[a*[sAFG [[XY,>'?@H AH& [[X]D,A'BC2 D2
6 [[.  
 [[Yu6 7&	0 [[Yu6* 7*. [[*,BC [[Yu6
2 7
2 [[*,BC22.)
%"	" [[UUB,?,?$@A. B., [[Vj&%9:5 ;5#;25 [[V&7%@A5 B5 [[Ty9Q RS [[Vj&%9:[[Wy/&BC9 D ;
9 [[Yu6[[	.0UV
	 7

: [[V%IJ5 K5 [[Y)(DEA FA8&D.Y.
; [[[[uT:t4		
1 1 [[' ' [[F F [[F F
6+6 [[ CD[[ GFO34  6	 E
6  [[ 56[[ GFO3<  &	 7
&$ [[ CD[[ GFO34  6	 E
62 [[],DE4 F4'D	;,/, 2
<=@ [[^fh-?@Q AQ0U. [[ RYYrxx8"((CS:TURYYrxx8"((?:STRYYrxx8"((CS:TU RYYHHbffaAq!45rxx@S7T RYYHHaAq!45rxx@R7S RYYHHaArvvq!45rxx@S7T
	
*j
+*j
X0 [[QQ$Q#J		
55? [[	
77R. [[VX%:%:%H%HI! J! [[Vi%:;) <) [[VX%:%:%H%HI J [[D$x,,::;DVD. [[3Zc"US#Jc
+	
))< [[UZ3%$>? @ [[3%#(3*sCj5&/:A(+gx-@A	
99 [[^q!c3Z.@1a!Q.-QR- S-(;  [[Z$8
( 9
( [[L+&4fv&	
	7	7 [[S3(+/ ,/)"=*44 [[[[TNT64(t	
1 1 [[1 1 [[1 1 [[[[Vfh%78	1 9 	1 [[G G [[! ! [[[[V%<=[[2772;$3/sBGGBK#-sBGGBK#4EFG	
1 > 1 [[[[V%<=[[ 3c 13c8IJK3c 13c8IJK BGGBK#%C0&s9JQT2UV	

1
 > 1
 [[[[V%<=3 > 3 [[4ZH1 I11 [[[[Vfe_51 6 1 [[	1 	1 [[[[Yi(@A1 B 1 [[V%<=3 >3B $'1,J4F#JI0$LI, [[VX%:%:%E%EF"1 G"1HN`0d
@HAA [[X'>?B @B"3&3& [[Vff%56 7&4*
 [[P44*('' [[ 	
''67 [[V%AB6 C6 [[*!21v	
	 [[V%<=1 >	1" [[	
 [[Vi%:;	G <	G [[]M:0 ;0 [[
 
 [[V%IJI KI; ;r>   r   c                  .   \         P                  P                  ^^4      p \        P	                  V R,          4      p\        P	                  V R,          4      p\        P	                  V R,          4      p\        P	                  V R,          4      pWW#V.3# )r!   r  )rG   r   r  r   )r   r_  r`  r  subplot)r@  ax_tlax_llax_trax_lrs        r;   r=  r=  ^
  sp    			q!	$BKK4!EKK4!EKK4!EKK4!EuU+++r>   )7__doc__r   r   r  r  rm   numpyr1   r_   pandas.util._test_decoratorsutil_test_decoratorsr.  pandas.core.dtypes.apir   pandasr   r   r   r   r   r	   r
   r   r   r   pandas._testing_testingr  pandas.tests.plotting.commonr   r   r   r   r   r   r   r   r   r   r   r   r   pandas.util.versionr   pandas.io.formats.printingr   r  r   r  r(  r0  
pytestmarkr   r=  r  r>   r;   <module>rJ     s    #  	    ) ) / 
 
 
     ( 3,'-. KKK KKL	
\(; \(;~P,r>   