I’m using display = afwDisplay.Display(frame=fig) to display a cutout image. I defined the scale of the image using display.scale(“asinh”, “zscale”). I’m trying to invert the zscale so that the darker regions are bright and the brighter regions are dark.
Hi @dehiggin,
You could try using the setImageColormap function (defined here) to change the color map such that the inverted version is used.
For example, if you are using the notebook DP02_03a_Image_Display_and_Manipulation, you can invert the colors of the image in Sec 3.1 by modifying the cell as follows:
Note that the added line was display.setImageColormap("gray_r"), where “_r” should invert the color map used. And I believe “gray” is the default colormap.