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

[Matplotlib-users] Changing individual Tick labels

2013-03-13 Thread Andrew Jaffe
Dear all, None of the obvious ways for changing ticklabels seem to work for the current version of Matplotlib (1.2.0 for me). At present, ax.yaxis.get_ticklabels().get_text() returns empty strings, as does ax.get_yticklabels(), and the equivalent set_* functions don't seem to have any effect.

Re: [Matplotlib-users] confused by savefig.dpi and how can I set the dpi of jpeg format?

2013-03-13 Thread Goyo
2013/3/11 Chao YUE chaoyue...@gmail.com: Dear all, I searched the internet but still get confused by how can I save a figure with high dpi value to jpeg format. I am using matplotlib 1.2.0 with ubuntu system. In [14]: mat.__version__ Out[14]: '1.2.0' I tried both setting the flag

Re: [Matplotlib-users] confused by savefig.dpi and how can I set the dpi of jpeg format?

2013-03-13 Thread Chao YUE
Dear Goyo, Thanks for your information. I finally change them into pdf but not used yet. Otherwise I will try png format. cheers, Chao On Wed, Mar 13, 2013 at 6:54 PM, Goyo goyod...@gmail.com wrote: 2013/3/11 Chao YUE chaoyue...@gmail.com: Dear all, I searched the internet but still

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

[Matplotlib-users] Matplotlib, Tk, and multithreading

2013-03-13 Thread Oliver King
Hi, I have a library which uses matplotlib to produce some plots. This library is called by a thread. However, python crashes with this error when it tries to plot something: Tk_MacOSXSetupTkNotifier: first [load] of TkAqua has to occur in the main thread! If I do as it says and call window

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