From: John H. <jd...@gm...> - 2009-04-29 15:08:45
|
On Tue, Apr 28, 2009 at 11:24 PM, Jae-Joon Lee <lee...@gm...> wrote: > On Tue, Apr 28, 2009 at 11:09 PM, John Hunter <jd...@gm...> wrote: > > If you want the relative fontsizes in the figure window and saved figure > to > > agree, pass the same "dpi" to the figure command and savefig command. > > John, > I thought the font size (which is specified in points) is independent > of dpi, i.e., font size in "pixel" actually scales with the dpi. I > think it should be filed as a bug if the relative font size depends on > the dpi. > > Anyhow, I just did a quick test and the (relative) font size does not > seem to vary with dpi. Hmm, I must have been confused. In older versions of mpl, as you increased the dpi the fonts looked larger in relation to the rest of the figure, and that is what I was remembering. I just ran a few tests and they do scale as expected, so sorry for the noise |