question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow reversing cumulative density when using kdeplot in distplot

See original GitHub issue

Rationale: 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:closed
  • Created 8 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
erinboylecommented, Mar 28, 2019

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.

0reactions
lbeltramecommented, Mar 26, 2015

That’s fine, I found a clean solution using statsmodels, so it should be good enough for me.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found