Sort columns by stat in histplot #3311
-
I am using Could this be a feature you'd be interested in having in seaborn? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
would appreciate this. |
Beta Was this translation helpful? Give feedback.
-
It makes sense but it would be difficult-to-impossible to implement given the way the categorical unit handling works (the mapping between strings and integer positions is obtained before computing the statistics). If you compute the desired ordering yourself and use that to assign a Categorical dytpe, it should be respected. |
Beta Was this translation helpful? Give feedback.
It makes sense but it would be difficult-to-impossible to implement given the way the categorical unit handling works (the mapping between strings and integer positions is obtained before computing the statistics).
If you compute the desired ordering yourself and use that to assign a Categorical dytpe, it should be respected.