I am attempting to create a faceted plot of overlays of three groups within my dataset, however the groups are on different scales so when faceted two of the plots are squashed. Is there a way of accessing the facet kws that I have missed? Using the classic API there is access to the facet_kws
options to turn off sharing the y axis, but there does not seem to be a similar option through seaborn.objects. As I am trying to create faceted overlay plots, I would much prefer to stay within that environment.
Below is a snippet of my code to create the plot:
m_d111_subset
.pipe(
lambda df: so.Plot(df, x="i")
.facet('wavelength')
.add(so.Line(), y="bcorr")
.add(so.Dot(), y="peaks")
)
And the generated plot:
You are looking for Plot.share, i.e.
so.Plot(...)
.share(y=False)