WestCoastProjects
WestCoastProjects

Reputation: 63259

How to set title on Seaborn JointPlot?

The JointPlot documentation does not show the title : can it be set?

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

enter image description here

Upvotes: 17

Views: 23858

Answers (1)

Ivo
Ivo

Reputation: 4200

this worked for me

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 

Upvotes: 38

Related Questions