plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

enable setting `xtick` to Integers Only

Open RoyiAvital opened this issue 1 year ago • 0 comments

It would be great both to have auto mode for the xticks yet being able to set them to be integer values only.

One could set them manually but them the auto scaling is gone. Yet in some cases one would like to have only integers. Yet setting the format to d might yield the same value number of time (1, 1.25, 1.5, 1.75, 2 will be mapped to 1, 1, 1, 2, 2 while one would like to have only 1 and 2 [Or others yet with auto range on]).

RoyiAvital avatar Jul 28 '24 08:07 RoyiAvital