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
…
Uri Laserson
Graduate Student, Biomedical Engineering
Harvard-MIT Division of Health Sciences and Technology
M +1 917 742 8019
laserson@…1166…
2011/1/20 Uri Laserson <laserson@...1166...>:
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]))
I'm not sure what you mean by "using homebrew" (is this a software
package or do you mean you compiled it yourself), but have you
specified anything special in your matplotlibrc?
Friedrich
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
···
On Thu, Jan 20, 2011 at 2:09 PM, Uri Laserson <laserson@...1166...> 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
Homebrew is a newish package management system that is Git-based:
http://mxcl.github.com/homebrew/
…
Uri Laserson
Graduate Student, Biomedical Engineering
Harvard-MIT Division of Health Sciences and Technology
M +1 917 742 8019
laserson@…1166…
···
On Fri, Jan 21, 2011 at 12:27, Friedrich Romstedt <friedrichromstedt@…287…> wrote:
2011/1/20 Uri Laserson <laserson@…1166…>:
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]))
I’m not sure what you mean by “using homebrew” (is this a software
package or do you mean you compiled it yourself), but have you
specified anything special in your matplotlibrc?
Friedrich
2011/1/21 todd rme <toddrme2178@...287...>:
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.
It's ~/.matplotlib/fontList.cache on Mac too.
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.
Friedrich
Problem solved. Thanks!
Uri
…
Uri Laserson
Graduate Student, Biomedical Engineering
Harvard-MIT Division of Health Sciences and Technology
M +1 917 742 8019
laserson@…2705…66…
···
On Fri, Jan 21, 2011 at 12:44, todd rme <toddrme2178@…287…> wrote:
On Thu, Jan 20, 2011 at 2:09 PM, Uri Laserson <laserson@…1166…> 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