python matplotlib怎么输出汉语

2025-03-19 02:47:52
推荐回答(2个)
回答1:

编码问题。使用utf-8编码就可以了
在比如:u'需要输入的汉字’ 这样就可以显示正确的汉字了

回答2:

用label试试看。