AnsweredAssumed Answered

Matplotlib Font Family Not Found

Question asked by LeviCecil on Nov 29, 2017

I have a script that makes charts. I've been running this script for many months across multiple computers on our network with different versions of Python with no trouble. Today I'm getting this error: 

 

UserWarning: findfont: Font family [u'Bitstream Vera Sans'] not found. Falling back to DejaVu Sans. 

 

This is screwing up my charts. I've tried deleting the matplotlib font cache file, and that hasn't helped. That's the only solution I've been able to find online. I haven't added any fonts or changed anything else on the system or in the script. I also did a disk cleanup and restart and it didn't help. This is happening on a Windows 7 machine running Python 2.7.8. 

Outcomes