|
def | __init__ (self, display, verbose=False, interpretMaskBits=True, mtvOrigin=afwImage.PARENT, fastMaskDisplay=True, reopenPlot=False, args, kwargs) |
|
def | savefig (self, args, kwargs) |
|
def | show_colorbar (self, show=True) |
|
def | wait (self, prompt="[c(ontinue) p(db)] :", allowPdb=True) |
|
Provide a matplotlib backend for afwDisplay
Recommended backends in notebooks are:
%matplotlib notebook
or
%matplotlib ipympl
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 , |
|
|
|
fastMaskDisplay = True , |
|
|
|
reopenPlot = False , |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
Initialise a matplotlib display
@param fastMaskDisplay If True, only show the first bitplane that's set in each pixel
(e.g. if (SATURATED & DETECTED), ignore DETECTED)
Not really what we want, but a bit faster
@param interpretMaskBits Interpret the mask value under the cursor
@param mtvOrigin Display pixel coordinates with LOCAL origin
(bottom left == 0,0 not XY0)
@param reopenPlot If true, close the plot before opening it.
(useful with e.g. %ipympl)