dpi

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 figure on the screen, I really want
matplotlib to use the physical dpi of the monitor rather than any
default value. When saving the figure in some vector graphics format, I
don't see what the meaning of the dpi is at all.

Am I missing something?

Best,

   -Nikolaus

···

--
»Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C

Sure, I use `dpi=` all the time for vector formats. Purely because
when you make calls to `imshow`, you get a rasterised image embedded
in a figure with vector text and tickmarks and labels, for example.

···

On Thu, Oct 11, 2012 at 4:00 PM, Nikolaus Rath <Nikolaus@...3072...> wrote:

When saving the figure in some vector graphics format, I
don't see what the meaning of the dpi is at all.

--
Damon McDougall
http://www.damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom