Re: [Matplotlib-users] axes.get_position() inaccurate until after savefig()?

2015-02-18 Thread Eric Firing
On 2015/02/18 7:51 AM, Ryan Nelson wrote: > I don't have an answer to your question exactly. But I'll just say that > this does make sense. The aspect-corrected axes (after show) is a subset > of what you originally asked for, i.e. the bottom is higher, and the > height is smaller. My guess is that

Re: [Matplotlib-users] Event errors in qt5 backend after recent commit

2015-02-18 Thread Thomas Caswell
Jorge, I have put in a PR to fix this issue. Can you confirm that it is equivalent to your fix? For aesthetic reasons I chose to pass guiEvent as a kwarg to all of the event related functions. https://github.com/matplotlib/matplotlib/pull/4130 Tom On Wed Feb 18 2015 at 5:32:04 PM Thomas Caswe

Re: [Matplotlib-users] what are the new features of nbagg?

2015-02-18 Thread Fernando Perez
On Wed, Feb 18, 2015 at 4:57 PM, Thomas Caswell wrote: > Interesting, I was going off what the IPython devs said here > https://github.com/ipython/ipython/issues/7774 > That was just adding the "notebook" alias to the `%matplotlib` magic. The actual underlying functionality has been around for a

Re: [Matplotlib-users] what are the new features of nbagg?

2015-02-18 Thread Thomas Caswell
Interesting, I was going off what the IPython devs said here https://github.com/ipython/ipython/issues/7774 On Wed Feb 18 2015 at 7:48:32 PM Eric Firing wrote: > On 2015/02/18 2:31 PM, Thomas Caswell wrote: > > Recent means IPython > 2.4. > > Did you mean 2.2? It works on 2.3. > > Eric > > > >

Re: [Matplotlib-users] what are the new features of nbagg?

2015-02-18 Thread Eric Firing
On 2015/02/18 2:31 PM, Thomas Caswell wrote: > Recent means IPython > 2.4. Did you mean 2.2? It works on 2.3. Eric > > For 3.0 > > %matplotlib notebook > > will also work. > > Tom > > On Wed Feb 18 2015 at 7:25:41 PM Eric Firing > wrote: > > On 2015/02/18 6:44

Re: [Matplotlib-users] what are the new features of nbagg?

2015-02-18 Thread Thomas Caswell
Recent means IPython > 2.4. For 3.0 %matplotlib notebook will also work. Tom On Wed Feb 18 2015 at 7:25:41 PM Eric Firing wrote: > On 2015/02/18 6:44 AM, Emilia Petrisor wrote: > > Hi all, > > > > I looked for a link where I could find out what’s new in |matplotlib > > 1.4.3|, but there is

Re: [Matplotlib-users] what are the new features of nbagg?

2015-02-18 Thread Eric Firing
On 2015/02/18 6:44 AM, Emilia Petrisor wrote: > Hi all, > > I looked for a link where I could find out what’s new in |matplotlib > 1.4.3|, but there is no one. > > Especially I’m interested in the new features of |nbagg backend|. All I > know is what I read in an email here, namely that /The nbagg

Re: [Matplotlib-users] quiverkey() doesn't plot the reference vector?

2015-02-18 Thread Thomas Caswell
This is probably related to the Agg renderer issue with edge-only markers. On Wed Feb 18 2015 at 7:14:22 PM Eric Firing wrote: > On 2015/02/18 2:00 PM, Thomas Caswell wrote: > > Is this just on master or with 1.4.x? > > It's on 1.4.1 and 1.4.2, but not on 1.4.3 or master or 1.4.0. Therefore > I

Re: [Matplotlib-users] quiverkey() doesn't plot the reference vector?

2015-02-18 Thread Eric Firing
On 2015/02/18 2:00 PM, Thomas Caswell wrote: > Is this just on master or with 1.4.x? It's on 1.4.1 and 1.4.2, but not on 1.4.3 or master or 1.4.0. Therefore I won't enter it as an issue. I don't know what went wrong with this in those two bugfix releases. Eric > > On Wed Feb 18 2015 at 6:00:2

Re: [Matplotlib-users] quiverkey() doesn't plot the reference vector?

2015-02-18 Thread Thomas Caswell
Is this just on master or with 1.4.x? On Wed Feb 18 2015 at 6:00:26 PM Eric Firing wrote: > On 2015/02/18 9:52 AM, njs wrote: > > Hi All, > > > > I'm having issues with quiver, and quiverkey() although, I have never > > experienced these issues in the past. I attached an image to this post > th

[Matplotlib-users] Qt4 Designer Example

