8000 Remove nonfunctioning cbook.isvector · matplotlib/matplotlib@a5211ca · GitHub
[go: up one dir, main page]

Skip to content

Commit a5211ca

Browse files
committed
Remove nonfunctioning cbook.isvector
A note has also been added to api_changes.rst to reflect the removal
1 parent 1c76af5 commit a5211ca

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

doc/api/api_changes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ For new features that were added to matplotlib, please see
1414
Changes in 1.2.x
1515
================
1616

17+
* The :meth:`~matplotlib.cbook.isvector` method has been removed since it
18+
is no longer functional.
19+
1720
* The `rasterization_zorder` property on `~matplotlib.axes.Axes` a
1821
zorder below which artists are rasterized. This has defaulted to
1922
-30000.0, but it now defaults to `None`, meaning no artists will be

lib/matplotlib/cbook.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,18 +1672,6 @@ def less_simple_linear_interpolation(x, y, xi, extrap=False):
16721672
return mlab.less_simple_linear_interpolation(x, y, xi, extrap=extrap)
16731673

16741674

1675-
def isvector(X):
1676-
"""
1677-
This function has been moved to matplotlib.mlab -- please import
1678-
it from there
1679-
"""
1680-
# deprecated from cbook in 0.98.4
1681-
warnings.warn('isvector has been moved to matplotlib.mlab -- please '
1682-
'import it from there', DeprecationWarning)
1683-
import matplotlib.mlab as mlab
1684-
return mlab.isvector(x, y, xi, extrap=extrap)
1685-
1686-
16871675
def vector_lengths(X, P=2.0, axis=None):
16881676
"""
16891677
This function has been moved to matplotlib.mlab -- please import

0 commit comments

Comments
 (0)
0