Made the 1d colormap contiguous. This makes the warning go away.

Also updated to use gloo functions according to other demos.
Rats. We should probably change the behavior so that a user can just do `.interpolation = 'linear'` with an attribute-setter, but let's hold off on that for now since I'm not sure what the state of things is in `gloo` (if now would be a good/bad time).