
    ~i                     @    d dl mZ d dlmZmZ ddlmZ d Zd Z	d Z
dS )    N)assert_allcloseassert_equal   )utilsc                      t          j        dd          } t          j        |                                           \  }}t          |j        d           t          |g d           d S )N)r   r      )   r   )
MCr   r   r   r   r   r   r   Z)pltCircler   SVG_pathget_pathr   shaper   )circleverticescodess      d/home/jrussi/.local/lib/python3.11/site-packages/plotly/matplotlylib/mplexporter/tests/test_utils.pytest_path_datar      s_    Z""FnV__%6%677OHeHNG,,,JJJKKKKK    c                      ddddddddd d d
} |                                  D ]A\  }}t          j        g d|          \  }t          t	          j        |          |           Bd S )Nnonez$5.550000000000001,2.4000000000000004z1.5,2.4749999999999996z;9.600000000000001,2.4000000000000004,1.5,2.4000000000000004)
solid-dashedz--dotted:dashdotz-. None)r   r      )	linestyle)itemsr   plotr   r   get_dasharray)
linestyleslsresultlines       r   test_linestyler+      s    84*%PK J !&&(( 8 8
F(999333U(..77778 8r   c                      g dg d}} t          j        | |           t          j        t          j                    j                  }t          |d         |            t          |d         |           d S )N)r   r   
   )ABr   
tickvalues
tickformat)r   xticksr   get_axis_propertiesgcaxaxisr   )	positionslabelspropss      r   test_axis_w_fixed_formatterr9   "   sm    "

OOOvIJy&!!!%cgiio66E|$i000|$f-----r   )matplotlib.pyplotpyplotr   numpy.testingr   r   r    r   r   r+   r9    r   r   <module>r>      s{          7 7 7 7 7 7 7 7      L L L8 8 8&. . . . .r   