Re: [Matplotlib-users] dpi

2012-10-19 Thread Pierre Haessig
Hi, Le 19/10/2012 06:48, Jae-Joon Lee a écrit : Figuring out the dpi of the screen, I have no clue at this moment. Maybe this is something a gui expert can answer. I'm certainly not a gui expert, but as a PyQt user, I know screen resolution is indeed Python-accessible with PyQt. (I guess other

Re: [Matplotlib-users] dpi

2012-10-18 Thread Jae-Joon Lee
Yeah, that's what I feared. But in the mean time, are there any best practices to minimize undesired effects like the one above? For example, are there any other functions that need special parameters to not raster their output when writing to a vector format? And is there a way to get a

Re: [Matplotlib-users] dpi

2012-10-12 Thread Nikolaus Rath
Jae-Joon Lee lee.j.joon-re5jqeeqqe8avxtiumw...@public.gmane.org writes: On Fri, Oct 12, 2012 at 3:39 AM, Nikolaus Rath nikolaus-bth8mxji...@public.gmane.org wrote: matplotlib actually rescales the raw imshow data when saving to a vector format? Why is that? I think it should embed the bitmap

[Matplotlib-users] dpi

2012-10-11 Thread Nikolaus Rath
Hello, I'm confused by the dpi property of figures that can be set in matplotlibrc or passed to pyplot.figure(). It seems to me that dpi is really a property of the backend, not the figure, and the only place to specify it ought to be when saving into a bitmap file. For example, when showing a

Re: [Matplotlib-users] dpi

2012-10-11 Thread Damon McDougall
On Thu, Oct 11, 2012 at 4:00 PM, Nikolaus Rath nikol...@rath.org wrote: When saving the figure in some vector graphics format, I don't see what the meaning of the dpi is at all. Sure, I use `dpi=` all the time for vector formats. Purely because when you make calls to `imshow`, you get a

Re: [Matplotlib-users] dpi

2012-10-11 Thread Nikolaus Rath
Damon McDougall damon.mcdougall-re5jqeeqqe8avxtiumw...@public.gmane.org writes: On Thu, Oct 11, 2012 at 4:00 PM, Nikolaus Rath nikolaus-bth8mxji...@public.gmane.org wrote: When saving the figure in some vector graphics format, I don't see what the meaning of the dpi is at all. Sure, I use

Re: [Matplotlib-users] dpi

2012-10-11 Thread Jae-Joon Lee
On Fri, Oct 12, 2012 at 3:39 AM, Nikolaus Rath nikol...@rath.org wrote: matplotlib actually rescales the raw imshow data when saving to a vector format? Why is that? I think it should embed the bitmap with full resolution in the vector file and rely on the consumer of the vector file to scale