Fix issue where colour scale wasn't updating on changing the metric #19