BUG: raise on invalid colormap for older mpl

closes #4215