changed. However, if I just run the rc(font, **fontDict)
> command sequence first without ever trying the defaults
> fonts all goes well and I get a fine PS file. Evidently,
> some aspects of the old font are retained.
Are these effects observed within a single python session (all tests
in one script or a single interactive session from the shell).
matplotlib does cache some font information within a single run.
If it is *between* python sessions, you might want to try clearing the
font cache between runs and see if this makes a difference
> rm -rf ~/.matplotlib/ttffont.cache
JDH
The effects are observed from with a single python session.
Out of curiosity - Is there any way of clearing the cache within a session ?
Thanks
--Jim
···
On Mar 29, 2006, at 1:27 PM, John Hunter wrote:
> changed. However, if I just run the rc(font, **fontDict)
> command sequence first without ever trying the defaults
> fonts all goes well and I get a fine PS file. Evidently,
> some aspects of the old font are retained.
Are these effects observed within a single python session (all tests
in one script or a single interactive session from the shell).
matplotlib does cache some font information within a single run.
If it is *between* python sessions, you might want to try clearing the
font cache between runs and see if this makes a difference
rm -rf ~/.matplotlib/ttffont.cache
JDH