I want to use the seaborn JointGrid/jointplot.
In the middle I would like to add a sns.regplot. On the Margins two sns.distplots or histograms.
Thats not a problem, but I would like to custmize all three pplots differently and add different fiiting functions and labels to all three of them.
But I cant solve the problem, how to get the instances of the plots if i just use the predifined method:
g = sns.JointGrid(x="total_bill", y="tip", data=tips)
g = g.plot(sns.regplot, sns.distplot)
to manually manipulated those. Or the other way around to create one regplot and two distplot instances, which I define the way I wnat and then add them to the JointGrid, something in the meaning of, but unfortinaltely, these below methods don't exist or don't work that way:
g = sns.JointGrid(x="total_bill", y="tip", data=tips)
g.add_joint(myreg) # That would be great but doesn't work
g.ax_marg_x.add(mydist1) # Just invented code
g.ax_marg_y.add(mydist2) # Just to show you, the way I'd like to solve the issue
Can you give me an advice, how to get around this issue?