File: //opt/alt/python27/lib64/python2.7/site-packages/matplotlib/delaunay/interpolate.pyc
�
_�3Lc @ s} d d l Z d d l m Z m Z m Z d d l m Z d d g Z d � Z d e f d � � YZ
d e f d � � YZ d S( i����N( t compute_planest linear_interpolate_gridt nn_interpolate_grid( t nn_interpolate_unstructuredt LinearInterpolatort NNInterpolatorc
C s9 t | � d k s: t | d t � s: t | d t � rI t d � � n | d j } | d j } | d j } t | t � s� t | j � | j k r� t d � � n t | j
� } | d j } | d j } | d j } t | t � st | j � | j k rt d � � n t | j
� } | | | | | | f S( s Convert a 2-tuple of slices to start,stop,steps for x and y.
key -- (slice(ystart,ystop,ystep), slice(xtart, xstop, xstep))
For now, the only accepted step values are imaginary integers (interpreted
in the same way numpy.mgrid, etc. do).
i i i s only 2-D slices, pleases0 only the [start:stop:numsteps*1j] form supported( t lent
isinstancet slicet
ValueErrort startt stopt stept complext intt realt imag( t keyt x0t x1t xstept y0t y1t ystep( ( sR /opt/alt/python27/lib64/python2.7/site-packages/matplotlib/delaunay/interpolate.pyt slice2gridspec s"