On 07/21/2010 05:26 PM, John Hunter wrote:
On Wed, Jul 21, 2010 at 10:09 PM, Tony S Yutsy...@gmail.com wrote:
Wow, I don't see that at all. I'm on OS X, mpl svn HEAD (r8567), and Qt4Agg.
I don't have GTK installed, so unfortunately, I can't really do a proper
comparison. Here's the output I
On 07/21/2010 05:26 PM, John Hunter wrote:
On Wed, Jul 21, 2010 at 10:09 PM, Tony S Yutsy...@gmail.com wrote:
Wow, I don't see that at all. I'm on OS X, mpl svn HEAD (r8567), and Qt4Agg.
I don't have GTK installed, so unfortunately, I can't really do a proper
comparison. Here's the output I
--- On Wed, 7/21/10, Tony S Yu tsy...@gmail.com wrote:
I get something similar with TkAgg (unfortunately, I get an
AttributeError with the macosx backend).
This is the AttributeError:
Traceback (most recent call last):
File Desktop/tight_layout.py, line 142, in module
tight_layout()
On Thu, Jul 22, 2010 at 7:40 AM, Michiel de Hoon mjldeh...@yahoo.com wrote:
Is a backend required to implement a get_renderer method? I only see it
implemented in backend_agg.py, and it's missing in backend_bases.py,
backend_template.py, backend_cairo.py, and in the macosx backend. If you
On Jul 22, 2010, at 8:59 AM, John Hunter wrote:
On Thu, Jul 22, 2010 at 7:40 AM, Michiel de Hoon mjldeh...@yahoo.com wrote:
Is a backend required to implement a get_renderer method? I only see it
implemented in backend_agg.py, and it's missing in backend_bases.py,
backend_template.py,
On Thu, Jul 22, 2010 at 8:57 AM, Tony S Yu tsyu80@
According to backend_bases.FigureCanvas, a renderer attr is not
guaranteed either.
The Agg* backends rely on get_renderer so that they can get a properly
sized renderer on figure resizes, dpi changes, etc. We could handle
this on the agg
--- On Thu, 7/22/10, John Hunter jdh2...@gmail.com wrote:
We could handle this on the agg side with a property,
or require all canvases to supply get renderer.
Do we actually need a renderer in each of the backends? At least when I was
writing the Mac OS X backend, it was not clear to me what
On Jul 22, 2010, at 10:07 AM, John Hunter wrote:
On Thu, Jul 22, 2010 at 8:57 AM, Tony S Yu tsyu80@
According to backend_bases.FigureCanvas, a renderer attr is not
guaranteed either.
The Agg* backends rely on get_renderer so that they can get a properly
sized renderer on figure resizes,
Unused whitespace is a pet-peeve of mine, so I tend to use bbox_inches='tight'
when saving figures. However, when producing publications, I want figures with
a very specific size (i.e., fit column width of page), but calling
bbox_inches='tight' changes the figure size. Stretching to fit is out
On Wed, Jul 21, 2010 at 10:09 PM, Tony S Yu tsy...@gmail.com wrote:
Wow, I don't see that at all. I'm on OS X, mpl svn HEAD (r8567), and Qt4Agg.
I don't have GTK installed, so unfortunately, I can't really do a proper
comparison. Here's the output I get from your modified script. I get
On Jul 21, 2010, at 11:26 PM, John Hunter wrote:
On Wed, Jul 21, 2010 at 10:09 PM, Tony S Yu tsy...@gmail.com wrote:
Wow, I don't see that at all. I'm on OS X, mpl svn HEAD (r8567), and Qt4Agg.
I don't have GTK installed, so unfortunately, I can't really do a proper
comparison. Here's the
11 matches
Mail list logo