Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Sphinx warning in widgets #3788

Merged
merged 1 commit into from Nov 13, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions lib/matplotlib/widgets.py
Expand Up @@ -1255,7 +1255,7 @@ def onselect(vmin, vmax):
span = SpanSelector(ax, onselect, 'horizontal')

*onmove_callback* is an optional callback that is called on mouse
move within the span range
move within the span range

"""

Expand All @@ -1275,6 +1275,7 @@ def __init__(self, ax, onselect, direction, minspan=None, useblit=False,
If *minspan* is not *None*, ignore events smaller than *minspan*

The span rectangle is drawn with *rectprops*; default::

rectprops = dict(facecolor='red', alpha=0.5)

Set the visible attribute to *False* if you want to turn off
Expand All @@ -1283,7 +1284,7 @@ def __init__(self, ax, onselect, direction, minspan=None, useblit=False,
If *span_stays* is True, the span stays visble after making
a valid selection.

*button* is a list of integers indicating which mouse buttons should
*button* is a list of integers indicating which mouse buttons should
be used for selection. You can also specify a single
integer if only a single button is desired. Default is *None*,
which does not limit which button can be used.
Expand All @@ -1292,6 +1293,7 @@ def __init__(self, ax, onselect, direction, minspan=None, useblit=False,
1 = left mouse button
2 = center mouse button (scroll wheel)
3 = right mouse button

"""
_SelectorWidget.__init__(self, ax, onselect, useblit=useblit,
button=button)
Expand Down