You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #1265, there is sometimes an issue finding a font on the system and you'll see the following message:
findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans.
I found you can get around this by removing a matplotlib cache so that matplotlib rebuilds the font cache the next time it runs:
rm -r ~/.cache/matplotlib/
Apparently, Sherlock only has dejavu sans installed as a font so you might need to copy arial.ttf from $PI_HOME/.fonts/arial.ttf (this is from my local font directory /usr/share/fonts/truetype/msttcorefonts/arial.ttf) to ~/.fonts/ and then remove the matplotlib cache.
The text was updated successfully, but these errors were encountered:
After #1265, there is sometimes an issue finding a font on the system and you'll see the following message:
I found you can get around this by removing a matplotlib cache so that matplotlib rebuilds the font cache the next time it runs:
Apparently, Sherlock only has dejavu sans installed as a font so you might need to copy arial.ttf from
$PI_HOME/.fonts/arial.ttf
(this is from my local font directory/usr/share/fonts/truetype/msttcorefonts/arial.ttf
) to~/.fonts/
and then remove the matplotlib cache.The text was updated successfully, but these errors were encountered: