BUG: colorbar autoscaling now ensures a finite range of values

Closes #2642.
Merge pull request #2858 from efiring/colorbar_one_value

BUG: colorbar autoscaling now ensures a finite range of values