@@ -1255,7 +1255,7 @@ def onselect(vmin, vmax):
1255
1255
span = SpanSelector(ax, onselect, 'horizontal')
1256
1256
1257
1257
*onmove_callback* is an optional callback that is called on mouse
1258
- move within the span range
1258
+ move within the span range
1259
1259
1260
1260
"""
1261
1261
@@ -1275,6 +1275,7 @@ def __init__(self, ax, onselect, direction, minspan=None, useblit=False,
1275
1275
If *minspan* is not *None*, ignore events smaller than *minspan*
1276
1276
1277
1277
The span rectangle is drawn with *rectprops*; default::
1278
+
1278
1279
rectprops = dict(facecolor='red', alpha=0.5)
1279
1280
1280
1281
Set the visible attribute to *False* if you want to turn off
@@ -1283,7 +1284,7 @@ def __init__(self, ax, onselect, direction, minspan=None, useblit=False,
1283
1284
If *span_stays* is True, the span stays visble after making
1284
1285
a valid selection.
1285
1286
1286
- *button* is a list of integers indicating which mouse buttons should
1287
+ *button* is a list of integers indicating which mouse buttons should
1287
1288
be used for selection. You can also specify a single
1288
1289
integer if only a single button is desired. Default is *None*,
1289
1290
which does not limit which button can be used.
@@ -1292,6 +1293,7 @@ def __init__(self, ax, onselect, direction, minspan=None, useblit=False,
1292
1293
1 = left mouse button
1293
1294
2 = center mouse button (scroll wheel)
1294
1295
3 = right mouse button
1296
+
1295
1297
"""
1296
1298
_SelectorWidget .__init__ (self , ax , onselect , useblit = useblit ,
1297
1299
button = button )
0 commit comments