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

[bug] Suboptimal number formatting for trendline coefficients in plotly.express #1984

Closed
emmanuelle opened this issue Dec 6, 2019 · 1 comment · Fixed by #2087
Closed
Milestone

Comments

@emmanuelle
Copy link
Contributor

In https://github.com/plotly/plotly.py/blob/master/packages/python/plotly/plotly/express/_core.py#L239 we should use %g instead of %f so that enough significant digits are displayed even for very small numbers (for the slope in particular). Raised by https://community.plot.ly/t/how-to-extend-ols-trendline/32270

@emmanuelle emmanuelle added this to the v4.3.1 milestone Dec 6, 2019
@emmanuelle
Copy link
Contributor Author

@nicolaskruchten do you agree that this should be changed?

@jonmmease jonmmease modified the milestones: v4.3.1, v4.5.0 Dec 10, 2019
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