Fix ticks when logarithmic scale and min < 1.