Skip to content
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

Kernel Density Estimation #205

Merged
merged 5 commits into from
Jun 20, 2023
Merged

Kernel Density Estimation #205

merged 5 commits into from
Jun 20, 2023

Conversation

ecomodeller
Copy link
Member

A KDE plot is one of the best ways to compare multiple distributions.

@ecomodeller
Copy link
Member Author

image

@jsmariegaard
Copy link
Member

😍

@ecomodeller
Copy link
Member Author

image

@ecomodeller ecomodeller marked this pull request as ready for review June 15, 2023 13:35
@ecomodeller ecomodeller requested a review from jsmariegaard June 15, 2023 13:35
Copy link
Member

@jsmariegaard jsmariegaard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this addition. Thanks a lot.

A few comments though:

  • I somehow like the "clean" plot, but I think it breaks the style of the other plots - and is not the same as you would get (and expect) from df.plot.kde() - on the other hand it is a bit hard to make use of numbers on the density axis if it was present...
  • In the long run, I think all our plots should go in a "plotter" similar to pandas and mikeio, so the syntax would be cmp.plot.kde() and cmp.plot.hist() etc - but this should not be part of this PR

@ecomodeller
Copy link
Member Author

I love this addition. Thanks a lot.

A few comments though:

  • I somehow like the "clean" plot, but I think it breaks the style of the other plots - and is not the same as you would get (and expect) from df.plot.kde() - on the other hand it is a bit hard to make use of numbers on the density axis if it was present...
  • In the long run, I think all our plots should go in a "plotter" similar to pandas and mikeio, so the syntax would be cmp.plot.kde() and cmp.plot.hist() etc - but this should not be part of this PR

Agree on both😉

@ecomodeller ecomodeller merged commit 7ac869c into main Jun 20, 2023
@ecomodeller ecomodeller deleted the kde branch June 20, 2023 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants