lsst.display.matplotlib  master-gb963a833dc+16
Public Member Functions | List of all members
lsst.display.matplotlib.matplotlib.DisplayImpl Class Reference
Inheritance diagram for lsst.display.matplotlib.matplotlib.DisplayImpl:

Public Member Functions

def __init__ (self, display, verbose=False, interpretMaskBits=True, mtvOrigin=afwImage.PARENT, args, kwargs)
 
def show_colorbar (self, show=True)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

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)

Member Function Documentation

◆ show_colorbar()

def lsst.display.matplotlib.matplotlib.DisplayImpl.show_colorbar (   self,
  show = True 
)
Show (or hide) the colour bar

The documentation for this class was generated from the following file: