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
···
David.L.Goldsmith@...259... 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 -
> Does MPL have some kind of hit-testing built-in? this
> seems a bit harder than it should be.