@@ -4,71 +4,71 @@ Removal of deprecated :mod:`matplotlib.mlab` code
44Lots of code inside the :mod: `matplotlib.mlab ` module which was deprecated
55in Matplotlib 2.2 has been removed. See below for a list:
66
7- - `mlab.exp_safe ` (use numpy.exp instead)
8- - `mlab.amap `
9- - `mlab.logspace ` (use numpy.logspace instead)
10- - `mlab.rms_flat `
11- - `mlab.l1norm ` (use ``numpy.linalg.norm(a, ord=1) `` instead)
12- - `mlab.l2norm ` (use ``numpy.linalg.norm(a, ord=2) `` instead)
13- - `mlab.norm_flat ` (use ``numpy.linalg.norm(a.flat, ord=2) `` instead)
14- - `mlab.frange ` (use numpy.arange instead)
15- - `mlab.identity ` (use numpy.identity instead)
16- - `mlab.base_repr `
17- - `mlab.binary_repr `
18- - `mlab.ispower2 `
19- - `mlab.log2 ` (use numpy.log2 instead)
20- - `mlab.isvector `
21- - `mlab.movavg `
22- - `mlab.safe_isinf ` (use numpy.isinf instead)
23- - `mlab.safe_isnan ` (use numpy.isnan instead)
24- - `mlab.cohere_pairs ` (use scipy.signal.coherence instead)
25- - `mlab.entropy ` (use scipy.stats.entropy instead)
26- - `mlab.normpdf ` (use scipy.stats.norm.pdf instead)
27- - `mlab.find ` (use ``np.nonzero(np.ravel(condition)) `` instead)
28- - `mlab.longest_contiguous_ones `
29- - `mlab.longest_ones `
30- - `mlab.PCA `
31- - `mlab.prctile ` (use numpy.percentile instead)
32- - `mlab.prctile_rank `
33- - `mlab.center_matrix `
34- - `mlab.rk4 ` (use scipy.integrate.ode instead)
35- - `mlab.bivariate_normal `
36- - `mlab.get_xyz_where `
37- - `mlab.get_sparse_matrix `
38- - `mlab.dist ` (use numpy.hypot instead)
39- - `mlab.dist_point_to_segment `
40- - `mlab.griddata ` (use scipy.interpolate.griddata)
41- - `mlab.less_simple_linear_interpolation ` (use numpy.interp)
42- - `mlab.slopes `
43- - `mlab.stineman_interp `
44- - `mlab.segments_intersect `
45- - `mlab.fftsurr `
46- - `mlab.offset_line `
47- - `mlab.quad2cubic `
48- - `mlab.vector_lengths `
49- - `mlab.distances_along_curve `
50- - `mlab.path_length `
51- - `mlab.cross_from_above `
52- - `mlab.cross_from_below `
53- - `mlab.contiguous_regions ` (use `.cbook.contiguous_regions ` instead)
54- - `mlab.is_closed_polygon `
55- - `mlab.poly_between `
56- - `mlab.poly_below `
57- - `mlab.inside_poly `
58- - `mlab.rec2csv ` (use numpy.recarray.tofile instead)
59- - `mlab.rec2text ` (use numpy.recarray.tofile instead)
60- - `mlab.rec_summarize `
61- - `mlab.rec_join `
62- - `mlab.recs_join `
63- - `mlab.rec_groupby `
64- - `mlab.rec_keep_fields `
65- - `mlab.rec_drop_fields `
66- - `mlab.rec_append_fields `
67- - `mlab.csvformat_factory `
68- - `mlab.get_formatd `
69- - `mlab.FormatDatetime ` (use datetime.strftime instead)
70- - `mlab.FormatDate ` (use date.strftime instead)
71- - `mlab.FormatMillions `, `mlab.FormatThousands `, `mlab.FormatPercent `,
72- `mlab.FormatBool `, `mlab.FormatInt `, `mlab.FormatFloat `,
73- `mlab.FormatFormatStr `, `mlab.FormatString `, `mlab.FormatObj `
74- - `mlab.donothing_callback `
7+ - `` mlab.exp_safe `` (use ` numpy.exp ` instead)
8+ - `` mlab.amap ` `
9+ - `` mlab.logspace `` (use ` numpy.logspace ` instead)
10+ - `` mlab.rms_flat ` `
11+ - `` mlab.l1norm ` ` (use ``numpy.linalg.norm(a, ord=1) `` instead)
12+ - `` mlab.l2norm ` ` (use ``numpy.linalg.norm(a, ord=2) `` instead)
13+ - `` mlab.norm_flat ` ` (use ``numpy.linalg.norm(a.flat, ord=2) `` instead)
14+ - `` mlab.frange `` (use ` numpy.arange ` instead)
15+ - `` mlab.identity `` (use ` numpy.identity ` instead)
16+ - `` mlab.base_repr ` `
17+ - `` mlab.binary_repr ` `
18+ - `` mlab.ispower2 ` `
19+ - `` mlab.log2 `` (use ` numpy.log2 ` instead)
20+ - `` mlab.isvector ` `
21+ - `` mlab.movavg ` `
22+ - `` mlab.safe_isinf `` (use ` numpy.isinf ` instead)
23+ - `` mlab.safe_isnan `` (use ` numpy.isnan ` instead)
24+ - `` mlab.cohere_pairs `` (use ` scipy.signal.coherence ` instead)
25+ - `` mlab.entropy `` (use ` scipy.stats.entropy ` instead)
26+ - `` mlab.normpdf `` (use ` scipy.stats.norm.pdf ` instead)
27+ - `` mlab.find ` ` (use ``np.nonzero(np.ravel(condition)) `` instead)
28+ - `` mlab.longest_contiguous_ones ` `
29+ - `` mlab.longest_ones ` `
30+ - `` mlab.PCA ` `
31+ - `` mlab.prctile `` (use ` numpy.percentile ` instead)
32+ - `` mlab.prctile_rank ` `
33+ - `` mlab.center_matrix ` `
34+ - `` mlab.rk4 `` (use ` scipy.integrate.ode ` instead)
35+ - `` mlab.bivariate_normal ` `
36+ - `` mlab.get_xyz_where ` `
37+ - `` mlab.get_sparse_matrix ` `
38+ - `` mlab.dist `` (use ` numpy.hypot ` instead)
39+ - `` mlab.dist_point_to_segment ` `
40+ - `` mlab.griddata `` (use ` scipy.interpolate.griddata ` )
41+ - `` mlab.less_simple_linear_interpolation `` (use ` numpy.interp ` )
42+ - `` mlab.slopes ` `
43+ - `` mlab.stineman_interp ` `
44+ - `` mlab.segments_intersect ` `
45+ - `` mlab.fftsurr ` `
46+ - `` mlab.offset_line ` `
47+ - `` mlab.quad2cubic ` `
48+ - `` mlab.vector_lengths ` `
49+ - `` mlab.distances_along_curve ` `
50+ - `` mlab.path_length ` `
51+ - `` mlab.cross_from_above ` `
52+ - `` mlab.cross_from_below ` `
53+ - `` mlab.contiguous_regions ` ` (use `.cbook.contiguous_regions ` instead)
54+ - `` mlab.is_closed_polygon ` `
55+ - `` mlab.poly_between ` `
56+ - `` mlab.poly_below ` `
57+ - `` mlab.inside_poly ` `
58+ - `` mlab.rec2csv `` (use ` numpy.recarray.tofile ` instead)
59+ - `` mlab.rec2text `` (use ` numpy.recarray.tofile ` instead)
60+ - `` mlab.rec_summarize ` `
61+ - `` mlab.rec_join ` `
62+ - `` mlab.recs_join ` `
63+ - `` mlab.rec_groupby ` `
64+ - `` mlab.rec_keep_fields ` `
65+ - `` mlab.rec_drop_fields ` `
66+ - `` mlab.rec_append_fields ` `
67+ - `` mlab.csvformat_factory ` `
68+ - `` mlab.get_formatd ` `
69+ - `` mlab.FormatDatetime `` (use ` datetime.datetime. strftime ` instead)
70+ - `` mlab.FormatDate `` (use ` datetime. date.strftime` instead)
71+ - `` mlab.FormatMillions `` , `` mlab.FormatThousands `` , `` mlab.FormatPercent ` `,
72+ `` mlab.FormatBool `` , `` mlab.FormatInt `` , `` mlab.FormatFloat ` `,
73+ `` mlab.FormatFormatStr `` , `` mlab.FormatString `` , `` mlab.FormatObj ` `
74+ - `` mlab.donothing_callback ` `
0 commit comments