eran
eran

Reputation: 15136

How to get XKCD font on matplotlib

I've managed to replicate the graphs in:

http://matplotlib.org/xkcd/examples/showcase/xkcd.html

However my font does not look like that. How do I change the text font to the cool xkcd font?

Upvotes: 6

Views: 4861

Answers (1)

Robᵩ
Robᵩ

Reputation: 168766

Quoting from the output of >>> help(plot.xkcd):

For best results, the "Humor Sans" font should be installed: it is
not included with matplotlib.

Upvotes: 7

Related Questions