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

Skip to content

Commit 8d7f28b

Browse files
authored
Merge pull request #9623 from matplotlib/auto-backport-of-pr-9600
Backport PR #9600 on branch v2.1.x
2 parents fae93e1 + 98a7212 commit 8d7f28b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

lib/matplotlib/widgets.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,11 +1251,10 @@ class Cursor(AxesWidget):
12511251
def __init__(self, ax, horizOn=True, vertOn=True, useblit=False,
12521252
**lineprops):
12531253
"""
1254-
Add a cursor to *ax*. If ``useblit=True``, use the backend-
1255-
dependent blitting features for faster updates (GTKAgg
1256-
only for now). *lineprops* is a dictionary of line properties.
1254+
Add a cursor to *ax*. If ``useblit=True``, use the backend-dependent
1255+
blitting features for faster updates. *lineprops* is a dictionary of
1256+
line properties.
12571257
"""
1258-
# TODO: Is the GTKAgg limitation still true?
12591258
AxesWidget.__init__(self, ax)
12601259

12611260
self.connect_event('motion_notify_event', self.onmove)
@@ -1677,8 +1676,7 @@ class SpanSelector(_SelectorWidget):
16771676
Visually select a min/max range on a single axis and call a function with
16781677
those values.
16791678
1680-
To guarantee that the selector remains responsive, keep a reference to
1681-
it.
1679+
To guarantee that the selector remains responsive, keep a reference to it.
16821680
16831681
In order to turn off the SpanSelector, set `span_selector.active=False`. To
16841682
turn it back on, set `span_selector.active=True`.
@@ -1697,7 +1695,7 @@ class SpanSelector(_SelectorWidget):
16971695
16981696
useblit : bool, default is False
16991697
If True, use the backend-dependent blitting features for faster
1700-
canvas updates. Only available for GTKAgg right now.
1698+
canvas updates.
17011699
17021700
rectprops : dict, default is None
17031701
Dictionary of :class:`matplotlib.patches.Patch` properties

0 commit comments

Comments
 (0)