2015-02-18 Thread Ryan Nelson
Hello list, A couple months ago, I spent quite a bit of time trying to figure out how to use Qt designer create a GUI with an embedded MPL window. Unfortunately, the Scipy cookbook page ( http://wiki.scipy.org/Cookbook/Matplotlib/Qt_with_IPython_and_Designer) is very outdated. A recent post ( http

Re: [Matplotlib-users] quiverkey() doesn't plot the reference vector?

2015-02-18 Thread Eric Firing
On 2015/02/18 9:52 AM, njs wrote: > Hi All, > > I'm having issues with quiver, and quiverkey() although, I have never > experienced these issues in the past. I attached an image to this post that > demonstrates that quiver_key() used to work for me, this image was generated > on 17-Jul-2014. Howe

Re: [Matplotlib-users] Event errors in qt5 backend after recent commit

2015-02-18 Thread Thomas Caswell
Can you put in a pull request with those changes please? On Wed, Feb 18, 2015, 17:03 Jorge Scandaliaris wrote: > Hi, > A recent commit against lib/matplotlib/backends/backend_qt5.py [1] causes > some errors in code that was working fine before. The error is as follows: > > --

[Matplotlib-users] Event errors in qt5 backend after recent commit

2015-02-18 Thread Jorge Scandaliaris
Hi, A recent commit against lib/matplotlib/backends/backend_qt5.py [1] causes some errors in code that was working fine before. The error is as follows: --- TypeError Traceback (most recent cal

[Matplotlib-users] quiverkey() doesn't plot the reference vector?

2015-02-18 Thread njs
Hi All, I'm having issues with quiver, and quiverkey() although, I have never experienced these issues in the past. I attached an image to this post that demonstrates that quiver_key() used to work for me, this image was generated on 17-Jul-2014. However, if I run this exact same code (see below

Re: [Matplotlib-users] Fwd: Keep list of figures or plots and flip through list using UI

2015-02-18 Thread Thomas Caswell
Probably in the embedding examples. There was an effort to start a mpl specific cook book a while a ago based around a wx/glade example but I have lost track of where that is. Tom On Wed, Feb 18, 2015, 12:49 Ryan Nelson wrote: > Tom et al., > > I don't know about this exact application... Howe

Re: [Matplotlib-users] axes.get_position() inaccurate until after savefig()?

2015-02-18 Thread Ryan Nelson
I don't have an answer to your question exactly. But I'll just say that this does make sense. The aspect-corrected axes (after show) is a subset of what you originally asked for, i.e. the bottom is higher, and the height is smaller. My guess is that this is not calculated until the final rendering

Re: [Matplotlib-users] Fwd: Keep list of figures or plots and flip through list using UI

2015-02-18 Thread Ryan Nelson
Tom et al., I don't know about this exact application... However, a couple of months ago, I asked on the Scipy mailing list about updating the Scipy cookbook page for Qt/Matplotlib ( http://wiki.scipy.org/Cookbook/Matplotlib/Qt_with_IPython_and_Designer), but I never got a response. The cookbook e

[Matplotlib-users] Fwd: Keep list of figures or plots and flip through list using UI

2015-02-18 Thread Thomas Caswell
A good tutorial on how to make mpl play nice with QtDesigner would be a useful thing to have in the documentation. It would be appreciated if you could take a crack at writing that up. Tom -- Forwarded message - From: tenspd137 . Date: Wed Feb 18 2015 at 12:25:10 PM Subject: Re:

Re: [Matplotlib-users] what are the new features of nbagg?

2015-02-18 Thread Thomas Caswell
Emilia, There is not a 'whats new' for 1.4.3 as it is a bug fix release and should not have new features ;) The new features in nbagg are all related to improved handling of gui events, in particular keyboard and scroll wheel events. The best way to get a feel for what nbagg can do is to read thr

Re: [Matplotlib-users] Keep list of figures or plots and flip through list using UI

2015-02-18 Thread Thomas Caswell
Please ping the mailing list again (I cc'd the list on this). See https://github.com/tacaswell/leidenfrost/blob/master/leidenfrost/gui/reader_gui.py#L636 (sorry for the code quality, this is a bespoked gui I wrote as part of my PhD work, you might be the second person to ever read this code) for a

[Matplotlib-users] what are the new features of nbagg?

2015-02-18 Thread Emilia Petrisor
Hi all, I looked for a link where I could find out what’s new in matplotlib 1.4.3, but there is no one. Especially I’m interested in the new features of nbagg backend. All I know is what I read in an email here, namely that *The nbagg backend is looking great - some pretty swish new features*. Th

[Matplotlib-users] axes.get_position() inaccurate until after savefig()?

2015-02-18 Thread gdm
New matplotlib user here. Sometimes I like to make figures with multiple axes, and have lines that cross multiple axes. I've run in to problems with coordinates when doing this. One such problem is that axes.get_position() seems to return incorrect coordinates for an axes with a fixed aspect rat