combine different seaborn facet grids into single plot

Viewed 7088

I have three different data sets where I produce a facetplot, each

a = sns.FacetGrid(data1, col="overlap",  hue="comp")
a = (g.map(sns.kdeplot, "val",bw=0.8))

b = sns.FacetGrid(data2, col="overlap",  hue="comp")
b = (g.map(sns.kdeplot, "val",bw=0.8))

c = sns.FacetGrid(data3, col="overlap",  hue="comp")
c = (g.map(sns.kdeplot, "val",bw=0.8))

Each of those plots has three subplots in one row, so in total I have nine plots.

I would like to combine these plots, in a subplots setting like this

f, (ax1, ax2, ax3) = plt.subplots(3,1)
ax1.a
ax2.b
ax3.c

How can I do that?

1 Answers
Related