-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add example script making a Joy Divsion plot #1238
Conversation
Change in |
It's even simpler if you're not fussy, but where's the fun in that? g = sns.FacetGrid(df, row="g", hue="g", aspect=12, size=.5, palette="tab10")
g.map(sns.kdeplot, "x", clip_on=False, shade=True, alpha=1, bw=.25, lw=1.5)
g.add_legend(title="")
g.set_titles("")
g.fig.subplots_adjust(hspace=-.25)
g.despine(bottom=True, left=True)
g.set(yticks=[]) |
How would you feel about making this a high-level function, just like |
I would be opposed. |
Why? maintenance overhead? |
I think they're fundamentally pretty gimmicky and not actually a good way to visualize data. The point of the example is mostly to take something people think is neat and use it to demonstrate how to go beyond the normal usage pattern for |
I don't know... Yes it is a popular gimmick nowadays, but I think it would be useful in Particularly, it would fill in a gap where we currently have no high-level way to facet Whether it is as a useful visualisation feature, that's subjective, but in my opinion it's great if:
Twitter has a few nice examples (1, 2, 3). Even though they do not meet all the criteria above. I think I've seen a similar visualisation in the lab as well, I think FACS uses a similar visualisation for its results, which means people familiar with it would find these easy to understand too. |
I remain unconvinced, but I'll remind you that |
People seem really interested in these lately, anyway, it's not too hard
¯\_(ツ)_/¯