plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

[Feature Request] Simple independent axes for facet_row and facet_col

Open EmreAtes opened this issue 1 year ago • 1 comments

Right now it is possible to have independent axes labels/ticks for facets using this trick: https://stackoverflow.com/questions/60997189/how-can-i-make-faceted-plots-in-plotly-have-their-own-individual-yaxes-tick-labe

However, it is kind of hard to remember the 4-line solution by heart.

Is it possible to add something like independent_facet_y=True in the kwargs for plots that support facet? For plots where e.g., facet is age and y axis is height, it's very difficult to interpret data since the smaller values are basically invisible without doing this.

Ideally setting the flag would display axes ticks for each plot and scale the plots according to each facet's range.

For example, seaborn has sharex and sharey arguments that basically do this https://seaborn.pydata.org/generated/seaborn.catplot.html#seaborn-catplot

EmreAtes avatar Feb 23 '24 15:02 EmreAtes

Thanks for the suggestion, @EmreAtes

Coding-with-Adam avatar Feb 28 '24 14:02 Coding-with-Adam