Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b1dc9c5

Browse filesBrowse files
committed
Merge pull request #1347 from dmcdougall/deprecate_cbookfunc
Remove nonfunctioning cbook.isvector
2 parents fa970eb + a5211ca commit b1dc9c5
Copy full SHA for b1dc9c5

File tree

Expand file treeCollapse file tree

2 files changed

+3
-12
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-12
lines changed

‎doc/api/api_changes.rst

Copy file name to clipboardExpand all lines: doc/api/api_changes.rst
+3Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/cbook.py
-12Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.