No, I didn't... I believe that in this specific case, I just manually drew
a decently sized box around the axis spine and implemented my own contains
method to match.
It would be nice for every artist to be consistent in this area though.
Maybe a MEP is in order to make every artist have a
On 7 Oct 2011, at 4:56 PM, Daniel Hyams wrote:
I'm wanting to highlight the artist under the cursor with a
transparent Rectangle patch. To do this, I have very, roughly, in a
mouse motion handler,
under = self.figure.hitlist(ev)
if under:
artist = under[0]
bbox =
I'm wanting to highlight the artist under the cursor with a transparent
Rectangle patch. To do this, I have very, roughly, in a mouse motion
handler,
under = self.figure.hitlist(ev)
if under:
artist = under[0]
bbox = artist.get_window_extent()
highlight =