Skip to content

Commit 2086719

Browse files
authored
Merge pull request #9600 from anntzer/fix-spanselector-docstring
DOC: Fix some widget docstrings.
2 parents 06b89d8 + 68a0365 commit 2086719

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
@@ -1259,11 +1259,10 @@ class Cursor(AxesWidget):
12591259
def __init__(self, ax, horizOn=True, vertOn=True, useblit=False,
12601260
**lineprops):
12611261
"""
1262-
Add a cursor to *ax*. If ``useblit=True``, use the backend-
1263-
dependent blitting features for faster updates (GTKAgg
1264-
only for now). *lineprops* is a dictionary of line properties.
1262+
Add a cursor to *ax*. If ``useblit=True``, use the backend-dependent
1263+
blitting features for faster updates. *lineprops* is a dictionary of
1264+
line properties.
12651265
"""
1266-
# TODO: Is the GTKAgg limitation still true?
12671266
AxesWidget.__init__(self, ax)
12681267

12691268
self.connect_event('motion_notify_event', self.onmove)
@@ -1685,8 +1684,7 @@ class SpanSelector(_SelectorWidget):
16851684
Visually select a min/max range on a single axis and call a function with
16861685
those values.
16871686
1688-
To guarantee that the selector remains responsive, keep a reference to
1689-
it.
1687+
To guarantee that the selector remains responsive, keep a reference to it.
16901688
16911689
In order to turn off the SpanSelector, set `span_selector.active=False`. To
16921690
turn it back on, set `span_selector.active=True`.
@@ -1705,7 +1703,7 @@ class SpanSelector(_SelectorWidget):
17051703
17061704
useblit : bool, default is False
17071705
If True, use the backend-dependent blitting features for faster
1708-
canvas updates. Only available for GTKAgg right now.
1706+
canvas updates.
17091707
17101708
rectprops : dict, default is None
17111709
Dictionary of :class:`matplotlib.patches.Patch` properties

0 commit comments

Comments
 (0)