I would like to have the smallest step of my diagrams xaxis be 1. Meaning that if the xaxis goes from 0 to 1, lilaq does not insert ticks at 0.2, 0.4, 0.6, …
What I currently have:
What I want to have:
I tried setting subticks to none. tick-distance: 1, which is what I did for the desired image, but if the values get larger, a tick for every integer value is too much.
And lilaq seems to still automatically make the ticks be nice values (which is exactly what I want in this case, but is not what I expected), as for the data in the image below, the max value is 144, thus xtick-distance would be 29, and not 30:
You can either let Lilaq decide on the tick-distance or pass it manually. There is no in-between.
What you could try is to compute the range of the axis (max - min) and only set the tick-distance to 1 for small ranges but leave it at auto if the range is sufficiently large.