We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19253de commit ac0a2e1Copy full SHA for ac0a2e1
1 file changed
include/polyscope/scalar_quantity.ipp
@@ -357,6 +357,7 @@ template <typename QuantityT>
357
QuantityT* ScalarQuantity<QuantityT>::setMapRange(std::pair<double, double> val) {
358
vizRangeMin = val.first;
359
vizRangeMax = val.second;
360
+ colorBar.colormapRange = std::pair<float, float>(vizRangeMin.get(), vizRangeMax.get());
361
requestRedraw();
362
return &quantity;
363
}
0 commit comments