U
    	-e
                     @   s   d dl mZ dZedefdZedefdZer4es8dZd dlmZ d dlm	Z	 d d	l
mZmZ ed
\ZZZdd Zdd Zdd Zdd Zdd Zdd Zdd Zdd Zdd Zdd Zdd  Zd!S )"    )import_moduleFz	pyglet.gl)Zcatchzpyglet.windowT)symbols)log)cossinzx, y, zc                  C   s.   ddl m}  | ttdddgdd}|  d S )Nr   
PygletPlot      Fvisiblesympy.plotting.pygletplotr   xwait_for_calculationsr   p r   n/var/www/html/Darija-Ai-Train/env/lib/python3.8/site-packages/sympy/plotting/pygletplot/tests/test_plotting.pytest_plot_2d   s    r   c                  C   s2   ddl m}  | dt tdddgdd}|  d S )Nr   r         Fr   r   r   r   r   r   test_plot_2d_discontinuous   s    r   c                  C   s<   ddl m}  | tt tdddgtdddgdd}|  d S )Nr   r   r	   r
   Fr   r   r   r   yr   r   r   r   r   test_plot_3d   s    $r   c                  C   s<   ddl m}  | dt tdddgtdddgdd	}|  d S )
Nr   r   r         r   Fr   r   r   r   r   r   test_plot_3d_discontinuous$   s    $r!   c                  C   s4   ddl m}  | dt tdddgddd}|  d S )	Nr   r   r   r   r   
mode=polarFr   r   r   r   r   r   test_plot_2d_polar*   s    r#   c                  C   s>   ddl m}  | dt tdddgtdddgddd	}|  d S )
Nr   r   r   T㥛 @r   r   zmode=polar;style=solidFr   )r   r   r   r   r   r   r   r   r   test_plot_3d_cylinder0   s     
 
 r%   c                  C   s:   ddl m}  | dtdddgtdddgddd	}|  d S )
Nr   r   r   r$   r   gT㥛 	@zmode=spherical;style=wireframeFr   r   r   r   r   r   test_plot_3d_spherical8   s     
 r&   c                  C   s8   ddl m}  | tttttdddgdd}|  d S )Nr   r   r$   r   Fr   r   r   r   r   r   r   r   r   r   r   test_plot_2d_parametricA   s     r(   c                  C   s>   ddl m}  | tttttd tdddgdd}|  d S )Nr   r   g      @r$   r   Fr   r'   r   r   r   r   test_plot_3d_parametricG   s    &r)   c                  C   s4   ddl m}  | tttdddgddd}|  d S )Nr   r   r$   r   r"   Fr   )r   r   r   r   r   r   r   r   r   _test_plot_logM   s    r*   c                  C   sH   ddl m}  ddlm} | |tt tdtftdtfdd}|  d S )Nr   r   )Integralr   Fr   )r   r   Zsympy.integrals.integralsr+   zr   r   r   )r   r+   r   r   r   r   test_plot_integralS   s    $r-   N)Zsympy.external.importtoolsr   disabledOSErrorZ	pyglet_glZpyglet_windowZsympy.core.symbolr   Z&sympy.functions.elementary.exponentialr   Z(sympy.functions.elementary.trigonometricr   r   r   r   r,   r   r   r   r!   r#   r%   r&   r(   r)   r*   r-   r   r   r   r   <module>   s(   	