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 y-axis label should take into account histnorm and barnorm #2986

Closed
nicolaskruchten opened this issue Jul 19, 2019 · 3 comments · Fixed by #2989
Closed

histogram y-axis label should take into account histnorm and barnorm #2986

nicolaskruchten opened this issue Jul 19, 2019 · 3 comments · Fixed by #2989
Milestone

Comments

@nicolaskruchten
Copy link
Contributor

dupe of plotly/plotly_express#65 ?

@emmanuelle
Copy link
Contributor

This issue came up again in the community forum https://community.plot.ly/t/bug-report-on-px-histograms-histnorm-parameter/29092

@nicolaskruchten nicolaskruchten transferred this issue from plotly/plotly_express Dec 21, 2020
@nicolaskruchten nicolaskruchten added this to the v4.x milestone Dec 21, 2020
@nicolaskruchten
Copy link
Contributor Author

See also #2876

@nicolaskruchten nicolaskruchten changed the title histogram y-axis label should include histnorm histogram y-axis label should take into account histnorm and barnorm Dec 21, 2020
@nicolaskruchten
Copy link
Contributor Author

Something like:

  • <histnorm> when histfunc is null: "probability" (rather than "count (probability)")
  • <histnorm> of <histfunc> of <y> (<histnorm>): "density of sum of cost"
  • <histfunc> of <y> (normalized as <barnorm>): "count (normalized as percentage)" or "sum of cost (normalized as fraction)", and for non-hist bars, "cost (normalized as fraction)"

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 a pull request may close this issue.

2 participants