On Thu, Jan 20, 2011 at 2:09 PM, Uri Laserson <laser...@mit.edu> wrote: > Hi all, > I recently reinstalled MPL from scratch on top of python2.7 that I built > from scratch using homebrew on OS X Snow Leopard. Since then, I have been > getting the following types of warnings whenever I plot something: > /Users/laserson/matplotlib/lib/python2.7/site-packages/matplotlib/font_manager.py:1242: > UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to > Bitstream Vera Sans > (prop.get_family(), self.defaultFamily[fontext])) > Do I need to specify some configuration parameter to point somewhere that > the installer couldn't find? > Thanks! > Uri
I had the same problem when I upgraded from python 2.6 to 2.7. For me, the issue turned out to be with my matplotlib font cache, which was stored in my matplotlib config directory. On linux it is in .matplotlib directory in the home directory, I am not sure if this is where it is on a mac. I deleted the fontList.cache file and the tex.cache directory stored there, and that fixed the problem. I am not sure you need to delete both of these, but since they were just caches I went ahead and did so. -Todd ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users