
    G8cB                         d dl Zd dlmZ d dlmZ d dlmZ d dl	m
Z
  ej                         5  d dlmZ ddd        edgd      d	        Zy# 1 sw Y   xY w)
    N)_api)image_comparison)Bbox)clip_line_to_rectzclip_path.pngdefault)stylec                     t        j                  g d      } t        j                  t        |             }t	        j
                         \  }}|j                  | |d       t        j                  dddd      }t	        j                  |j                  |j                  |j                  dd	d
      }|j                  |       t        | ||      \  }}|D ]B  \  }}	|j                  ||	dd       t        ||	      D ]  \  }
}|j!                  |
|      rJ  D t#        g d      }|D ]/  }t%        |      }|D ]  \  \  }}}|j                  |g|g|        1 y )N)g                 r   r   r   r   r   r
      r   )lwr   r   r   g      )@nonekz--)	facecolor	edgecolorlsC1)r   color)C3oC2xr   r   )nparrayarangelenpltsubplotsplotr   from_extents	Rectanglep0widthheight	add_patchr   zipcontainsiternext)xyfigaxbboxrectclipped_linestickslxlypxpyccctttccxxyyaas                     N/usr/lib/python3/dist-packages/mpl_toolkits/tests/test_axisartist_clip_path.pytest_clip_pathr?      sE   
BCA
		#a&AllnGCGGAqQGRAt,D==$**dkk#)STCDLL,Q48M5 )B
B1D)"bk 	)FB==R(((	))
 +
,C $#Y 	$LHRbGGRD2$#	$$    )numpyr   
matplotlibr   matplotlib.pyplotpyplotr   matplotlib.testing.decoratorsr   matplotlib.transformsr   'suppress_matplotlib_deprecation_warning!mpl_toolkits.axisartist.clip_pathr   r?    r@   r>   <module>rJ      s\       : &1T113 DCD ?#95$ 6$D Ds   AA