Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ddf38fe

Browse files
committed
Add pylab api changes
1 parent 2ca407f commit ddf38fe

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
Removal of deprecated :mod:`matplotlib.pylab` code
2+
--------------------------------------------------
3+
4+
Lots of code inside the :mod:`matplotlib.mlab` module which was deprecated
5+
in Matplotlib 2.2 has been removed. This means the following functions are
6+
no longer available in the `matplotlib.pylab` module:
7+
8+
- ``amap``
9+
- ``base_repr``
10+
- ``binary_repr``
11+
- ``bivariate_normal``
12+
- ``center_matrix``
13+
- ``csv2rec`` (use `numpy.recarray.tofile` instead)
14+
- ``dist`` (use `numpy.hypot` instead)
15+
- ``dist_point_to_segment``
16+
- ``distances_along_curve``
17+
- ``entropy`` (use `scipy.stats.entropy` instead)
18+
- ``exp_safe``
19+
- ``fftsurr``
20+
- ``find`` (use ``np.nonzero(np.ravel(condition))`` instead)
21+
- ``frange`` (use `numpy.arange` instead)
22+
- ``get_sparse_matrix``
23+
- ``get_xyz_where``
24+
- ``griddata``
25+
- ``identity`` (use `numpy.identity` instead)
26+
- ``inside_poly``
27+
- ``is_closed_polygon``
28+
- ``ispower2``
29+
- ``isvector``
30+
- ``l1norm``
31+
- ``l2norm``
32+
- ``log2`` (use `numpy.log2` instead)
33+
- ``longest_contiguous_ones``
34+
- ``longest_ones``
35+
- ``movavg``
36+
- ``norm_flat`` (use ``numpy.linalg.norm(a.flat, ord=2)`` instead)
37+
- ``normpdf`` (use `scipy.stats.norm.pdf` instead)
38+
- ``path_length``
39+
- ``poly_below``
40+
- ``poly_between``
41+
- ``prctile`` (use `numpy.percentile` instead)
42+
- ``prctile_rank``
43+
- ``rec2csv`` (use `numpy.recarray.tofile` instead)
44+
- ``rec_append_fields``
45+
- ``rec_drop_fields``
46+
- ``rec_join``
47+
- ``rk4`` (use `scipy.integrate.ode` instead)
48+
- ``rms_flat``
49+
- ``segments_intersect``
50+
- ``slopes``
51+
- ``stineman_interp``
52+
- ``vector_lengths``

0 commit comments

Comments
 (0)