I'm trying to plot a seaborn joint plot, but the axis lines are not connected. How can I connect the marginal axes back to the main plot?
sns_plot = sns.jointplot(x = 'f48', y= x,data=df,
kind ='kde',
cmap = 'plasma')
sns_plot.set_axis_labels(xlabel = 'CD',ylabel = 'x position', size =14)
plt.suptitle('joint plot',y = 0.97, size =24) # title
plt.tight_layout()
plt.show()
jointplot
adds padding between the axes:Connect the marginal axes by setting
space=0
: