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

Skip to content

Commit 7bd67d2

Browse files
tacaswellblink1073
authored andcommitted
DOC: make rectangle demo use handles
1 parent feb58fe commit 7bd67d2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/widgets/rectangle_selector.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def toggle_selector(event):
4646
drawtype='box', useblit=True,
4747
button=[1, 3], # don't use middle button
4848
minspanx=5, minspany=5,
49-
spancoords='pixels')
49+
spancoords='pixels',
50+
interactive=True)
5051
plt.connect('key_press_event', toggle_selector)
5152
plt.show()

0 commit comments

Comments
 (0)