|
46 | 46 | from matplotlib.artist import setp as _setp |
47 | 47 | from matplotlib.axes import Axes, Subplot |
48 | 48 | from matplotlib.projections import PolarAxes |
49 | | -from matplotlib import mlab # for csv2rec, detrend_none, window_hanning |
| 49 | +from matplotlib import mlab # for _csv2rec, detrend_none, window_hanning |
50 | 50 | from matplotlib.scale import get_scale_docs, get_scale_names |
51 | 51 |
|
52 | 52 | from matplotlib import cm |
@@ -2231,8 +2231,7 @@ def plotfile(fname, cols=(0,), plotfuncs=None, |
2231 | 2231 | columns. |
2232 | 2232 |
|
2233 | 2233 | *comments*, *skiprows*, *checkrows*, *delimiter*, and *names* |
2234 | | - are all passed on to :func:`matplotlib.mlab.csv2rec` to |
2235 | | - load the data into a record array. |
| 2234 | + are all used when loading the data into a record array. |
2236 | 2235 |
|
2237 | 2236 | If *newfig* is *True*, the plot always will be made in a new figure; |
2238 | 2237 | if *False*, it will be made in the current figure if one exists, |
@@ -2267,8 +2266,9 @@ def plotfile(fname, cols=(0,), plotfuncs=None, |
2267 | 2266 | from matplotlib.cbook import MatplotlibDeprecationWarning |
2268 | 2267 | with warnings.catch_warnings(): |
2269 | 2268 | warnings.simplefilter('ignore', MatplotlibDeprecationWarning) |
2270 | | - r = mlab.csv2rec(fname, comments=comments, skiprows=skiprows, |
2271 | | - checkrows=checkrows, delimiter=delimiter, names=names) |
| 2269 | + r = mlab._csv2rec(fname, comments=comments, skiprows=skiprows, |
| 2270 | + checkrows=checkrows, delimiter=delimiter, |
| 2271 | + names=names) |
2272 | 2272 |
|
2273 | 2273 | def getname_val(identifier): |
2274 | 2274 | 'return the name and column data for identifier' |
|
0 commit comments