I am wondering if there is any way in matplotlib to control the axes ticks with significant digits, instead of controling by the number of decimals. For instance, the following