a
    Pf                     @   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   W/var/www/ai-form-bot/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 )N2   
   ZMaleZFemale)size)ABCB             l     j+2Zl     ReZ)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   

