Fixed _format_labels in tile.py for np.inf.

Since the fractional part of np.inf is 0.0 it is enough to change the
formatter string in this case to the (nearly) equivalent "%.0f".