myfont=FontProperties(fname=r'C:\Windows\Fonts\simhei.ttf',size=14). sns.set(font=myfont.get_name()). 然后seaborn就可以显示中文了。
確定! 回上一頁