Ask Your Question
4

The message "font family 'serif' not found" is reported by Matplotlib.

asked 2023-05-11 21:54:29 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-05-11 22:04:01 +0000

qstack gravatar image

This error message is related to the use of fonts in Matplotlib. When Matplotlib cannot find the specified font family, it will return this error message. The font family 'serif' is a general classification of fonts that includes Times New Roman, Georgia, and other similar fonts. To fix this error, you can try installing the missing font or specifying a different font family in your Matplotlib code. You can also use the default font family by omitting the font specification in your code.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-11 21:54:29 +0000

Seen: 8 times

Last updated: May 11 '23