Formatting, make sure that ticks_per_cm is always a float