Revision: 8357
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8357&view=rev
Author: efiring
Date: 2010-06-01 01:30:19 +0000 (Tue, 01 Jun 2010)
Log Message:
-----------
pylab: remove pointless imports of load, save from mlab
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/pylab.py
Modified: trunk/matplotlib/lib/matplotlib/pylab.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/pylab.py 2010-06-01 01:03:06 UTC (rev
8356)
+++ trunk/matplotlib/lib/matplotlib/pylab.py 2010-06-01 01:30:19 UTC (rev
8357)
@@ -228,10 +228,12 @@
from matplotlib.mlab import window_hanning, window_none, detrend, demean, \
detrend_mean, detrend_none, detrend_linear, entropy, normpdf, levypdf, \
- find, longest_contiguous_ones, longest_ones, prepca, prctile,
prctile_rank, \
- center_matrix, rk4, bivariate_normal, get_xyz_where, get_sparse_matrix,
dist, \
+ find, longest_contiguous_ones, longest_ones, prepca, \
+ prctile, prctile_rank, \
+ center_matrix, rk4, bivariate_normal, get_xyz_where, \
+ get_sparse_matrix, dist, \
dist_point_to_segment, segments_intersect, fftsurr, liaupunov, movavg, \
- save, load, exp_safe, \
+ exp_safe, \
amap, rms_flat, l1norm, l2norm, norm_flat, frange, identity, \
base_repr, binary_repr, log2, ispower2, \
rec_append_fields, rec_drop_fields, rec_join, csv2rec, rec2csv, isvector
@@ -251,8 +253,8 @@
import numpy as np
import numpy.ma as ma
-def load(*args, **kwargs):
- raise NotImplementedError(load.__doc__)
+def load(*args, **kwargs):
+ raise NotImplementedError(load.__doc__)
load.__doc__ = """\
pylab no longer provides a load function, though the old pylab
function is still available as matplotlib.mlab.load (you can refer
@@ -264,8 +266,8 @@
"""
-def save(*args, **kwargs):
- raise NotImplementedError(save.__doc__)
+def save(*args, **kwargs):
+ raise NotImplementedError(save.__doc__)
save.__doc__ = """\
pylab no longer provides a save function, though the old pylab
function is still available as matplotlib.mlab.save (you can still
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins