3
®ybx  ã               @   sJ   d dl Z d dljjZd dlmZ d dlmZm	Z	 ej
G dd„ deƒƒZdS )é    N)Ú	DataFrame)ÚTestPlotBaseÚ_check_plot_worksc               @   s   e Zd Zdd„ ZdS )Ú
TestCommonc              C   sÞ   t dddgdddgdœƒ}t|jdd�}|jjdd� d	}tjt|d
�� | j|dd� W d Q R X tjt|d
�� | j|dd� W d Q R X tjt|d
�� | j|dd� W d Q R X tjt|d
�� | j|dd� W d Q R X d S )Nr   é   é   é   )ÚbÚaé   )Zrot)Zrotationzexpected 0.00000 but got )Úmatch)Zxrot)Z
xlabelsize)Zyrot)Z
ylabelsize)	r   r   ZplotZyaxisZset_tick_paramsÚpytestZraisesÚAssertionErrorZ_check_ticks_props)ÚselfZdfZaxÚmsg© r   úE/tmp/pip-install-4cy230dp/pandas/pandas/tests/plotting/test_common.pyÚtest__check_ticks_props   s    z"TestCommon.test__check_ticks_propsN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   	   s   r   )r   Zpandas.util._test_decoratorsÚutilZ_test_decoratorsÚtdZpandasr   Zpandas.tests.plotting.commonr   r   Zskip_if_no_mplr   r   r   r   r   Ú<module>   s
   