【发布时间】:2021-09-29 20:34:39
【问题描述】:
我想根据一个数据框制作一个图表,该数据框有一列包含汉字。但是字符不会显示在图表上,我收到了这个错误。
C:\Users\march\anaconda3\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 19996 missing from current font.
font.set_text(s, 0.0, flags=flags
this is the picture of the graph.
提前致谢!
【问题讨论】:
-
这能回答你的问题吗? How to display Chinese in matplotlib plot
标签: python-3.x dataframe matplotlib