Andrew Straw wrote:
> I was thinking I want an exact a replica of the wx API as possible,
well, I'm a big fan of wx.Sizers, but we all know that they confuses folks.
Given that grid-like layouts are likely to be the most common with MPL,
maybe just make a GridBagSizer, and forget the rest? All t
Hi Ken,
Thanks for your comments.
Ken McIvor wrote:
>1. It appears that as_sizer_element() uses the _axes_sizer_elements
>dictionary to cache MplAxesSizerElement instances. Using a
>WeakKeyDictionary from the "weakref" module instead of a regular
>dictionary may be necessary to allow the
> "JIM" == JIM MacDonald <[EMAIL PROTECTED]> writes:
JIM> My second problem involved the resolutions of the image. I'd
JIM> like to preserve the resolution of my image in the PS output,
JIM> but I can't figure out how to stop the image being resized
JIM> and interpolated. Obv
> I don't think this is a problem with the postscript backend. You're rescaling
> the image in your script. Try something like this:
>
> from pylab import *
>
> rc('text', usetex=True)
> rc('ps', usedistiller="xpdf")
>
> figure(1,figsize=(6, 4))
> im=imread('image.png')
> imshow(im,interpolation='n
> Would you post an example where the ps2pdf flags make a big difference on the
> output? I just tried with the above png, but I cant tell the difference
> between the results with/without the new flags.
http://jimmacdonald.co.uk/matplotlib/MPD_SinPulse_g0.500.png
JIM
---
On Mon, Jul 31, 2006 at 10:19:46AM -0400, Darren Dale wrote:
> I see. Thanks for pointing this out and providing the solution. The flags you
> suggested are passed to ps2pdf as of svn 2639.
Great ! Thanks.
I like open source software so much because of these little details
:->.
--
On Monday 31 July 2006 10:05, Gael Varoquaux wrote:
> On Mon, Jul 31, 2006 at 10:01:23AM -0400, Darren Dale wrote:
> > Would you post an example where the ps2pdf flags make a big difference on
> > the output? I just tried with the above png, but I cant tell the
> > difference between the results wi
On Mon, Jul 31, 2006 at 10:01:23AM -0400, Darren Dale wrote:
> Would you post an example where the ps2pdf flags make a big difference on the
> output? I just tried with the above png, but I cant tell the difference
> between the results with/without the new flags.
Last image of http://scipy.org/
Great. Thanks John.
There was one other thing I forgot to mention.
I added two lines (+comment) in the backend_wx.py to select the
Pan/Zoom tool by default.
If you don't like that, then obviously just leave those lines out,
But I find that pan/zoom is what I want to do 90% of the time, and
zoom is
On Monday 31 July 2006 09:32, JIM MacDonald wrote:
> > I'll look into this soon. I'm hesitant to add another rc option, maybe we
> > can consider using these settings as the defaults. I'll post again after
> > I have had a chance to play with it.
>
> Defaulting to lossless FlateEncode compression s
On Monday 31 July 2006 09:32, JIM MacDonald wrote:
> > The resolution for Postscript is 72 dpi, and I'm not sure this can be
> > changed. Would you send me an example postscript file along with the
> > original png?
>
> Sure,
> http://jimmacdonald.co.uk/matplotlib/image.png
> http://jimmacdonald.co
> I'll look into this soon. I'm hesitant to add another rc option, maybe we can
> consider using these settings as the defaults. I'll post again after I have
> had a chance to play with it.
Defaulting to lossless FlateEncode compression seems like a good idea,
if the file is too big you can always
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes:
Eric> return newtrans if not units == 'inches': raise
Eric> ValueError('units must be dots or inches') if fig is None:
This all looks great and I like the interface. My only suggestions is
to add points (1/72. inches) since this is c
> "Bill" == Bill Baxter <[EMAIL PROTECTED]> writes:
Bill> Ok. Such a pain though... Are whole files acceptable
Bill> instead of diffs? It's relatively easy to do a windiff or
Multiple contributions per patch are fine, just do like you did and
list what is in them. If there is an o
John,
I will respond to the more philosophical parts of your message later.
I have committed changes to _transforms.* and transforms.py along the
lines of your suggestions for a quick improvement to the ease of drawing
with offsets.
> The best way may be for the extension code to provide a sh
15 matches
Mail list logo