@@ -477,9 +477,9 @@ def mkdirs(newdir, mode=0777):
477477 make directory *newdir* recursively, and set *mode*. Equivalent to ::
478478
479479 > mkdir -p NEWDIR
480- > chmod MODE NEWDIR
480+ > chmod MODE NEWDIR
481481 """
482- try :
482+ try :
483483 if not os .path .exists (newdir ):
484484 parts = os .path .split (newdir )
485485 for i in range (1 , len (parts )+ 1 ):
@@ -1325,7 +1325,7 @@ def less_simple_linear_interpolation( x, y, xi, extrap=False ):
13251325 This function has been moved to matplotlib.mlab -- please import
13261326 it from there
13271327 """
1328- # deprecated from cbook in 0.98.4
1328+ # deprecated from cbook in 0.98.4
13291329 warnings .warn ('less_simple_linear_interpolation has been moved to matplotlib.mlab -- please import it from there' , DeprecationWarning )
13301330 import matplotlib .mlab as mlab
13311331 return mlab .less_simple_linear_interpolation ( x , y , xi , extrap = extrap )
@@ -1335,7 +1335,7 @@ def isvector(X):
13351335 This function has been moved to matplotlib.mlab -- please import
13361336 it from there
13371337 """
1338- # deprecated from cbook in 0.98.4
1338+ # deprecated from cbook in 0.98.4
13391339 warnings .warn ('isvector has been moved to matplotlib.mlab -- please import it from there' , DeprecationWarning )
13401340 import matplotlib .mlab as mlab
13411341 return mlab .isvector ( x , y , xi , extrap = extrap )
@@ -1345,7 +1345,7 @@ def vector_lengths( X, P=2., axis=None ):
13451345 This function has been moved to matplotlib.mlab -- please import
13461346 it from there
13471347 """
1348- # deprecated from cbook in 0.98.4
1348+ # deprecated from cbook in 0.98.4
13491349 warnings .warn ('vector_lengths has been moved to matplotlib.mlab -- please import it from there' , DeprecationWarning )
13501350 import matplotlib .mlab as mlab
13511351 return mlab .vector_lengths ( X , P = 2. , axis = axis )
@@ -1355,7 +1355,7 @@ def distances_along_curve( X ):
13551355 This function has been moved to matplotlib.mlab -- please import
13561356 it from there
13571357 """
1358- # deprecated from cbook in 0.98.4
1358+ # deprecated from cbook in 0.98.4
13591359 warnings .warn ('distances_along_curve has been moved to matplotlib.mlab -- please import it from there' , DeprecationWarning )
13601360 import matplotlib .mlab as mlab
13611361 return mlab .distances_along_curve ( X )
@@ -1365,7 +1365,7 @@ def path_length(X):
13651365 This function has been moved to matplotlib.mlab -- please import
13661366 it from there
13671367 """
1368- # deprecated from cbook in 0.98.4
1368+ # deprecated from cbook in 0.98.4
13691369 warnings .warn ('path_length has been moved to matplotlib.mlab -- please import it from there' , DeprecationWarning )
13701370 import matplotlib .mlab as mlab
13711371 return mlab .path_length (X )
@@ -1375,7 +1375,7 @@ def is_closed_polygon(X):
13751375 This function has been moved to matplotlib.mlab -- please import
13761376 it from there
13771377 """
1378- # deprecated from cbook in 0.98.4
1378+ # deprecated from cbook in 0.98.4
13791379 warnings .warn ('is_closed_polygon has been moved to matplotlib.mlab -- please import it from there' , DeprecationWarning )
13801380 import matplotlib .mlab as mlab
13811381 return mlab .is_closed_polygon (X )
@@ -1385,7 +1385,7 @@ def quad2cubic(q0x, q0y, q1x, q1y, q2x, q2y):
13851385 This function has been moved to matplotlib.mlab -- please import
13861386 it from there
13871387 """
1388- # deprecated from cbook in 0.98.4
1388+ # deprecated from cbook in 0.98.4
13891389 warnings .warn ('quad2cubic has been moved to matplotlib.mlab -- please import it from there' , DeprecationWarning )
13901390 import matplotlib .mlab as mlab
13911391 return mlab .quad2cubic (q0x , q0y , q1x , q1y , q2x , q2y )
0 commit comments