Re: [Matplotlib-users] Feedback on an implementation of a matlab-ish datacursor

2013-03-13 Thread Phil Elson
Thanks for this Joe, mpldatacursor looks like an excellent piece of work - I for one will be installing and using it regularly. Thanks for sharing! On 13 March 2013 03:58, Joe Kington joferking...@gmail.com wrote: I recently got around to polishing up a snippet I've been using for quite

Re: [Matplotlib-users] Feedback on an implementation of a matlab-ish datacursor

2013-03-13 Thread josef . pktd
On Tue, Mar 12, 2013 at 11:58 PM, Joe Kington joferking...@gmail.com wrote: I recently got around to polishing up a snippet I've been using for quite awhile. https://github.com/joferkington/mpldatacursor/ and I was hoping to get some feeding on the current implementation. mpldatacursor

Re: [Matplotlib-users] Feedback on an implementation of a matlab-ish datacursor

2013-03-13 Thread Jonathan Slavin
Nevermind on my earlier question on artists and using datacursor. I figured that one out. What I did was basically (after creating the image and contours): artist = gca().images datacursor(artist) and it worked! Jon On Wed, 2013-03-13 at 15:50 -0400, Jonathan Slavin wrote: Joe, Thank

Re: [Matplotlib-users] Feedback on an implementation of a matlab-ish datacursor

2013-03-13 Thread Jonathan Slavin
Joe, Thank you! I will especially use it to get the z value in images. I started to try to do something like this once but never finished. One thing I'm having a bit of trouble with is providing an artist as an argument. The reason I wanted to do that is to look only at the values for the

Re: [Matplotlib-users] Feedback on an implementation of a matlab-ish datacursor

2013-03-13 Thread Joe Kington
On Wed, Mar 13, 2013 at 3:22 PM, Jonathan Slavin jsla...@cfa.harvard.eduwrote: Nevermind on my earlier question on artists and using datacursor. I figured that one out. What I did was basically (after creating the image and contours): artist = gca().images datacursor(artist) and it

[Matplotlib-users] Feedback on an implementation of a matlab-ish datacursor

2013-03-12 Thread Joe Kington
I recently got around to polishing up a snippet I've been using for quite awhile. https://github.com/joferkington/mpldatacursor/ and I was hoping to get some feeding on the current implementation. mpldatacursor allows a user to easily click on an artist and display a customizable, interactive