PerceptuallyUniformColormap.set_gamma¶
-
PerceptuallyUniformColormap.
set_gamma
(gamma=None, gamma1=None, gamma2=None)[source]¶ Modify the gamma value(s) and refresh the lookup table.
- Parameters
gamma (float, optional) – Sets
gamma1
andgamma2
to this identical value.gamma1 (float, optional) – If >1, makes low saturation colors more prominent. If <1, makes high saturation colors more prominent. Similar to the HCLWizard option. See
make_mapping_array
for details.gamma2 (float, optional) – If >1, makes high luminance colors more prominent. If <1, makes low luminance colors more prominent. Similar to the HCLWizard option. See
make_mapping_array
for details.