![](/img/trans.png)
[英]In jointplot when using seaborn, how to set another legend in figure
[英]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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.