On Wed, Jun 11, 2008 at 10:14 AM, John Hunter <[EMAIL PROTECTED]> wrote:

> Interesting.  When I plot it on my screen it looks correct with a *Agg
> GUI backend.  But when I save it (either from the GUI or using
> savefig) it has the problem you describe.  This suggests to me that
> either some cached information or something is not getting notified of
> the different default dpi in savefig.  I'll look into it.  Since PS is
> dpi independent, it would not affect it.

Well, my diagnosis wasn't correct, but I fixed the problem.  In the
caching of the text layout, we were not taking into account the
different renderers in the cache key.  Since PS has a nominal dpi
setting that is ignored by postscript, the differences in dpi were not
getting picked up in the layout cache.  The solution I implemented was
to simply add the renderer id to the property tuple used for caching.
Fixed in svn r5470.

JDH

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to