如何调节seaborn里字体大小?

  统计/机器学习 数据可视化 Python    浏览次数:16538        分享
0

如何调节seaborn里字体大小?比如sns.barplot里就不支持fontsize

 

魏哲   2018-09-22 09:47



   1个回答 
2

importseaborn之后通过set设置字号大小的缩放程度

import seaborn as sns
sns.set(font_scale=1.5)
SofaSofa数据科学社区DS面试题库 DS面经

maxroot   2018-09-25 12:17



  相关讨论

如何用matplotlib在3D空间呈现x^2+y^2?

用matplotlib.pyplot作图时,调整标题中文字的大小

获取seaborn color_palette里每个颜色的rgb数值?

plt.bar怎么设置每个bar的颜色?

plt.scatter中c参数和cmap参数的区别是什么?

plt.scatter plot怎么让不同的类别有不同的颜色

可视化InvocationException: GraphViz's executables not found

怎么在matplotlib.pyplot的plot上加上文字?

plt.scatter画多个散点图,在legend中显示图例大小却不一样

plt.plot作图,隐藏坐标轴

  随便看看

pandas.DataFrame选取最后k行

micro和macro F1 score分别是什么意思?

python或者numpy求数值的中位数、四分位数

numpy.array转换为图片并显示出来

sklearn可以用gpu加速吗?