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

Also updated to use gloo functions according to other demos.
flake8
Merge pull request #276 from per42/fix/discont

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