Fix auto_ticks near-inf values calculations

When start value is near 0.0 and end value is near inf then this expression can overflow.
```
end + (tick_interval / 2.0)
```
If `tick_interval` is an integer then `start` will be an integer as well and this call to `isinf` will raise a `TypeError`.