|
236 | 236 | base_repr, binary_repr, log2, ispower2, \
|
237 | 237 | rec_append_fields, rec_drop_fields, rec_join, csv2rec, rec2csv, isvector
|
238 | 238 |
|
| 239 | +import matplotlib.mlab as mlab |
| 240 | +import matplotlib.cbook as cbook |
| 241 | + |
239 | 242 | from numpy import *
|
240 | 243 | from numpy.fft import *
|
241 | 244 | from numpy.random import *
|
|
248 | 251 | import numpy as np
|
249 | 252 | import numpy.ma as ma
|
250 | 253 |
|
| 254 | +def load(*args, **kwargs): |
| 255 | + raise NotImplementedError(load.__doc__) |
| 256 | +load.__doc__ = """\ |
| 257 | + pylab no longer provides a load function, though the old pylab |
| 258 | + function is still available as matplotlib.mlab.load (you can refer |
| 259 | + to it in pylab as "mlab.load"). However, for plain text files, we |
| 260 | + recommend numpy.loadtxt, which was inspired by the old pylab.load |
| 261 | + but now has more features. For loading numpy arrays, we recommend |
| 262 | + numpy.load, and its analog numpy.save, which are available in |
| 263 | + pylab as np.load and np.save. |
| 264 | + """ |
| 265 | + |
| 266 | + |
| 267 | +def save(*args, **kwargs): |
| 268 | + raise NotImplementedError(save.__doc__) |
| 269 | +save.__doc__ = """\ |
| 270 | + pylab no longer provides a save function, though the old pylab |
| 271 | + function is still available as matplotlib.mlab.save (you can still |
| 272 | + refer to it in pylab as "mlab.save"). However, for plain text |
| 273 | + files, we recommend numpy.savetxt. For saving numpy arrays, |
| 274 | + we recommend numpy.save, and its analog numpy.load, which are |
| 275 | + available in pylab as np.save and np.load.""" |
0 commit comments