Allow reversing cumulative density when using kdeplot in distplot
See original GitHub issueRationale: I can invert the cumulative histogram in matplotlib
, so it would be nice if I could reverse also the result of kdeplot
when using distplot
.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Plot CDF + cumulative histogram using Seaborn
kdeplot (s, cumulative=True) , but I want something that can do both in Seaborn, just like when plotting a distribution with sns.distplot(s) ,...
Read more >seaborn.kdeplot — seaborn 0.12.1 documentation - PyData |
KDE represents the data using a continuous probability density curve in one or more dimensions. The approach is explained further in the user...
Read more >Visualizing the distribution of a dataset — seaborn 0.9.0 ...
To illustrate this, let's remove the density curve and add a rug plot, ... We can see that if we use the kdeplot()...
Read more >Using distplot to generate a reverse cumulative distribution ...
Hello, I am using the user-written command "distplot" from Nick Cox (Stata Journal) in Stata/SE for Mac 13.1. I would like to create...
Read more >CS109A - Lab 5: Exploratory Data Analysis, seaborn, more ...
You can use that object as you would in matplotlib : f, (ax1, ax2) = plt.subplots(2) sns.regplot(x, y, ax=ax1) sns.kdeplot(x, ax=ax2) ax1 =...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think this has real use @mwaskom . I’m trying to show what fraction of clients at my company have accumulated at least N datapoints. Cumulative in the normal direction is showing me how many clients have accumulated at most N datapoints – much less relevant to the question we’re interested in. I’m using
plt.hist
instead since they offer reverse, but far prefer seaborn’s formatting.That’s fine, I found a clean solution using statsmodels, so it should be good enough for me.