Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d32723 commit 866a376Copy full SHA for 866a376
1 file changed
examples/widgets/span_selector.py
@@ -25,7 +25,9 @@ def onselect(vmin, vmax):
25
span = SpanSelector(ax, onselect, 'horizontal', useblit=False,
26
rectprops=dict(alpha=0.5, facecolor='red') )
27
28
-
29
ax2 = fig.add_subplot(212)
30
ax2.plot([1,2,3])
+
31
+span2 = SpanSelector(ax2, onselect, 'vertical')
32
33
pylab.show()
0 commit comments