o
    :a                     @   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   >/usr/lib/python3/dist-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sJ 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    