BUG: colorbar autoscaling now ensures a finite range of values

Closes #2642.