From: <ef...@us...> - 2008-10-22 19:37:58
|
Revision: 6299 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6299&view=rev Author: efiring Date: 2008-10-22 19:37:46 +0000 (Wed, 22 Oct 2008) Log Message: ----------- whitespace deletion in cbook.py Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/cbook.py Modified: trunk/matplotlib/lib/matplotlib/cbook.py =================================================================== --- trunk/matplotlib/lib/matplotlib/cbook.py 2008-10-22 19:28:14 UTC (rev 6298) +++ trunk/matplotlib/lib/matplotlib/cbook.py 2008-10-22 19:37:46 UTC (rev 6299) @@ -477,9 +477,9 @@ make directory *newdir* recursively, and set *mode*. Equivalent to :: > mkdir -p NEWDIR - > chmod MODE NEWDIR + > chmod MODE NEWDIR """ - try: + try: if not os.path.exists(newdir): parts = os.path.split(newdir) for i in range(1, len(parts)+1): @@ -1325,7 +1325,7 @@ This function has been moved to matplotlib.mlab -- please import it from there """ - # deprecated from cbook in 0.98.4 + # deprecated from cbook in 0.98.4 warnings.warn('less_simple_linear_interpolation has been moved to matplotlib.mlab -- please import it from there', DeprecationWarning) import matplotlib.mlab as mlab return mlab.less_simple_linear_interpolation( x, y, xi, extrap=extrap ) @@ -1335,7 +1335,7 @@ This function has been moved to matplotlib.mlab -- please import it from there """ - # deprecated from cbook in 0.98.4 + # deprecated from cbook in 0.98.4 warnings.warn('isvector has been moved to matplotlib.mlab -- please import it from there', DeprecationWarning) import matplotlib.mlab as mlab return mlab.isvector( x, y, xi, extrap=extrap ) @@ -1345,7 +1345,7 @@ This function has been moved to matplotlib.mlab -- please import it from there """ - # deprecated from cbook in 0.98.4 + # deprecated from cbook in 0.98.4 warnings.warn('vector_lengths has been moved to matplotlib.mlab -- please import it from there', DeprecationWarning) import matplotlib.mlab as mlab return mlab.vector_lengths( X, P=2., axis=axis ) @@ -1355,7 +1355,7 @@ This function has been moved to matplotlib.mlab -- please import it from there """ - # deprecated from cbook in 0.98.4 + # deprecated from cbook in 0.98.4 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 ) @@ -1365,7 +1365,7 @@ This function has been moved to matplotlib.mlab -- please import it from there """ - # deprecated from cbook in 0.98.4 + # deprecated from cbook in 0.98.4 warnings.warn('path_length has been moved to matplotlib.mlab -- please import it from there', DeprecationWarning) import matplotlib.mlab as mlab return mlab.path_length(X) @@ -1375,7 +1375,7 @@ This function has been moved to matplotlib.mlab -- please import it from there """ - # deprecated from cbook in 0.98.4 + # deprecated from cbook in 0.98.4 warnings.warn('is_closed_polygon has been moved to matplotlib.mlab -- please import it from there', DeprecationWarning) import matplotlib.mlab as mlab return mlab.is_closed_polygon(X) @@ -1385,7 +1385,7 @@ This function has been moved to matplotlib.mlab -- please import it from there """ - # deprecated from cbook in 0.98.4 + # deprecated from cbook in 0.98.4 warnings.warn('quad2cubic has been moved to matplotlib.mlab -- please import it from there', DeprecationWarning) import matplotlib.mlab as mlab return mlab.quad2cubic(q0x, q0y, q1x, q1y, q2x, q2y) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |