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 98a7212

Browse filesBrowse files
tacaswellMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR #9600: Fix some widget docstrings.
1 parent c754f55 commit 98a7212
Copy full SHA for 98a7212

File tree

Expand file treeCollapse file tree

1 file changed

+5
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-7
lines changed

‎lib/matplotlib/widgets.py

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