python matplotlib怎么输出汉语

2025年03月19日 02:47
有2个网友回答
网友(1):

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

网友(2):

用label试试看。