Skip to content

ENH/VIS: KDE plot can be cumulative #7134

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

Closed
wants to merge 1 commit into from
Closed

Conversation

sinhrks
Copy link
Member

@sinhrks sinhrks commented May 15, 2014

I sometimes want cumulative density plot for distribution comparison. Added cumulative to KDE plot, like matplotlib.pyplot.hist.

import pandas as pd
import numpy as np

s = pd.Series(np.random.randn(100))
s.plot(kind='kde', cumulative=True)

figure_1

@jreback
Copy link
Contributor

jreback commented May 15, 2014

@TomAugspurger didn't we have a discussion about not adding this once before? (as its in statsmodels)

@TomAugspurger
Copy link
Contributor

Yep. It's implemented in seaborn now. See the very end of this section. It basically wraps statsmodels' / scipy's kde function.

@TomAugspurger
Copy link
Contributor

This was the issue: #2669

Basically decided it was out of scope for pandas, especially since there are so many great plotting alternatives being built.

@jreback
Copy link
Contributor

jreback commented May 15, 2014

closing as out-of-scope

@jreback jreback closed this May 15, 2014
@sinhrks
Copy link
Member Author

sinhrks commented May 17, 2014

Ah, OK. I thought it is kind of stacked=True operation though.

@sinhrks sinhrks deleted the kdecum branch November 14, 2015 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants