summaryrefslogtreecommitdiff
path: root/silx/gui/plot3d/tools/GroupPropertiesWidget.py
diff options
context:
space:
mode:
Diffstat (limited to 'silx/gui/plot3d/tools/GroupPropertiesWidget.py')
-rw-r--r--silx/gui/plot3d/tools/GroupPropertiesWidget.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/silx/gui/plot3d/tools/GroupPropertiesWidget.py b/silx/gui/plot3d/tools/GroupPropertiesWidget.py
index 5b0bcdb..ec995a3 100644
--- a/silx/gui/plot3d/tools/GroupPropertiesWidget.py
+++ b/silx/gui/plot3d/tools/GroupPropertiesWidget.py
@@ -1,7 +1,7 @@
# coding: utf-8
# /*##########################################################################
#
-# Copyright (c) 2018 European Synchrotron Radiation Facility
+# Copyright (c) 2018-2020 European Synchrotron Radiation Facility
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -161,6 +161,8 @@ class GroupPropertiesWidget(qt.QWidget):
else:
itemCmap.setColormapLUT(colormap.getColormapLUT())
itemCmap.setNormalization(colormap.getNormalization())
+ itemCmap.setGammaNormalizationParameter(
+ colormap.getGammaNormalizationParameter())
itemCmap.setVRange(colormap.getVMin(), colormap.getVMax())
else:
# Reset colormap