Fix ticks inf

Update implementation of https://github.com/enthought/chaco/pull/126

This would be better as `float("inf")`.