a
    é´«jû  ã                   @   sN   d dl Z d dlZd dlZd dlmZmZ ejdd�dd„ ƒZejdd„ ƒZ	dS )	é    N)Ú	DataFrameÚto_datetimeT)Zautousec                  c   sŽ   t  d¡} t  d¡}t  d¡}|j ¡ }|  ¡ �  |  d¡ d V  W d   ƒ n1 sV0    Y  |j ¡  |j |¡ | d¡ t	 
d¡ d S )NZ
matplotlibzmatplotlib.unitszmatplotlib.pyplotÚtemplateÚallé   )ÚpytestZimportorskipÚregistryÚcopyZ
rc_contextZuseÚclearÚupdateÚcloseÚgcZcollect)ZmplZ	mpl_unitsZpltZorig_units_registry© r   ú]/var/www/html/laksyashrimp/venv/lib/python3.9/site-packages/pandas/tests/plotting/conftest.pyÚmpl_cleanup   s    





$

r   c                  C   s„   d} t j d¡}|jddg| d�}|jg d¢| d�}t|||jdd| d�|jd	d
| d�|jd| d�t|jdd| t jd�ƒdœƒ}|S )Né2   é
   ZMaleZFemale)Úsize)ÚAÚBÚCéB   é   é¡   é    l     jÕ+2Zl     ÊRŠeöZ)r   Zdtype)ÚgenderÚ	classroomÚheightÚweightÚcategoryÚdatetime)	ÚnpÚrandomZdefault_rngÚchoicer   ÚnormalZintegersr   Zint64)ÚnÚrngr   r   Úhist_dfr   r   r   r'       s*    üÿúÿr'   )
r   Únumpyr!   r   Zpandasr   r   Zfixturer   r'   r   r   r   r   Ú<module>   s   

