403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python312/Lib/site-packages/pandas/tests/plotting/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python312/Lib/site-packages/pandas/tests/plotting/__pycache__/test_series.cpython-312.pyc
�

0	�g����b�dZddlmZddlmZddlZddlZddlmZddl	m
Z
ddlmcm
ZddlZddlmZmZmZmZmZddlmZddlmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$ejJd	�Z&ejJd
�Z'ejPd��Z)ejPd��Z*Gd
�d�Z+y)z Test cases for Series.plot �)�datetime)�chainN)�is_platform_linux)�np_version_gte1p24)�	DataFrame�Series�
date_range�period_range�plotting)�_check_ax_scales�_check_axes_shape�
_check_colors�_check_grid_settings�_check_has_errorbars�_check_legend_labels�_check_plot_works�_check_text_labels�_check_ticks_props�_unpack_cycler�
get_y_axis�
matplotlibzmatplotlib.pyplotc�z�ttjdtj��t	dd��d��S)N�
��dtype�
2020-01-01��periods�ts��index�name)r�np�arange�float64r	���CC:\Python312\Lib\site-packages\pandas/tests/plotting/test_series.pyrr's.���
�	�	�"�B�J�J�'���r�2�
��r'c
��ttd�tjdtd�D�cgc]}d|����	c}��Scc}w)N��series�i_)rr"r!)r�ranger#r%)�is r(r+r+0s9���
�b�	����(�U�SU�Y�:W��R��s�8�:W����:Ws�Ac��eZdZejj
ejj
dddiddig�d���Zejj
d��Zejj
ejj
dd	d
iddigd
d
iddigdd
iddd�gg�d���Z	ejj
d��Z
ejj
d��Zd�Zejj
ddddejdejd���ddg�d��Zd�Zd �Zejj
did!d"id!d#ig�d$��Zd%�Zd&�Zejj
did'd
ig�d(��Zd)�Zd*�Zd+�Zd,�Zd-�Zd.�Zd/�Zd0�Zd1�Zd2�Z d3�Z!ejj
d4d5e"d6d7�8�g�d9��Z#d:�Z$d;�Z%ejjMe'xre(�d<d�=�ejj
d>d?d@g�dA���Z)ejjMe'xre(�d<d�=�ejj
dBgdC�gdD�g�dE���Z*dF�Z+dG�Z,dH�Z-dI�Z.dJ�Z/dK�Z0dL�Z1dM�Z2dN�Z3dO�Z4dP�Z5dQ�Z6dR�Z7dS�Z8dT�Z9dU�Z:dV�Z;dW�Z<dX�Z=ejj
dYdZd[g�d\��Z>d]�Z?ejj
d^d_d`gd5d`gd5e@j�d`�gdae@j�dbdcd`�gg�dd��ZCde�ZDdf�ZEdg�ZFejjMdh�i�dj��ZGejj
deHj�j�eHj�j�z�dk��ZLejj
deHj�j�eHj�j�z�dl��ZMejj
deHj�j��dm��ZNejj
deHj�j��dn��ZOejj
deHj�j��do��ZPdp�ZQdq�ZRdr�ZSejj
ejj
dddg�ejj
dseTe@j�e@j�j�dt�j�du���e@j�e@j�j�dt�j�du��eYe@j�e@j�j�dt�j�du���eZe@j�e@j�j�dt�j�dv��dwdxg�y�g�dz����Z[ejj
d{��Z\ejj
ejj
dseTe@j�e@j�j�dt�j�d|���eZe@j�e@j�j�dt�j�d}��dwdxg�y�g�d~���Z]ejj
d��Z^ejj
d���Z_ejj
d���Z`ejj
d���Zaejj
d���Zbejj
d�gd���d���Zcd��Zdd��Zed��Zfd��Zgd��Zhd��Zid��ZjejjMd��i�d���Zkejj
ddd�g�d���Zld��Zmd��Znejj
d�gd��gd��fgd��gd��fg�d���Zod��Zpejj
d�gd���ejj
dgd���d����Zqejj
d4erj�d�dtd����erj�d����erj�dt���gg�d���Zud��Zvejj
d���Zwy5)��TestSeriesPlots�kwargs�label�foo�	use_indexFc�0�t|jfi|��y�N�r�plot)�selfrr1s   r(�	test_plotzTestSeriesPlots.test_plot8s��	�"�'�'�,�V�,r'c�L�t|jd��}t|d��y)Nr)�rot��xrot)rr8r)r9r�axess   r(�test_plot_tick_propsz$TestSeriesPlots.test_plot_tick_props=s�� ����a�0���4�a�(r'zscale, exp_scale�logyT�yaxis�log�logx�xaxis�loglog)rErBc�L�t|jfddi|��}t|fi|��y)N�style�.)rr8r)r9r�scale�	exp_scale�axs     r(�test_plot_scalesz TestSeriesPlots.test_plot_scalesBs)���r�w�w�
;�c�
;�U�
;����)�y�)r'c�H�t|ddjj�y�Nr)rr8�bar�r9rs  r(�test_plot_ts_barz TestSeriesPlots.test_plot_ts_barOs���"�S�b�'�,�,�*�*�+r'c�F�t|jjd��y)NF��stacked)rr8�arearQs  r(�test_plot_ts_area_stackedz)TestSeriesPlots.test_plot_ts_area_stackedSs���"�'�'�,�,��6r'c�n�ttd�tdd���}t|j�y)N�rr)rr-r
rr8)r9�sers  r(�test_plot_iseriesz!TestSeriesPlots.test_plot_iseriesWs%���U�1�X�|�L�!�D�E���#�(�(�#r'�kind�linerP�barh�kde�scipy)�marks�hist�boxc�8�t|ddj|��y)NrY�r\r7)r9r+r\s   r(�test_plot_series_kindsz&TestSeriesPlots.test_plot_series_kinds[s��	�&��!�*�/�/��5r'c�H�t|ddjj�yrO)rr8r^�r9r+s  r(�test_plot_series_barhz%TestSeriesPlots.test_plot_series_barhis���&��"�+�*�*�/�/�0r'c���tttjj	d�jd��jjd��}t|jdgdg��y)N�r�black��colorr��
facecolors)
rrr#�random�default_rng�standard_normalr8rPr�patches)r9rLs  r(�test_plot_series_bar_axz'TestSeriesPlots.test_plot_series_bar_axlsU��
��2�9�9�(�(��+�;�;�B�?�@�E�E�I�I�QX�
��	�r�z�z�!�}�o�7�)�<r'�layout)����)rxrwc�P�t|jfddi|��}t|dd��y)N�subplotsTrx�rxrx)�axes_numrv)rr8r
)r9rr1rLs    r(�test_plot_6951zTestSeriesPlots.test_plot_6951rs(���r�w�w�
@��
@��
@���"�q��8r'c��tjj�\}}|jdd|��}t	|j
d�t
|ddd��y)N�Test)��)�title�figsizerLrxr{)r|rvr�)�mpl�pyplotrzr8rr�r
)r9r+�_rLs    r(�test_plot_figsize_and_titlez+TestSeriesPlots.test_plot_figsize_and_titlexsH���
�
�#�#�%���2�
�[�[�v�w�2�[�
>���2�8�8�V�,��"�q���Ir'c��d}tjj|}tjj�\}}t	gd��j|��|tjj|k(sJ�y)Nzaxes.prop_cycle�rxrk��rL)r�r��rcParamsrzrr8)r9�key�colorsr�rLs     r(�test_dont_modify_rcParamsz)TestSeriesPlots.test_dont_modify_rcParamssd�������$�$�S�)���
�
�#�#�%���2��y����"��%�����,�,�S�1�1�1�1r'�secondary_yc�4�tjj�\}}|jdd|i|��}|j	�\}}|j�}||dj
d��ddksJ�||dj
d��ddk\sJ�y)NrLrF��origrwr&)r�r�rzr8�get_xlim�	get_lines�get_data)r9rr1r�rL�xmin�xmax�liness        r(�test_ts_line_limz TestSeriesPlots.test_ts_line_lim�s����
�
�#�#�%���2�
�R�W�W�
%��
%�f�
%���[�[�]�
��d�������u�Q�x�(�(�e�(�4�Q�7��:�:�:�:��u�Q�x�(�(�e�(�4�Q�7��;�;�;�;r'c�4�tjj�\}}|jj	d|��}|j�\}}|j
�djd��d}||dksJ�||dk\sJ�t|d��y)NF)rUrLrr�rwr=�	r�r�rzr8rVr�r�r�r�r9rr�rLr�r�r]s       r(�test_ts_area_limz TestSeriesPlots.test_ts_area_lim�s����
�
�#�#�%���2�
�W�W�\�\�%�B�\�
/���[�[�]�
��d��|�|�~�a� �)�)�u�)�5�a�8���t�A�w�����t�B�x�����2�A�&r'c�6�tjj�\}}|jj	dd|��}|j�\}}|j
�djd��d}||dksJ�||dk\sJ�t|d��y)	NFT�rU�x_compatrLrr�rw�r=r�r�s       r(�test_ts_area_lim_xcompatz(TestSeriesPlots.test_ts_area_lim_xcompat�s����
�
�#�#�%���2�
�W�W�\�\�%�$�2�\�
>���[�[�]�
��d��|�|�~�a� �)�)�u�)�5�a�8���t�A�w�����t�B�x�����2�B�'r'c��|j�}|jd�jd�|_tj
j
�\}}|jjdd|��}|j�\}}|j�djd��d}||dksJ�||dk\sJ�t|d�	�y)
N�GMT�CETFTr�rr�rwr=�
�copy�tz_localize�
tz_convertr!r�r�rzr8rVr�r�r�r�r9r�tz_tsr�rLr�r�r]s        r(�test_ts_tz_area_lim_xcompatz+TestSeriesPlots.test_ts_tz_area_lim_xcompat�s������	���'�'��.�9�9�%�@����
�
�#�#�%���2�
�Z�Z�_�_�U�T�b�_�
A���[�[�]�
��d��|�|�~�a� �)�)�u�)�5�a�8���t�A�w�����t�B�x�����2�A�&r'c��|j�}|jd�jd�|_tj
j
�\}}|jjdd|��}|j�\}}|j�djd��d}||dksJ�||dk\sJ�t|d�	�y)
Nr�r�FT)rUr�rLrr�rwr=r�r�s        r(�'test_ts_tz_area_lim_xcompat_secondary_yz7TestSeriesPlots.test_ts_tz_area_lim_xcompat_secondary_y�s������	���'�'��.�9�9�%�@����
�
�#�#�%���2�
�Z�Z�_�_�U���_�
D���[�[�]�
��d��|�|�~�a� �)�)�u�)�5�a�8���t�A�w�����t�B�x�����2�A�&r'c�b�tjjddd��\}\}}t|�j	|d��t|�j	|d��t|�j
||�sJ�t|�j
||�sJ�tj|�y)NrxrkT)�shareyrV)rLr\)	r�r�rz�absr8r�joined�plt�close)r9r�fig�ax1�ax2s     r(�test_area_sharey_dont_overwritez/TestSeriesPlots.test_area_sharey_dont_overwrite�s����*�*�-�-�a��4�-�@���Z�c�3��B�����&��)��B�����&��)��#��%�%�c�3�/�/�/��#��%�%�c�3�/�/�/��	�	�#�r'c���tddg�}tjj�\}}|j	dd|��}t|dg��tjj
d�y)Nrxrk�LABELT)r2�legendrL��labels�all�rr�r�rzr8rr��r9�sr�rLs    r(�
test_labelzTestSeriesPlots.test_label�sW���A�q�6�N���
�
�#�#�%���2�
�V�V�'�$�2�V�
6���R��	�2��
�
����r'c���tddg�}tjj�\}}|j	d|��}t|dg��tjj
d�y)NrxrkT�r�rL�r�r�r�r�s    r(�test_label_nonezTestSeriesPlots.test_label_none�sU���A�q�6�N���
�
�#�#�%���2�
�V�V�4�B�V�
'���R���-��
�
����r'c���tddgd��}tjj�\}}|j	d|��}t|dg��tjj
d�y)	Nrxrk�NAME�r"Tr�r�r�r�r�s    r(�test_label_ser_namez#TestSeriesPlots.test_label_ser_name�sX���A�q�6��'���
�
�#�#�%���2�
�V�V�4�B�V�
'���R���1��
�
����r'c���tddgd��}tjj�\}}|j	dd|��}t|dg��tjj
d	�y)
Nrxrkr�r�Tr��r�r2rLr�r�r�r�s    r(�test_label_ser_name_overridez,TestSeriesPlots.test_label_ser_name_override�sZ���A�q�6��'���
�
�#�#�%���2�
�V�V�4�w�2�V�
6���R��	�2��
�
����r'c�*�tddgd��}tjj�\}}|j	dd|��}|j��J�|j
�t|dg��tjjd	�y)
Nrxrkr�r�Fr�r�r�r�)	rr�r�rzr8�
get_legendr�rr�r�s    r(�&test_label_ser_name_override_dont_drawz6TestSeriesPlots.test_label_ser_name_override_dont_draw�su���A�q�6��'���
�
�#�#�%���2�
�V�V�5��B�V�
7���}�}��&�&�&�
�	�	���R��	�2��
�
����r'c���tgd��}t|jd��d}tjt
|��5t|j�ddd�y#1swYyxYw)N)FFTT)�include_bool�no numeric data to plot��match)rrr8�pytest�raises�	TypeError)r9r��msgs   r(�test_booleanzTestSeriesPlots.test_boolean�sO���'�(���!�&�&�t�4�'��
�]�]�9�C�
0�	&��a�f�f�%�	&�	&�	&�s�A!�!A*r!Nr�rc���ddtjdg}t||��}t|j�}|j
dj
�}tjgd�tj��}tjtj|jd�|�tj|jtjgd���tjgd	�tj��}t|jd
��}tj|j
dj
�|�t|jj�}tj|j
dj
�|�t|jjd��}tj|j
dj
�|�y)
Nrxrkr��r!rr�r)FFTF)rxrkrr�TrTF)r#�nanrrr8r��	get_ydata�arrayr%�tm�assert_numpy_array_equal�delete�data�maskrV)r9r!�values�drL�masked�exp�expecteds        r(�test_line_area_nan_seriesz)TestSeriesPlots.test_line_area_nan_series�sB���Q�����"���6��'��
�q�v�v�
&�����!��&�&�(���h�h�y��
�
�3��
�#�#�B�I�I�f�k�k�1�$=�s�C�
�#�#�F�K�K����:U�1V�W��8�8�L��
�
�;��
�q�v�v�t�
4��
�#�#�B�H�H�Q�K�$9�$9�$;�X�F�
�q�v�v�{�{�
+��
�#�#�B�H�H�Q�K�$9�$9�$;�X�F�
�q�v�v�{�{�E�
:��
�#�#�B�H�H�Q�K�$9�$9�$;�X�Fr'c���tgd�gd���}d|j_tjj�\}}|j
d|��}|j�}|dk(sJ�y�Nr���a�b�cr�z	The IndexF�r4rLr�)rr!r"r�r�rzr8�
get_xlabel)r9r�r�rLr2s     r(�test_line_use_index_falsez)TestSeriesPlots.test_line_use_index_falsesX���9�O�4��"������
�
�#�#�%���2�
�V�V�e��V�
+���
�
�����{��{r'c���tgd�gd���}d|j_tjj�\}}|jjd|��}|j�}|dk(sJ�yr�)	rr!r"r�r�rzr8rPr�)r9r�r�rLr��label2s      r(�"test_line_use_index_false_diff_varz2TestSeriesPlots.test_line_use_index_false_diff_vars]���9�O�4��"������
�
�#�#�%���2��f�f�j�j�5�R�j�0�����!����|��|r'zWeird rounding problems)�reason�strictz
axis, meth)rBrP)rEr^c�"�tjgd��}tjj	�\}}tt
ddg�j|�d|��}tjt||�j�|�y)N)皙�����?��?�$@gY@g@�@g��@��i�T)rCrL)r#r�r�r�rz�getattrrr8r�r��get_ticklocs)r9�axis�methr�r�rLs      r(�test_bar_logzTestSeriesPlots.test_bar_logsm���8�8�;�<���
�
�#�#�%���2�
3�W�V�S�#�J�'�,�,�d�
3���
D��
�#�#�G�B��$5�$B�$B�$D�h�Or'zaxis, kind, res_meth)rBrP�get_ylim)rEr^r�c��tjgd��}tjj	�\}}tgd��j
d||��}d}d}t||��}	tj|	d|�tj|	d|�tjt||�j�|�y)	N)g�h㈵��>g-C��6?���MbP?�{�G�z�?r�r�r�)r�rrT)rCr\rLg!�,�NJ?gЄ�-?�?rrx)r#r�r�r�rzrr8rr��assert_almost_equalr�r)
r9rr\�res_methr�r�rL�ymin�ymax�ress
          r(�test_bar_log_kind_barz%TestSeriesPlots.test_bar_log_kind_bar$s����8�8�D�E���
�
�#�#�%���2�
�&�
'�
,�
,��D�R�
,�
H��$��"��#�g�b�(�#�%��
���s�1�v�t�,�
���s�1�v�t�,�
�#�#�G�B��$5�$B�$B�$D�h�Or'c���tgd�gd���}tjj�\}}|jjd|��}t
|j�gd��y)N�rxrkr�r��r�r�r�r�r�Fr�)�0�1�2�3)rr�r�rzr8rPr�get_xticklabels)r9�dfr�rLs    r(�test_bar_ignore_indexz%TestSeriesPlots.test_bar_ignore_index:sO��
�L�(<�
=���
�
�#�#�%���2�
�W�W�[�[�5�R�[�
0���2�-�-�/�1E�Fr'c���tgd��}|jjgd���}|jD�cgc]}|j	���}}gd�}||k(sJ�ycc}w)Nr)�red�bluerrrm)�r��rr��rrr�r�rr)rr8rPrt�
get_facecolor)r9r�rL�p�resultr�s      r(�test_bar_user_colorsz$TestSeriesPlots.test_bar_user_colors@s[���<� ��
�V�V�Z�Z�<�Z�
=��-/�Z�Z�8��!�/�/�#�8��8�
����!�!�!��9s�Ac���ttjjd�j	d��}t
jj�\}}|j|��}t|d��y)Nrk�rYrYr�rr=�
rr#rqrrrsr�r�rzr8r�r9rr�rLr?s     r(�test_rotation_defaultz%TestSeriesPlots.test_rotation_defaultLsU��
�r�y�y�,�,�Q�/�?�?��G�
H���
�
�#�#�%���2��w�w�"�w�~���4�a�(r'c���ttjjd�j	d��}t
jj�\}}|jd|��}t|d��y)Nrkr$r�)r<rLr=r%r&s     r(�test_rotation_30z TestSeriesPlots.test_rotation_30SsX��
�r�y�y�,�,�Q�/�?�?��G�
H���
�
�#�#�%���2��w�w�2�"�w�%���4�b�)r'c���ddlm}tdd�}|gd�}ttj
j
d�jt|��|�}tjj�\}}|j|��}|jtdd	d	�d
|�}|jdd�||j!�dk(sJ�t#|d
��y)Nr)�DatetimeConverter�1/1/2000z3/1/2000)	rrxrkr�rY�	r��rkr�i�rxr�z1/1/1999�1/1/2001r�r=)�%pandas.plotting._matplotlib.converterr+r	rr#rqrrrs�lenr�r�rzr8�convertr�set_xlimr�r)r9r+�rngrZr�rL�xps       r(�test_irregular_datetimez'TestSeriesPlots.test_irregular_datetimeYs���K���Z�0���0�1���R�Y�Y�*�*�1�-�=�=�c�#�h�G��M���
�
�#�#�%���2�
�X�X��X�_��
�
&�
&�x��a��';�R��
D��
���J�
�+��R�[�[�]�1�%�%�%�%��2�B�'r'c
���tddtjddddgddddtjddg��}tjj�\}}|j
|�	�}|j�\}}|j�}|tj|d
jd��d
�ksJ�|tj|d
jd��d
�k\sJ�y)
Nrr�g@g@g@g@g@r�r�rFr�)rr#r�r�r�rzr8r�r��nanminr��nanmax)r9rZr�rLr�r�r�s       r(�test_unsorted_index_xlimz(TestSeriesPlots.test_unsorted_index_xlimfs����
�#�r�v�v�s�C��c�2���S�#�r�v�v�s�C�8�
���
�
�#�#�%���2�
�X�X��X�_���[�[�]�
��d�������r�y�y��q��!2�!2��!2�!>�q�!A�B�B�B�B��r�y�y��q��!2�!2��!2�!>�q�!A�B�B�B�Br'c�&�ttjjd�j	dd�gd�d��}t|jj�}t|j|j�|j�dk(sJ�y)NrkrxrY�r�r�r�r��e�YLABELr )rr#rqrr�integersrr8�pier�textsr!�
get_ylabel�r9r+rLs   r(�test_pie_serieszTestSeriesPlots.test_pie_seriesrsm����I�I�!�!�!�$�-�-�a��3�+��
��
�v�{�{���
/���2�8�8�V�\�\�2��}�}��(�*�*�*r'c���ttjjd�j	dd�gd�d��}t|jjd��}t|jdgdz�y)	NrkrxrYr=r?r r�r�)
rr#rqrrr@rr8rArrBrDs   r(�test_pie_series_no_labelz(TestSeriesPlots.test_pie_series_no_label~s[����I�I�!�!�!�$�-�-�a��3�+��
��
�v�{�{���t�
<���2�8�8�b�T�A�X�.r'c��ttjjd�j	dd�gd�d��}gd�}t|jj|��}gd	�}t|j|�
�y)NrkrxrYr=r?r )�r�gr��r�)rIrJr�rIrJro)
rr#rqrrr@rr8rArrt)r9r+�
color_argsrL�color_expecteds     r(�)test_pie_series_less_colors_than_elementsz9TestSeriesPlots.test_pie_series_less_colors_than_elements�s_����I�I�!�!�!�$�-�-�a��3�+��
��
%�
�
�v�{�{���z�
B��2���b�j�j�^�<r'c�,�ttjjd�j	dd�gd�d��}gd�}gd�}t|jj||�	�}t|j|�t|j|�
�y)NrkrxrYr=r?r )�A�B�C�D�E�rIrJr�r��m)r�r�ro)rr#rqrrr@rr8rArrBrrt)r9r+r�rLrLs     r(�!test_pie_series_labels_and_colorsz1TestSeriesPlots.test_pie_series_labels_and_colors�so����I�I�!�!�!�$�-�-�a��3�+��
��+��.�
�
�v�{�{���v�j�
Q���2�8�8�V�,��b�j�j�Z�8r'c��ttjjd�j	dd�gd�d��}gd�}t|jj|dd	�
�}|j|j�zD�cgc]	}|dzd���}}ttjt|j|���}t|j |�|j D]}|j#�d	k(r�J�ycc}w)
NrkrxrYr=r?r rUz%.2f�)r��autopct�fontsize�dz.2f)rr#rqrrr@rr8rAr��sum�listr�
from_iterable�zipr!rrB�get_fontsize)r9r+rLrLr��pcts�expected_texts�ts        r(�$test_pie_series_autopct_and_fontsizez4TestSeriesPlots.test_pie_series_autopct_and_fontsize�s�����I�I�!�!�!�$�-�-�a��3�+��
��
/�
�
��K�K�O�O�J���
��)/�
�
��
�
��(D�E�1�1�S�5��+��E��E��e�1�1�#�f�l�l�D�2I�J�K���2�8�8�^�4����	)�A��>�>�#�q�(�(�(�	)��Fs�Dc��tgd�gd���}tjtd��5|jj�ddd�y#1swYyxYw)N)rxrkrr�rwr=r�z&pie plot doesn't allow negative valuesr�)rr�r��
ValueErrorr8rArhs  r(�test_pie_series_negative_raisesz/TestSeriesPlots.test_pie_series_negative_raises�sB���(�0I�J��
�]�]�:�-U�
V�	��K�K�O�O��	�	�	�s�A�Ac��tddtjdggd�d��}t|jj
�}t
|jgd��y)Nrxrkr�rr?r )r�r�r�r�)rr#r�rr8rArrBrDs   r(�test_pie_series_nanz#TestSeriesPlots.test_pie_series_nan�s?����A�r�v�v�q�)�1E�H�U��
�v�{�{���
/���2�8�8�%8�9r'c�(�tdtjddg�}tjj�\}}|jjd|��}gd�}|jD�cgc]}|j���}}||k(sJ�ycc}w)NrxTr�)rr�rr)
rr#r�r�r�rzr8rArB�get_text)r9r�r�rLr��xr!s       r(�test_pie_nanzTestSeriesPlots.test_pie_nan�sz���A�r�v�v�q�!�$�%���
�
�#�#�%���2�
�V�V�Z�Z�t��Z�
+��&��(*���1�1�!�*�*�,�1��1���!�!�!��2s�.Bc�:�ttjjd�j	d�td���}t
tjjd�j	d�d��}tjj�\}}|j|��}|jd	d	|�
�t|gd���|j�j�sJ�|jj�j�sJ�y)
Nrk�r�r��abc��columnsr�rmr�r�T�r�r�rL�r�r�r��	x (right)r��rr#rqrrrsr^rr�r�rzr8r�	get_yaxis�get_visible�right_ax�r9rr�r�rLs     r(�test_df_series_secondary_legendz/TestSeriesPlots.test_df_series_secondary_legend�s���
��I�I�!�!�!�$�4�4�W�=�t�E�{�
��
�2�9�9�(�(��+�;�;�B�?�c�J���
�
�#�#�%���2�
�W�W��W�^��	���d����4�	�R�(D�E��|�|�~�)�)�+�+�+��{�{�$�$�&�2�2�4�4�4r'c�:�ttjjd�j	d�td���}t
tjjd�j	d�d��}tjj�\}}|j|��}|j|d	d	�
�t|gd���|j�j�sJ�|jj�j�sJ�y)
Nrkrprqrrr�rmr�r�T�rLr�r�rur�rwr{s     r(�)test_df_series_secondary_legend_with_axesz9TestSeriesPlots.test_df_series_secondary_legend_with_axes�s���
��I�I�!�!�!�$�4�4�W�=�t�E�{�
��
�2�9�9�(�(��+�;�;�B�?�c�J���
�
�#�#�%���2�
�W�W��W�^��	���"�T�t��4�	�R�(D�E��|�|�~�)�)�+�+�+��{�{�$�$�&�2�2�4�4�4r'c�T�ttjjd�j	d�td���}t
tjjd�j	d�d��}tjj�\}}|jd|�	�}|jdd|�
�gd�}t|j|��|jj�j�rJ�|j�j�sJ�y)
Nrkrprqrrr�rmr�T�r�rLrt�z	a (right)z	b (right)z	c (right)rvr��rr#rqrrrsr^rr�r�rzr8r�left_axrxry�r9rr�r�rLr�s      r(�$test_df_series_secondary_legend_bothz4TestSeriesPlots.test_df_series_secondary_legend_both�s���
��I�I�!�!�!�$�4�4�W�=�t�E�{�
��
�2�9�9�(�(��+�;�;�B�?�c�J���
�
�#�#�%���2�
�W�W��"�W�
-��	���d����4�H���R�Z�Z��9��:�:�'�'�)�5�5�7�7�7��|�|�~�)�)�+�+�+r'c�R�ttjjd�j	d�td���}t
tjjd�j	d�d��}tjj�\}}|jd|�	�}|j|dd�
�gd�}t|j|�|jj�j�rJ�|j�j�sJ�y)Nrkrprqrrr�rmr�Tr�r~r�r�r�s      r(�.test_df_series_secondary_legend_both_with_axisz>TestSeriesPlots.test_df_series_secondary_legend_both_with_axis�s���
��I�I�!�!�!�$�4�4�W�=�t�E�{�
��
�2�9�9�(�(��+�;�;�B�?�c�J���
�
�#�#�%���2�
�W�W��"�W�
-��	���"�T�t��4�H���R�Z�Z��2��:�:�'�'�)�5�5�7�7�7��|�|�~�)�)�+�+�+r'c�T�ttjjd�j	d�td���}t
tjjd�j	d�d��}tjj�\}}|jdd	|�
�}|j|dd��gd�}t|j|�|jj�j�rJ�|j�j�sJ�y)
Nrkrprqrrr�rmr�TF)r��
mark_rightrLr~rur�r�s      r(�0test_df_series_secondary_legend_both_with_axis_2z@TestSeriesPlots.test_df_series_secondary_legend_both_with_axis_2s���
��I�I�!�!�!�$�4�4�W�=�t�E�{�
��
�2�9�9�(�(��+�;�;�B�?�c�J���
�
�#�#�%���2�
�W�W��%�B�W�
?��	���"�T�t��4�0���R�Z�Z��2��:�:�'�'�)�5�5�7�7�7��|�|�~�)�)�+�+�+r'zinput_logy, expected_scale)TrC)�sym�symlogc�~�ttjjd�j	d��}ttjjd�j	d��}|j|��}|jd|��}|j
�|k(sJ�|j
�|k(sJ�y)Nrkr\)rAT)r�rA)rr#rqrrrsr8�
get_yscale)r9�
input_logy�expected_scale�s1�s2r�r�s       r(�test_secondary_logyz#TestSeriesPlots.test_secondary_logys���
�B�I�I�)�)�!�,�<�<�S�A�
B��
�B�I�I�)�)�!�,�<�<�S�A�
B���g�g�:�g�&���g�g�$�Z�g�8���~�~��>�1�1�1��~�~��>�1�1�1r'c�@�ttjjd�j	d��}t
jj�\}}d}tjt|��5|jdd|��ddd�y#1swYyxYw)Nrkz�Cannot pass 'style' string with a color symbol and 'color' keyword argument. Please use one or the other or pass 'style' without a color symbolr�zk--�k)rHrnrL)rr#rqrrrsr�r�rzr�r�rgr8)r9rmr�rLr�s     r(�)test_plot_fails_with_dupe_color_and_stylez9TestSeriesPlots.test_plot_fails_with_dupe_color_and_style's}���2�9�9�(�(��+�;�;�A�>�?���
�
�#�#�%���2�
�	�
�]�]�:�S�
1�	2�
�F�F��c�b�F�1�	2�	2�	2�s�6B�Bzbw_method, ind�scottr*��?���r\c�r�tjd�t|jj||��y)Nr`��	bw_method�ind)r��importorskiprr8r_)r9rr�r�s    r(�test_kde_kwargszTestSeriesPlots.test_kde_kwargs2s&��	���G�$��"�'�'�+�+���Dr'c��tjd�tjddd�}t	|j
jd|��y)Nr`r�r\r*r�r�)r�r�r#�linspacerr8�density)r9r�
sample_pointss   r(�test_density_kwargsz#TestSeriesPlots.test_density_kwargs?s6�����G�$����D�#�r�2�
��"�'�'�/�/�S�m�Lr'c�>�tjd�tjj	�\}}tjddd�}|jjdd||��}t|d�	�t|jj�d
�y)Nr`r�r\r*Tr�)rAr�r�rLrC�rB�Density)
r�r�r�r�rzr#r�r8r_rrrB�	get_label)r9rr�rLr�s     r(�test_kde_kwargs_check_axesz*TestSeriesPlots.test_kde_kwargs_check_axesDss�����G�$��
�
�#�#�%���2����D�#�r�2�
�
�W�W�[�[�d�c�}��[�
L����5�)��2�8�8�-�-�/��;r'c�z�tjd�ttjjd�j
d���}tj|d<t|jj�}ttj|jdj���sJ�y)Nr`rk�2)�sizer)r�r�rr#rqrr�uniformr�rr8r_�any�isnanr��	get_xdata)r9r�r?s   r(�test_kde_missing_valsz%TestSeriesPlots.test_kde_missing_valsLs������G�$��2�9�9�(�(��+�3�3��3�<�=���v�v��!�� ������,���B�H�H�T�Z�Z��]�4�4�6�7�7�8�8�8r'zApi changed in 3.6.0)r�c�:�tjj�\}}|jj	d|��}t|d��|j
�}t||jg�|j�}t|dgt|�z�y)NT)rArLrCr�r�)r�r�rzr8rcrrrr"�get_yticklabelsr2)r9rr�rL�xlabels�ylabelss      r(�test_boxplot_seriesz#TestSeriesPlots.test_boxplot_seriesUsy���
�
�#�#�%���2�
�W�W�[�[�d�r�[�
*����5�)��$�$�&���7�R�W�W�I�.��$�$�&���7�R�D�3�w�<�$7�8r'c��tjd�ttd��}tj
j
�\}}|j||��tj
j�y)Nr`r��r\rL)	r�r�rr-r�r�rzr8r��r9r\r�r�rLs     r(�test_kind_kwargzTestSeriesPlots.test_kind_kwarg_sV��
	���G�$��5��8����
�
�#�#�%���2�	���D�R�� ��
�
���r'c�
�tjd�ttd��}tj
j
�\}}t|j|��tj
j�y)Nr`r�)
r�r�rr-r�r�rzrr8r�r�s     r(�test_kind_attrzTestSeriesPlots.test_kind_attrjsY��
	���G�$��5��8����
�
�#�#�%���2����������
�
���r'c��ttd��}tjj	�\}}d}tjt|��5|j||��ddd�y#1swYyxYw)N�abcdr�r�r�)	rr^r�r�rzr�r�r�r8�r9r\r�r�rLr�s      r(�test_invalid_plot_dataz&TestSeriesPlots.test_invalid_plot_dataus^���4��<� ���
�
�#�#�%���2�'��
�]�]�9�C�
0�	%�
�F�F���F�$�	%�	%�	%�s�A0�0A9c��tjd�ttd�t��}t|j|��y)Nr`rrre)r�r�rr-�objectrr8)r9r\r�s   r(�test_valid_object_plotz&TestSeriesPlots.test_valid_object_plot}s.�����G�$��5��9�F�+���!�&�&�t�,r'c���tgd��}tjj�\}}d}t	j
t|��5|j||��ddd�y#1swYyxYw)N)r�r�r�rkr�r�r�)rr�r�rzr�r�r�r8r�s      r(� test_partially_invalid_plot_dataz0TestSeriesPlots.test_partially_invalid_plot_data�s[���%�&���
�
�#�#�%���2�'��
�]�]�9�C�
0�	%�
�F�F���F�$�	%�	%�	%�s�A)�)A2c��tddg�}tjtd��5|j	d��ddd�y#1swYyxYw)Nrxrkz%invalid_kind is not a valid plot kindr��invalid_kindre)rr�r�rgr8�r9r�s  r(�test_invalid_kindz!TestSeriesPlots.test_invalid_kind�sA���A�q�6�N��
�]�]�:�-T�
U�	(�
�F�F��F�'�	(�	(�	(�s�A�Ac��tdd��}tdd��}|j|�}tjj	d�j|j�}t||��}t|j�y)Nz1/1/2009r�rz1/2/2009rkr�)
r	�appendr#rqrrrsr�rrr8)r9�dr1�dr2r!r�r�s      r(�test_dup_datetime_index_plotz,TestSeriesPlots.test_dup_datetime_index_plot�sb����Q�/����Q�/���
�
�3������&�&�q�)�9�9�%�*�*�E���6��'���!�&�&�!r'c��ttjd�d��}tjj	d�jd�}|j||��}tj|jdj�D�cgc]}|jdd�df��c}�}|jtjddg�z|j�jdd�z}tj||�d	t!|��d
�}t#j$t&|��5|jtjj	d�jd��
�ddd�ycc}w#1swYyxYw)Nrrmr�rk)rkr)�yerr�xerrrxrwz?Asymmetrical error bars should be provided with the shape \(2, z\)r�)rkr.�r�)rr#r$rqrrr8�vstack�collections�	get_paths�vertices�Tr��to_numpy�reshaper�r�r2r�r�rg)r9r��errrLr.r!r�r�s        r(�test_errorbar_asymmetricalz*TestSeriesPlots.test_errorbar_asymmetrical�s9���2�9�9�R�=�s�+���i�i�#�#�A�&�-�-�g�6��
�V�V��3�V�
'�����b�n�n�Q�6G�6Q�6Q�6S�T��A�J�J�q�!�t�,�T�U���E�E�B�H�H�b�!�W�-�-�����1E�1E�b�!�1L�L��
�#�#�F�H�5�
$�$'��F�8�3�
0�	��]�]�:�S�
1�	B�
�F�F��	�	�-�-�a�0�7�7��@�F�A�	B�	B��U�	B�	B�s�E>�6?F�Fr�rkr)rrkrm�yrrc��ttjd�d��}t|j||��}t|dd��y)Nrrmr�)r�r\rrx�r�r�)rr#r$rr8r)r9r\r�r�rLs     r(�test_errorbar_plotz"TestSeriesPlots.test_errorbar_plot�s6��
�2�9�9�R�=�s�+��
�q�v�v�D�t�
<���R�a�a�0r'c��ttjd�d��}tjtjjd�j
d��}t|j|��}t|dd��y)	Nrrmr�rk)r�rxrr�)
rr#r$r�rqrrrsrr8r)r9r��s_errrLs    r(�test_errorbar_plot_yerr_0z)TestSeriesPlots.test_errorbar_plot_yerr_0�sZ���2�9�9�R�=�s�+�����r�y�y�,�,�Q�/�?�?��C�D��
�q�v�v�E�
2���R�a�a�0r'r/)r/rkc��tddd��}ttjd�|d��}||_t|j|��}t|d	d
��y)Nr,r0�ME)�freqr/rmr r�rrxr�)r	rr#r$r!rr8r)r9r��ixrrLs     r(�test_errorbar_plot_tsz%TestSeriesPlots.test_errorbar_plot_ts�sK���
�J�T�
:��
�B�I�I�b�M��#�
6����
�
�r�w�w�T�
2���R�a�a�0r'c���ttjd�d��}tjt
�5|j
tjd���ddd�y#1swYyxYw)Nrrmr�r.r�)rr#r$r��external_error_raisedrgr8r�s  r(�%test_errorbar_plot_invalid_yerr_shapez5TestSeriesPlots.test_errorbar_plot_invalid_yerr_shape�sO���2�9�9�R�=�s�+��
�
%�
%�j�
1�	'�
�F�F��	�	�"�
�F�&�	'�	'�	'�s�&A)�)A2c���ttjd�d��}dgdz}tjt
�5|j
|��ddd�y#1swYyxYw)Nrrmr��zzzr�)rr#r$r�r�r�r8)r9r�r�s   r(�test_errorbar_plot_invalid_yerrz/TestSeriesPlots.test_errorbar_plot_invalid_yerr�sR���2�9�9�R�=�s�+����"���
�
%�
%�i�
0�	�
�F�F��F��	�	�	�s�A�A%c�2�t|jd��y)NT��tabler7rhs  r(�test_table_truezTestSeriesPlots.test_table_true�s���&�+�+�T�2r'c�2�t|j|��y)Nr�r7rhs  r(�test_table_selfzTestSeriesPlots.test_table_self�s���&�+�+�V�4r'c���tjd�ttgd��tj
jtj
jz�y)Nr`r�)r�r�rrr�PlotAccessor�
_series_kinds�
_common_kinds)r9s r(�test_series_grid_settingsz)TestSeriesPlots.test_series_grid_settings�sB��	���G�$���9���!�!�/�/�(�2G�2G�2U�2U�U�	
r'r�)rIr�greenz#FF0000c��ddlm}|d|��}||gk(sJ�|d|g��}||gk(sJ�|d|��}||gdzk(sJ�|d|g��}||gdzk(sJ�y)Nr��get_standard_colorsrxrmr�)�!pandas.plotting._matplotlib.styler�)r9r�r�r!s    r(�test_standard_colorsz$TestSeriesPlots.test_standard_colors�s}��I�$�Q�a�0���!��}��}�$�Q�q�c�2���!��}��}�$�Q�a�0���!��q�� � � �$�Q�q�c�2���!��q�� � � r'c��ddlm}ddlm}|jD]R}|d|��}||gk(sJ�|d|g��}||gk(sJ�|d|��}||gdzk(sJ�|d|g��}||gdzk(r�RJ�|j
jD]R}|d|��}||gk(sJ�|d|g��}||gk(sJ�|d|��}||gdzk(sJ�|d|g��}||gdzk(r�RJ�y)NrrKr�rx)�
num_colorsrnr�)rr�r�r��cnames�ColorConverter)r9r�r�r�r!s     r(�test_standard_colors_allz(TestSeriesPlots.test_standard_colors_alls*��%�I����	%�A�(�A�Q�?�F��a�S�=� �=�(�A�a�S�A�F��a�S�=� �=�(�A�Q�?�F��a�S�1�W�$�$�$�(�A�a�S�A�F��a�S�1�W�$�$�$�	%��&�&�-�-�	%�A�(�A�Q�?�F��a�S�=� �=�(�A�a�S�A�F��a�S�=� �=�(�A�Q�?�F��a�S�1�W�$�$�$�(�A�a�S�A�F��a�S�1�W�$�$�$�	%r'c���tjj�\}}tt	j
d�dz�j
d|��}t|j�dg��y)Nr/rxr��rnrL��
linecolors)	r�r�rzrr#r$r8rr��r9r�rLs   r(�test_series_plot_color_kwargsz-TestSeriesPlots.test_series_plot_color_kwargs(sQ���
�
�#�#�%���2�
�B�I�I�b�M�A�%�
&�
+�
+�'�b�
+�
A���b�l�l�n�'��;r'c��tjj�\}}tt	j
d�dzt
dd����jd|��}t|j�dg��y)	Nr/rxr,rr�r�rr)
r�r�rzrr#r$r	r8rr�r	s   r(�"test_time_series_plot_color_kwargsz2TestSeriesPlots.test_time_series_plot_color_kwargs.sb���
�
�#�#�%���2�
�B�I�I�b�M�A�%�Z�
�B�-O�
P�
U�
U��b�V�
��	�b�l�l�n�'��;r'c�P�ddl}t|j�}tdd��}t	tjdd�|��}d}|jj�\}}t|�D]}|j|�	�}�t|j�|d|�
�y)Nrr,r/rrx�
r�r�r�r)
rrr�r	rr#r$r�rzr-r8rr�)	r9r��
def_colorsr!r��ncolorsr�rLr.s	         r(�-test_time_series_plot_color_with_empty_kwargsz=TestSeriesPlots.test_time_series_plot_color_with_empty_kwargs6s��� �#�C�L�L�1�
��:�r�2���2�9�9�Q��#�5�1�����
�
�#�#�%���2��w��	�A����2���B�	��b�l�l�n��H�W�1E�Fr'c	�T�ttjd�td�D�cgc]}d|d����
c}��}tj
j
�\}}|jgd�|��}dD�cgc]}d|d����
}}t|j�|�ycc}wcc}w)Nr�P�02dr�)rr�rYr-)�xticksrL)
rr#r$r-r�r�rzr8rr)r9r.r�r�rLr�s      r(�test_xticklabelsz TestSeriesPlots.test_xticklabelsDs����2�9�9�R�=�e�B�i�(H��1�Q�s�G��(H�I���
�
�#�#�%���2�
�V�V�<�B�V�
/��$0�1�q��1�S�'�{�1��1��2�-�-�/��5��	)I��2s�
B 
�6
B%c	�X�ttd�td�D�cgc]}d|d����
c}��}|jjtddd���}t	j
t
tddd���}tj||j��ycc}w)	Nrrrr�rr.rk)r)
rr-r8rPr#r�r^r�r��
get_xticks)r9r.r�rLr�s     r(�test_xtick_barPlotz"TestSeriesPlots.test_xtick_barPlotLs|���5��9�%��)�$D�Q�q��3��[�$D�E��
�V�V�Z�Z�u�Q��A��Z�
/���h�h�t�E�!�R��O�,�-��
�#�#�C�����9��%Es�
B'
c
��ddlm}ttdd�t	j
dd|dg���	��
�}t
|j�y)Nr)�CustomBusinessDayr\�yz
2014-05-01z
2014-06-01z
2014-05-26)�holidays)�start�endr�r�)�pandas.tseries.offsetsrrr-�pd�bdate_rangerr8)r9rr�s   r(�test_custom_business_day_freqz-TestSeriesPlots.test_custom_business_day_freqSsB��<���#�s�O��.�.�"� �&���?��
��	�!�&�&�!r'ziGH#24426, see also github.com/pandas-dev/pandas/commit/ef1bd69fa42bbed5d09dd17f08c44fc8bfc2b685#r61470674c��tgd��}tjj�\}}|j	|��}|j
j
�}|jddgd��tjj�\}}|j
j
�}tj||�y)Nrr�rrxT)�inplace)
rr�r�rzr8rEr�dropr�r�)r9rZr�rL�before�afters      r(�%test_plot_accessor_updates_on_inplacez5TestSeriesPlots.test_plot_accessor_updates_on_inplacebs����\�"���
�
�#�#�%���2�
�X�X��X�_�����&�&�(�����!�Q����&��
�
�#�#�%���2����%�%�'��
�#�#�F�E�2r'rVc���tddg�}tjj�\}}|j	||��|j�}|ddksJ�|ddkDsJ�y)Nrkr�r�rrx)rr�r�rzr8r�)r9r\r�r�rL�xlimss      r(�test_plot_xlim_for_seriesz)TestSeriesPlots.test_plot_xlim_for_seriesrsb��
�A�q�6�N���
�
�#�#�%���2�	���D�R�� ����
���Q�x�!�|��|��Q�x�!�|��|r'c�:�tt��}|jsJ�|j�}t	|j��dk(sJ�|j�d}t	|j
��dk(sJ�t	|j��dk(sJ�y)Nrrxr)r�int�emptyr8r2r�r�r�)r9rrLr]s    r(�test_plot_no_rowsz!TestSeriesPlots.test_plot_no_rows~s��
�#�
���x�x��x�
�W�W�Y���2�<�<�>�"�a�'�'�'��|�|�~�a� ���4�>�>�#�$��)�)�)��4�>�>�#�$��)�)�)r'c��tgd��}tjtd��5|j	�ddd�y#1swYyxYw)Nr�r�r�)rr�r�r�r8)r9rs  r(�test_plot_no_numeric_dataz)TestSeriesPlots.test_plot_no_numeric_data�s9��
�O�
$��
�]�]�9�,E�
F�	��G�G�I�	�	�	�s�A�Azdata, indexr)r�rkrxr)rr�r*r�)ivi�i�i�c���t||��}|jd��}|j�}t|jd���D�cgc]}|j�j��}}||k(sJ�ycc}w)N)r�r!rPrec�6�|j�jSr6)�get_bboxr�)�patchs r(�<lambda>z1TestSeriesPlots.test_plot_order.<locals>.<lambda>�s��e�n�n�>N�>S�>S�r')r�)rr8�tolist�sortedrtr5r)r9r�r!rZrLr�r6r!s        r(�test_plot_orderzTestSeriesPlots.test_plot_order�sx���$�e�,��
�X�X�5�X�
!���:�:�<�� ��
�
�0S�T�
��
�N�N��!�!�
��
��6�!�!�!��	
s�
!A5c��tddg�}|jdd��}|jdj�dk(sJ�y)Nrxrkr��C3)rHrnr)rr8r��	get_color)r9r�rLs   r(�test_style_single_okz$TestSeriesPlots.test_style_single_ok�s@���A�q�6�N��
�V�V�#�T�V�
*���x�x��{�$�$�&�$�.�.�.r'z index_name, old_label, new_label))Nr��new)�oldr@r?)Nr�r�)r]rVrPr^rbc���tgd��}||j_|j|��}|dk(r*|j	�dk(sJ�|j�|k(s[J�|dk(r*|j	�dk(sJ�|j�dk(s,J�|j�dk(sJ�|j	�|k(sJ�|j|||��}|j�|k(sJ�|j	�|k(sJ�y)Nrrer^r�rb�	Frequency)r\�ylabel�xlabel)rr!r"r8r�rC)r9r\�
index_name�	old_label�	new_labelrZrLs       r(�test_xlabel_ylabel_seriesz)TestSeriesPlots.test_xlabel_ylabel_series�s����\�"��#��	�	���X�X�4�X�
 ���6�>��=�=�?�b�(�(�(��=�=�?�i�/�/�/�
�V�^��=�=�?�b�(�(�(��=�=�?�k�1�1�1��=�=�?�b�(�(�(��=�=�?�i�/�/�/��X�X�4�	�)�X�
D���}�}��)�+�+�+��}�}��)�+�+�+r'rrS)rrr�rx)�daysc�p�d}tddg|��j|��}|j�dk(sJ�y)N)r�rxrxrkr�)�xlim)rr8r�)r9r!r+rLs    r(�test_timedelta_indexz$TestSeriesPlots.test_timedelta_index�s;����
�Q��F�%�
(�
-�
-�E�
-�
;���{�{�}��&�&�&r'c���tgd��}|jd��}ttjj
�dd}t
|j�|��y)Nr�rmrxr)rr8rr�r�r�rr�)r9r+rLr�s    r(�test_series_none_colorz&TestSeriesPlots.test_series_none_color�sG���	�"��
�[�[�t�[�
$��!�#�*�*�"5�"5�6�r��:���b�l�l�n��:r'c�x�tjd�5|j�}ddd�y#1swYyxYw)NF)r��assert_produces_warningr8)r9rr�s   r(�test_plot_no_warningz$TestSeriesPlots.test_plot_no_warning�s2���
'�
'��
.�	����	�A�	�	�	�s�0�9)x�__name__�
__module__�__qualname__r��mark�slow�parametrizer:r@rMrRrWr[�param�td�
skip_if_norfrirur}r�r�r�r�r�r�r�r�r�r�r�r�r�r�r	r�r�r��xfailrrrrrr"r'r)r7r;rErGrNrWrerhrjrnr|rr�r�r�r�r�r#�int_r�r�r�r�r�r�rr�r�r�r�r�r�r�r�r�r�r�rr�rqrrrsr^rr�r�r�r�r�r�r�r�r�rr
rrrrr#r)r,r0r2r:r>rHr!�timedelta_range�	TimedeltarLrNrQr&r'r(r0r07s�	���[�[����[�[���X��%�(8�;��:N�'O�P�-�Q��-��[�[���)��)��[�[����[�[�����d�^�g�u�-�.��d�^�g�u�-�.���
���?�@�	
��*���*��[�[���,��,��[�[���7��7�$��[�[��������F�L�L��m�b�m�m�G�&<�=���
	
�
�6�
�6�1�=��[�[���X��X�w�,?�(�G�AT�'U�V�9�W�9�
J�2��[�[���X��]�D�,A�'B�C�<�D�<�'�(�	'�	'�	� � � � � �&��[�[���W�t�Z��a�-P�&Q�R�G�S�G�$���[�[����2�0�2�(����
�[�[���\�,<�>O�+P�Q�P�R��P��[�[����2�0�2�(����
�[�[����	%�'D�E��P�	��P�G�
"�)�*�(�
C�
+�/�
=�9�)� �:�"�5�"5� ,�",�",�"�[�[���$�}�6G�&H��
2��
2�	2��[�[����
�b�M�
�2�J�
�7�2�7�7�2�;��
�+�"�+�+�d�C��,�-�		
��E��E�M�
<�9��[�[���4��5�9�6�9��[�[�������+�+�h�.C�.C�.Q�.Q�Q���	���[�[�������+�+�h�.C�.C�.Q�.Q�Q���	���[�[���V�X�%:�%:�%H�%H�I�%�J�%��[�[���V�X�%:�%:�%H�%H�I�-�J�-�
�[�[���V�X�%:�%:�%H�%H�I�%�J�%�(�
"�B�$�[�[����[�[���V�f�e�_�5��[�[�����6�2�6�6�"�)�)�/�/��2�B�B�2�F�G�H��B�F�F�2�9�9�(�(��+�;�;�B�?�@�������	�	�-�-�a�0�@�@��D�E�F������r�y�y�,�,�Q�/�?�?��H�I��c�
�
�		
��1��6��1�
�[�[���1��1��[�[����[�[�����6�2�6�6�"�)�)�/�/��2�B�B�2�F�G�H������r�y�y�,�,�Q�/�?�?��H�I��c�
�
�	
�	�1�	��1��[�[���'��'��[�[�������[�[���3��3��[�[���5��5��[�[���
��
��[�[���S�"B�C�
!�D�
!�%�B<�<�G�6�:�
"��[�[���=���
	3��
	3��[�[���V�f�f�%5�6�	�7�	�*��
�[�[����
�<�(�
�7�8�	
��
"��
"�/�
�[�[���*�B���[�[���V�%L�M�,�N�	�
,�,�[�[�����B���Q���<�
�R�\�\�q�
!�<�2�<�<�Q�#7�8�	
��'��'�;��[�[�����r'r0),�__doc__r�	itertoolsr�numpyr#r��
pandas.compatr�pandas.compat.numpyr�pandas.util._test_decorators�util�_test_decoratorsrY�pandasr!rrr	r
r�pandas._testing�_testingr��pandas.tests.plotting.commonrr
rrrrrrrrrr�r�r��fixturerr+r0r&r'r(�<module>rls���"����
�+�2�)�)����������f���,�'���f���-�.��������������b�br'

Youez - 2016 - github.com/yon3zu
LinuXploit