LSSTApplications  17.0+10,17.0+51,17.0+88,18.0.0+10,18.0.0+15,18.0.0+34,18.0.0+4,18.0.0+6,18.0.0-2-ge43143a+6,18.1.0-1-g0001055+2,18.1.0-1-g0896a44+10,18.1.0-1-g1349e88+9,18.1.0-1-g2505f39+7,18.1.0-1-g380d4d4+9,18.1.0-1-g5e4b7ea+2,18.1.0-1-g7e8fceb,18.1.0-1-g85f8cd4+7,18.1.0-1-g9a6769a+3,18.1.0-1-ga1a4c1a+6,18.1.0-1-gc037db8+2,18.1.0-1-gd55f500+3,18.1.0-1-ge10677a+7,18.1.0-10-g73b8679e+12,18.1.0-12-gf30922b,18.1.0-13-g451e75588,18.1.0-13-gbfe7f7f,18.1.0-2-g31c43f9+7,18.1.0-2-g9c63283+9,18.1.0-2-gdf0b915+9,18.1.0-2-gf03bb23+2,18.1.0-3-g52aa583+3,18.1.0-3-g8f4a2b1+1,18.1.0-3-g9cb968e+8,18.1.0-4-g7bbbad0,18.1.0-5-g510c42a+8,18.1.0-5-ga46117f,18.1.0-5-gaeab27e+9,18.1.0-6-gdda7f3e+11,18.1.0-8-g4084bf03+1,w.2019.34
LSSTDataManagementBasePackage
Classes | Functions
lsst.meas.modelfit.display.densityPlot Namespace Reference

Classes

class  CrossPointsLayer
 
class  DensityPlot
 
class  ExampleData
 
class  HistogramLayer
 
class  ScatterLayer
 
class  SurfaceLayer
 

Functions

def hide_xticklabels (axes)
 
def hide_yticklabels (axes)
 
def mergeDefaults (kwds, defaults)
 
def demo ()
 

Function Documentation

◆ demo()

def lsst.meas.modelfit.display.densityPlot.demo ( )
Create and return a DensityPlot with example data.

Definition at line 489 of file densityPlot.py.

489 def demo():
490  """Create and return a DensityPlot with example data."""
491  fig = matplotlib.pyplot.figure()
492  p = DensityPlot(fig, primary=ExampleData())
493  p.layers['histogram'] = HistogramLayer('primary')
494  p.layers['surface'] = SurfaceLayer('primary')
495  p.draw()
496  return p

◆ hide_xticklabels()

def lsst.meas.modelfit.display.densityPlot.hide_xticklabels (   axes)

Definition at line 46 of file densityPlot.py.

46 def hide_xticklabels(axes):
47  for label in axes.get_xticklabels():
48  label.set_visible(False)
49 
50 

◆ hide_yticklabels()

def lsst.meas.modelfit.display.densityPlot.hide_yticklabels (   axes)

Definition at line 51 of file densityPlot.py.

51 def hide_yticklabels(axes):
52  for label in axes.get_yticklabels():
53  label.set_visible(False)
54 
55 

◆ mergeDefaults()

def lsst.meas.modelfit.display.densityPlot.mergeDefaults (   kwds,
  defaults 
)

Definition at line 56 of file densityPlot.py.

56 def mergeDefaults(kwds, defaults):
57  copy = defaults.copy()
58  if kwds is not None:
59  copy.update(**kwds)
60  return copy
61 
62