Defining “Computer Modern” as default font familly is very convenient when using Plots.jl default gr() backend, as per this other post.

However, using the pyplot or pythonplot backends issues the warning message:

findfont: Font family ['Computer Modern'] not found.


Is it possible to fix this font problem?

Since no one else is answering, here’s some input, maybe useful: Computer Modern is Knuth’s font for TeX. In the post you reference it’s however being used by MathJax so it’s not clear to me what’s happening here. The suggestion of using “Computer Modern” may be specific to that setup with specific backends. In any case, I’m not sure that Computer Modern is a good font choice, Knuth last updated it in 1992. I’m sure there are better, TTF or OTF, font available now.

using Plots; pythonplot(dpi=100)

findfont: Font family 'cm' not found.