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

ENH: automatic detection of floating precision needed for axis #30

Open
axelfahy opened this issue Oct 1, 2019 · 0 comments
Open

ENH: automatic detection of floating precision needed for axis #30

axelfahy opened this issue Oct 1, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@axelfahy
Copy link
Owner

axelfahy commented Oct 1, 2019

Currently, the floating precision is hard-coded as followed:

ax.yaxis.set_major_formatter(
    mpl.ticker.FuncFormatter(lambda x, p: f'{x:,.1f}')
)

Change to detect automatically the number of decimal needed on the plot.

@axelfahy axelfahy added the enhancement New feature or request label Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant