繁体   English   中英

如何在 Seaborn JointPlot 上设置标题?

[英]How to set title on Seaborn JointPlot?

JointPlot文档没有显示标题:可以设置吗?

http://seaborn.pydata.org/generated/seaborn.jointplot.html?highlight=reg

在此处输入图片说明

这对我有用

p = sns.jointplot(x = 'x_', y = 'y_', data = df, kind="kde")
p.fig.suptitle("Your title here")
p.ax_joint.collections[0].set_alpha(0)
p.fig.tight_layout()
p.fig.subplots_adjust(top=0.95) # Reduce plot to make room 

JointPlot文档未显示标题:可以设置吗?

http://seaborn.pydata.org/generation/seaborn.jointplot.html?highlight=reg

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM