
    .i                     >    d dl mZ d dlmZmZ ddlmZ d Zd Z	d Z
y)    N)assert_allcloseassert_equal   )utilsc                      t        j                  dd      } t        j                  | j	                               \  }}t        |j                  d       t        |g d       y )N)r   r      )   r   )
MCr   r   r   r   r   r   r   Z)pltCircler   SVG_pathget_pathr   shaper   )circleverticescodess      m/opt/house_gps_flutter/.venv/lib/python3.12/site-packages/plotly/matplotlylib/mplexporter/tests/test_utils.pytest_path_datar      sD    ZZ"FnnV__%67OHeHNNG,JK    c                      ddddddddd d d
} | j                         D ]?  \  }}t        j                  g d|      \  }t        t	        j
                  |      |       A y )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+      sl    84*%PKJ !&&( 8
F((93U((.78r   c                      g dg d}} t        j                  | |       t        j                  t        j                         j
                        }t        |d   |        t        |d   |       y )N)r   r   
   )ABr   
tickvalues
tickformat)r   xticksr   get_axis_propertiesgcaxaxisr   )	positionslabelspropss      r   test_axis_w_fixed_formatterr9   "   sQ    "OvIJJy&!%%cggioo6E|$i0|$f-r   )matplotlib.pyplotpyplotr   numpy.testingr   r   r    r   r   r+   r9    r   r   <module>r>      s     7 L8&.r   