Issue with installed font

I’m trying to install a font (Atlas Typewrite). When I run
from matplotlib import font_manager
font_manager.findSystemFonts(fontpaths=None, fontext=“ttf”)

it shows up in the list of fonts

‘/Users/gracecolverd/Library/Fonts/AtlasTypewriter-Regular.ttf’,

but when i run

font_manager.findfont(‘Atlas Typewriter’)

I get

findfont: Font family [‘Atlas Typewriter Regular’] not found. Falling back to DejaVu Sans.

Try removing the font cache in ~/.cache/maplotlib.

We cache the fonts on your system (becuase it can be (very) expensive to enumerate tham), but that means if you install a new font we will miss it. Removing the cache file will trigger a re-generation on the next import.