Fonts for matplotlib -------------------- Make sure the right fonts are installed: ``` sudo apt-get install ttf-lyx2.0 ``` There is some conflict with `lyx` fonts, so we first remove them and remove the matplotlib font cache: ``` sudo dpkg --remove --force-depends fonts-lyx rm ~/.cache/matplotlib/fontList.cache # rm ~/.matplotlib/fontList.cache # older ubuntus ``` Then we need to plot something to recreate the matplotlib font cache: ``` make cleanplots make plots ``` You should better NOT reinstall ``` sudo apt-get install fonts-lyx ``` to give back the fonts to lyx.