How can I truncate trailing zeros in decimal numbers displayed when using scientific notation on axis labels?

@joelostblom

No apologies necessary; constructive discussion is good in my view.

Your point about how things are done in this example is well taken.

I personally find this behavior annoying in all packages (including MATLAB and matplotlib that is designed to be MATLAB-like in syntax and behavior). And I often end up customizing the tick labels so that the labels are consistent, e.g. 0.010 , 0.020 in your example. So, this is the opposite of what you’re trying to achieve in some respects.

I am just a user stating my preferences so I certainly don’t have a strong opinion about how things should work by default. And I can work within the choices provided by the designers in cases such as this.

Just pointing out when I see an argument like precision, I’d expect it to make things uniform and consistent when used. If that doesn’t hold in examples you see, I’d be interested to know if that’s by design or how it can be addressed if it is unintended behavior.