>>>>> "Christopher" == Christopher Barker <[EMAIL PROTECTED]> writes:
Christopher> [EMAIL PROTECTED] wrote:
>> OK, I see (kind of, i.e., via the pylab interface) how to do it
>> - indirectly, i.e., by catching the click-on-figure event, then
>> figuring out where that event happened and comparing that to
>> the locations of the figure's pieces -
Christopher> Does MPL have some kind of hit-testing built-in? this
Christopher> seems a bit harder than it should be.
There is an Axes.pick method that will pick on lines, text and
patches. See examples/picker_demo.py. I plan on extending and
refining this functionality in the not-too-distant-future.
JDH
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users