-
-
Notifications
You must be signed in to change notification settings - Fork 1
Comments
Definitely interested in this feature, also having different scales for different facets. I didn't immediately see how to do this. |
Indeed, we don't have a free-scales feature at the moment, but we can look at adding it when we add facet-wrapping. |
Hey! I was trying to generate a facetted scatter plot using a single dimension/column which has about 80-90 unique entries using |
I am also very interested in having the equivalent of seaborn's |
Could you introduce a new column(" |
@chriddyp Thanks for the suggestion, that would work around the problem for my own visualization needs. One of the reasons I am interested in plotly express is for teaching people new to programmatic data visualization. For this purpose it would be great if there is a wrapping parameter, since that would be easier to understand. |
@chriddyp's workaround is the best way forward right now, and we're very keen to add this to our library... Pull requests are welcome, of course, if someone wants to give it a shot before we get around to it :) The API I would aim for is basically the same as Seaborn's, and the modifications would be in https://github.com/plotly/plotly.py/blob/master/packages/python/plotly/plotly/express/_core.py (basically wherever We could also think about synthesizing a "row number" into the data frame higher up in the pipeline and reusing the existing logic. |
Hmm, maybe I misunderstood the proposed workaround initially... I just tried adding row numbers to simulate Initially, I thought that empty columns would be removed and wrapped around like in this mockup: The current plotly express behavior makes more sense than what I was thinking, but I am suspecting this means I misunderstood what you meant when you proposed the workaround @chriddyp and @nicolaskruchten. In this example, how would you add row numbers to the "Sun, Sat, Thur, and Fri" observations to achieve the desired wrap around behavior? |
Yeah... This is going to be a pretty rough workaround until we implement this for real: you'd have to provide your own row and column, and on top of that you wouldn't get per-subplot titles, you'd be stuck with the per-column and per-row "row_number=1" type labelling, unless you added your own annotations. |
Beautiful! Thanks for your responsiveness! |
No description provided.
The text was updated successfully, but these errors were encountered: