Worries with ~/.matplotlib and fonts

Hello,

I ahve several installation of matplotlib on several computers with
different OS but the same HOME directory.
Matplotlib caches a lot of stuff in ~/.matplotlib, like fonts, but
they are not located in the same folder in different computers I use.
The issue is that the cache makes matplotlib raise an exception at
import time. Would it be possible not to use the cache if the fonts
mentioned int he cache are not available?

Matthieu

···

--
Information System Engineer, Ph.D.
Blog: http://matt.eifelle.com
LinkedIn: http://www.linkedin.com/in/matthieubrucher

There is a fix for this in SVN in r8712 that will make it into the next release.

In the meantime, as a workaround, you can safely delete the font cache file in

~/.matplotlib/fontList.cache

Mike

···

On 10/04/2010 08:44 AM, Matthieu Brucher wrote:

Hello,

I ahve several installation of matplotlib on several computers with
different OS but the same HOME directory.
Matplotlib caches a lot of stuff in ~/.matplotlib, like fonts, but
they are not located in the same folder in different computers I use.
The issue is that the cache makes matplotlib raise an exception at
import time. Would it be possible not to use the cache if the fonts
mentioned int he cache are not available?

Matthieu
   
--
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA

Excellent !

Thank you for the future fix! Will this release make it before the
next EPD release?

Matthieu

2010/10/4 Michael Droettboom <mdroe@...86...>:

···

There is a fix for this in SVN in r8712 that will make it into the next
release.

In the meantime, as a workaround, you can safely delete the font cache
file in

~/.matplotlib/fontList.cache

Mike

On 10/04/2010 08:44 AM, Matthieu Brucher wrote:

Hello,

I ahve several installation of matplotlib on several computers with
different OS but the same HOME directory.
Matplotlib caches a lot of stuff in ~/.matplotlib, like fonts, but
they are not located in the same folder in different computers I use.
The issue is that the cache makes matplotlib raise an exception at
import time. Would it be possible not to use the cache if the fonts
mentioned int he cache are not available?

Matthieu

--
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Information System Engineer, Ph.D.
Blog: http://matt.eifelle.com
LinkedIn: http://www.linkedin.com/in/matthieubrucher