如何在 matplotlib 上获取 XKCD 字体 [英] How to get XKCD font on matplotlib
本文介绍了如何在 matplotlib 上获取 XKCD 字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我设法将图形复制到:
http://matplotlib.org/xkcd/examples/showcase/xkcd.html
但是我的字体看起来不是这样.如何将文本字体更改为炫酷的xkcd字体?
However my font does not look like that. How do I change the text font to the cool xkcd font?
推荐答案
引自 >>> 的输出帮助(plot.xkcd)
:
For best results, the "Humor Sans" font should be installed: it is
not included with matplotlib.
这篇关于如何在 matplotlib 上获取 XKCD 字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文