plotly / plotly.py

The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
https://plotly.com/python/
MIT License
16.06k stars 2.54k forks source link

add new option to labels: 'consistent' #4672

Open gvwilson opened 2 months ago

gvwilson commented 2 months ago

It would be good to have an option to have the number of decimals in axis labels behave consistently.

Current default: 10 12.5 15 17.5

Desired outcome: 10.0 12.5 15.0 17.5

Proposed change:

Add a new option to tickformat parameter named 'consistent', which will make sure that the number of decimals is always aligned.