def distances_along_curve(X):
 warnings.warn('distances_along_curve has been moved to matplotlib.mlab -- please import it from there', DeprecationWarning)
 import matplotlib.mlab as mlab
 return mlab.distances_along_curve(X)

def distances_along_curve ( X ) : warnings . warn ( 'distances_along_curve has been moved to matplotlib.mlab -- please import it from there' , DeprecationWarning ) import matplotlib . mlab as mlab return mlab . distances_along_curve ( X )
this function has been moved to matplotlib .