Re: [matplotlib-devel] Inches?

2007-11-05 Thread Paul Kienzle
On Sat, Nov 03, 2007 at 05:43:55PM +0100, Olivier Verdier wrote: > This is much worse than I thought. The "inch" unit is used in many places in > matplotlib. In particular in `figure` and `savefig`. Please, please consider > allowing other units. Let me emphasise this once more: in Europe, and, I >

Re: [matplotlib-devel] Inches?

2007-11-03 Thread Olivier Verdier
This is much worse than I thought. The "inch" unit is used in many places in matplotlib. In particular in `figure` and `savefig`. Please, please consider allowing other units. Let me emphasise this once more: in Europe, and, I believe in most places around the world, one NEVER uses inches. Neither

Re: [matplotlib-devel] Inches?

2007-10-30 Thread Mark Bakker
Just to clarify: the OFFICIAL definition of an inch is 2.54 cm. So rounding errors shouldn't be much of a problem. > Date: Mon, 29 Oct 2007 09:37:06 -0400 > From: Michael Droettboom <[EMAIL PROTECTED]> > > I agree that we have to remain in inches internally. Non-metric units > are pretty ingrain

Re: [matplotlib-devel] Inches?

2007-10-29 Thread Christopher Barker
Eric Firing wrote: > Somewhere along the line, it may make sense to support the metric system > better in mpl. It seems to me that the "right" way to do this is to use some sort of "array-with_units" class. Then what MPL would except was a "length", and the user would specify what they want. i.

Re: [matplotlib-devel] Inches?

2007-10-29 Thread Michael Droettboom
I agree that we have to remain in inches internally. Non-metric units are pretty ingrained in the printing world (not just in matplotlib) -- Postscript, for example, always does page sizes in inches, even if you're using a "metric" page size like A4. The current definition of a point as 1/72

Re: [matplotlib-devel] Inches?

2007-10-28 Thread Eric Firing
Coincidentally, I was just thinking about this a couple days ago, when reviewing the units kwarg of the colorbar. I decided then that adding a cm option just wasn't worth even the small amount of extra code; inches are fairly deeply embedded, as witness the standard "dpi" way of specifying pix

[matplotlib-devel] Inches?

2007-10-28 Thread Olivier Verdier
Hi! I really enjoy using matplotlib but something is strange with the units used for the figure size. It seems that it must be in inches? (I'm thinking of the figure.figsize value in matplotlibrc, for instance). Of course if one knows how long an inch is (apparently 2.5 cm) it's not difficult t