[Matplotlib-users] custom fonts in matplotlib graphs

Thomas Caswell tcaswell at gmail.com
Thu Jul 19 16:59:48 EDT 2018

The font cache is in `~/.cache/matplotlib`

How are you specifying the font to be used?


On Tue, Jul 17, 2018 at 2:45 PM Matthew Bradley <mbatr27 at gmail.com> wrote:

> Hi all:
> I’ve added a courier.ttf file to my font library and included the font in
> the matplotlibrc file in my site packages and rebuilt the cache file. I
> still get an error message that the font can’t be found and I can’t find
> any system or matplotlib cache files using the finder to delete them. Have
> any of you encountered this problem? How can I get matplotlib to recognize
> my new font.
> System information:
> Matplotlib 2.2.02
> Mac OS El Capitan
> Python 3.6
> And I have the .ttf file in both my system font library and in the
> matplotlib font library
> Thanks!
> --
> Matthew Bradley
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users

Thomas Caswell
tcaswell at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20180719/51d51060/attachment-0001.html>

More information about the Matplotlib-users mailing list