User Interaction with RectangleTool
Steven Silvester
steven.silvester at gmail.com
Thu Dec 18 21:40:08 EST 2014
Hi Salvatore,
on_enter is expecting a function object, but you’ve passed the *result* of
a function call. Here’s what it should look like:
def cable(extents):
print(extents)
rect_tool = RectangleTool(ax,on_enter=cable)
Once you get it working, we’d love for you to submit a Pull Request with an
example in the docstring for RectangleTool.
Regards,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20141218/67641511/attachment.html>
More information about the scikit-image
mailing list