|
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 |
@@ -2230,8 +2230,7 @@ def plotfile(fname, cols=(0,), plotfuncs=None, |
2230 | 2230 | columns. |
2231 | 2231 |
|
2232 | 2232 | *comments*, *skiprows*, *checkrows*, *delimiter*, and *names* |
2233 | | - are all passed on to :func:`matplotlib.mlab.csv2rec` to |
2234 | | - load the data into a record array. |
| 2233 | + are all used when loading the data into a record array. |
2235 | 2234 |
|
2236 | 2235 | If *newfig* is *True*, the plot always will be made in a new figure; |
2237 | 2236 | if *False*, it will be made in the current figure if one exists, |
@@ -2266,8 +2265,9 @@ def plotfile(fname, cols=(0,), plotfuncs=None, |
2266 | 2265 | from matplotlib.cbook import MatplotlibDeprecationWarning |
2267 | 2266 | with warnings.catch_warnings(): |
2268 | 2267 | warnings.simplefilter('ignore', MatplotlibDeprecationWarning) |
2269 | | - r = mlab.csv2rec(fname, comments=comments, skiprows=skiprows, |
2270 | | - checkrows=checkrows, delimiter=delimiter, names=names) |
| 2268 | + r = mlab._csv2rec(fname, comments=comments, skiprows=skiprows, |
| 2269 | + checkrows=checkrows, delimiter=delimiter, |
| 2270 | + names=names) |
2271 | 2271 |
|
2272 | 2272 | def getname_val(identifier): |
2273 | 2273 | 'return the name and column data for identifier' |
|
0 commit comments