gpt4 book ai didi

python - 如何在 matplotlib 上获取 XKCD 字体

转载 作者:太空狗 更新时间:2023-10-30 01:01:25 25 4
gpt4 key购买 nike

我已经设法在以下位置复制图表:

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

但是我的字体看起来不像那样。如何将文本字体更改为炫酷的 xkcd 字体?

最佳答案

引用 >>> help(plot.xkcd) 的输出:

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

关于python - 如何在 matplotlib 上获取 XKCD 字体,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26146780/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com