From: James B. <bo...@ll...> - 2006-03-29 22:44:11
|
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: >>>>>> "James" == James Boyle <bo...@ll...> writes: > James> changed. However, if I just run the rc(font, **fontDict) > James> command sequence first without ever trying the defaults > James> fonts all goes well and I get a fine PS file. Evidently, > James> 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 > |