lsst.display.matplotlib
16.0-3-gcfd6c53+31
|
Public Member Functions | |
def | __init__ (self, display, verbose=False, interpretMaskBits=True, mtvOrigin=afwImage.PARENT, args, kwargs) |
def | show_colorbar (self, show=True) |
def | setImageColormap (self, cmap) |
Provide a matplotlib backend for afwDisplay Recommended backends in notebooks are: %matplotlib notebook or %matplotlib qt %gui qt or %matplotlib inline or %matplotlib osx Apparently only qt supports Display.interact(); the list of interactive backends is given by lsst.display.matplotlib.interactiveBackends
def lsst.display.matplotlib.matplotlib.DisplayImpl.__init__ | ( | self, | |
display, | |||
verbose = False , |
|||
interpretMaskBits = True , |
|||
mtvOrigin = afwImage.PARENT , |
|||
args, | |||
kwargs | |||
) |
Initialise a matplotlib display @param interpretMaskBits Interpret the mask value under the cursor @param mtvOrigin Display pixel coordinates with LOCAL origin (bottom left == 0,0 not XY0)
def lsst.display.matplotlib.matplotlib.DisplayImpl.setImageColormap | ( | self, | |
cmap | |||
) |
Set the colormap used for the image cmap is a string to be interpreted by the backend; where possible a string such as "gray" will be honoured, but backend specific values are also permitted
def lsst.display.matplotlib.matplotlib.DisplayImpl.show_colorbar | ( | self, | |
show = True |
|||
) |
Show (or hide) the colour bar