a
    ß™fb  ã                   @   sF   d dl Zd dlZd dlmZ d dlmZ ej dg d¢¡dd„ ƒZ	dS )é    N)ÚPath)Úget_lon_lat_pathÚstep_in_degrees)é
   é   g{®Gáz„?c                 C   s¨   t  d¡}t  ||g¡j}t  t  d¡|g¡j|  }|d }t|||ƒ}t  dtj¡}tj	||d d …df |d d …df  | k < t  
|jdd … |dd … k¡s¤J ‚d S )Néd   gÍÌÌÌÌÌð?r   r   )ÚnpZzerosÚstackÚTZaranger   Zfullr   ZMOVETOZLINETOÚallZcodes)r   ZzeroZpixelÚlineZ
line_roundÚpathZcodes_check© r   úRlib/python3.9/site-packages/astropy/visualization/wcsaxes/tests/test_grid_paths.pyÚtest_round_trip_visibility   s    
*r   )
Znumpyr   ZpytestZmatplotlib.linesr   Z(astropy.visualization.wcsaxes.grid_pathsr   ZmarkZparametrizer   r   r   r   r   Ú<module>   s
   