Python中seaborn画图中文字体
时间: 2023-11-05 07:38:43 浏览: 176
python中画图工具seaborn、plotly总结
设置方法是什么?
您可以使用以下代码来设置seaborn图形的字体:
import seaborn as sns
sns.set(font='Times New Roman')
# code for creating plots goes here
This will set the font used in seaborn plots to Times New Roman. You can change the font to any font that is installed on your system.
阅读全文