When plotting, the number of decimals in the axis ticks is set by default, and they vary depending on the number, like in the y-axis in the picture:
I want to have them set to 2 by default, so that it will look like this:
For now, I have solved it in a bad way by stating
in other words, the ticks are dumb and will not change if the values of the axis change. There must be a better way of handeling this so that, irrespective of the values there will be a fixed set of decimals?