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

Skip to content

Commit 94af429

Browse files
committed
Deprecate {get,set}_cursorprops.
Apparently unused and with no effect ever since they were added.
1 parent a4fdd60 commit 94af429

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3666,6 +3666,7 @@ def format_deltas(key, dx, dy):
36663666
self.set_xlim(*result.intervalx)
36673667
self.set_ylim(*result.intervaly)
36683668

3669+
@cbook.deprecated("2.0")
36693670
def get_cursor_props(self):
36703671
"""
36713672
Return the cursor propertiess as a (*linewidth*, *color*)
@@ -3674,6 +3675,7 @@ def get_cursor_props(self):
36743675
"""
36753676
return self._cursorProps
36763677

3678+
@cbook.deprecated("2.0")
36773679
def set_cursor_props(self, *args):
36783680
"""
36793681
Set the cursor property as::

0 commit comments

Comments
 (0)