a
    ëÝEbž  ã                   @   s(   d dl mZ dd„ Zdd„ Zdd„ ZdS )	é    )ÚSankeyc                  C   s   t ƒ } |  ¡  d S )N)r   Úadd)Zsankey© r   ú\/home/ja/django-apps/lartica_env/lib/python3.9/site-packages/matplotlib/tests/test_sankey.pyÚtest_sankey   s    r   c                  C   s4   t dgdgdgd�} | jd jd  ¡ dks0J ‚d S )Nç      Ð?ÚFirstéÿÿÿÿ)ÚflowsÚlabelsÚorientationsr   z
First
0.25©r   ZdiagramsZtextsZget_text)Úsr   r   r   Ú
test_label
   s    r   c                  C   s>   dd„ } t dgdgdg| d�}|jd jd  ¡ dks:J ‚d S )	Nc                 S   s   | d›S )Nz.3fr   )Úvaluer   r   r   Úshow_three_decimal_places   s    z=test_format_using_callable.<locals>.show_three_decimal_placesr   r   r	   )r
   r   r   Úformatr   zFirst
0.250r   )r   r   r   r   r   Útest_format_using_callable   s
    ÿr   N)Zmatplotlib.sankeyr   r   r   r   r   r   r   r   Ú<module>   s   