aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scatterplot.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scatterplot.cpp b/scatterplot.cpp
index 7f15eaf..c5678ec 100644
--- a/scatterplot.cpp
+++ b/scatterplot.cpp
@@ -39,6 +39,7 @@ void Scatterplot::setColorScale(const ColorScale &colorScale)
if (m_colorData.n_elem > 0) {
m_colorScale.setExtents(m_colorData.min(), m_colorData.max());
m_shouldUpdateMaterials = true;
+ update();
}
}