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

Histogram default to density=True #143

Merged
merged 3 commits into from
Oct 10, 2022
Merged

Histogram default to density=True #143

merged 3 commits into from
Oct 10, 2022

Conversation

ecomodeller
Copy link
Member

The purpose of the SingleObsComparer.hist() and the ComparerCollection.hist() should be to compare distributions. not counts. The number of observations can be wildly different from the number of modelled data, which makes comparing counts pretty useless.

@ecomodeller
Copy link
Member Author

Before:
image

After:
image

@ecomodeller ecomodeller marked this pull request as ready for review October 10, 2022 11:51
@ecomodeller
Copy link
Member Author

I also considered to add a Plotly histogram, but concluded that it was not very useful.

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.

Great stuff!

@jsmariegaard jsmariegaard merged commit 418f142 into main Oct 10, 2022
@jsmariegaard jsmariegaard deleted the hist_density branch October 10, 2022 14:09
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