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

Skip to content

Commit ca54244

Browse files
committed
Add missing alternatives
1 parent 89cf598 commit ca54244

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/next_api_changes/2018-09-18-DS-pylab.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ no longer available in the `matplotlib.pylab` module:
1515
- ``dist_point_to_segment``
1616
- ``distances_along_curve``
1717
- ``entropy`` (use `scipy.stats.entropy` instead)
18-
- ``exp_safe``
18+
- ``exp_safe`` (use `numpy.exp` instead)
1919
- ``fftsurr``
2020
- ``find`` (use ``np.nonzero(np.ravel(condition))`` instead)
2121
- ``frange`` (use `numpy.arange` instead)
2222
- ``get_sparse_matrix``
2323
- ``get_xyz_where``
24-
- ``griddata``
24+
- ``griddata`` (use `scipy.interpolate.griddata` instead)
2525
- ``identity`` (use `numpy.identity` instead)
2626
- ``inside_poly``
2727
- ``is_closed_polygon``
2828
- ``ispower2``
2929
- ``isvector``
30-
- ``l1norm``
31-
- ``l2norm``
30+
- ``l1norm`` (use ``numpy.linalg.norm(a, ord=1)`` instead)
31+
- ``l2norm`` (use ``numpy.linalg.norm(a, ord=2)`` instead)
3232
- ``log2`` (use `numpy.log2` instead)
3333
- ``longest_contiguous_ones``
3434
- ``longest_ones``

0 commit comments

Comments
 (0)