Fixes and improvements to palettes and LinearColorMapper

issues: fixes #1545
Just wondering why you remove the `pass`??