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

Skip to content

Commit 7d32723

Browse files
committed
Updated doc string for SpanSelector
svn path=/trunk/matplotlib/; revision=1872
1 parent 391086a commit 7d32723

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ class SpanSelector:
686686
687687
def onselect(vmin, vmax):
688688
print vmin, vmax
689-
span = HorizontalSpanSelector(ax, onselect)
689+
span = SpanSelector(ax, onselect, 'horizontal')
690690
691691
"""
692692
def __init__(self, ax, onselect, direction, minspan=None, useblit=False, rectprops=None):

0 commit comments

Comments
 (0)