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 fb58965

Browse filesBrowse files
committed
Deprecate {get,set}_cursorprops.
Apparently unused and with no effect ever since they were added.
1 parent a4fdd60 commit fb58965
Copy full SHA for fb58965

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/axes/_base.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,8 +545,6 @@ def __init__(self, fig, rect,
545545
self.fmt_xdata = None
546546
self.fmt_ydata = None
547547

548-
self.set_cursor_props((1, 'k')) # set the cursor properties for axes
549-
550548
self._cachedRenderer = None
551549
self.set_navigate(True)
552550
self.set_navigate_mode(None)
@@ -3666,6 +3664,7 @@ def format_deltas(key, dx, dy):
36663664
self.set_xlim(*result.intervalx)
36673665
self.set_ylim(*result.intervaly)
36683666

3667+
@cbook.deprecated("2.1")
36693668
def get_cursor_props(self):
36703669
"""
36713670
Return the cursor propertiess as a (*linewidth*, *color*)
@@ -3674,6 +3673,7 @@ def get_cursor_props(self):
36743673
"""
36753674
return self._cursorProps
36763675

3676+
@cbook.deprecated("2.1")
36773677
def set_cursor_props(self, *args):
36783678
"""
36793679
Set the cursor property as::

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.