LSSTApplications  18.0.0+54,19.0.0,19.0.0+1,19.0.0+16,19.0.0+17,19.0.0+19,19.0.0+24,19.0.0+3,19.0.0-1-g20d9b18+10,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+10,19.0.0-1-g6fe20d0+2,19.0.0-1-g8c57eb9+10,19.0.0-1-gbfe0924+1,19.0.0-1-gdc0e4a7+15,19.0.0-1-ge272bc4+10,19.0.0-1-ge3aa853+1,19.0.0-14-gbb28fe44+1,19.0.0-16-g8258e2a+1,19.0.0-2-g0d9f9cd+17,19.0.0-2-g260436e+1,19.0.0-2-g9b11441+4,19.0.0-2-gd955cfd+23,19.0.0-3-g6513920+1,19.0.0-3-gc4f6e04,19.0.0-4-g41ffa1d+3,19.0.0-4-g725f80e+19,19.0.0-4-ga8eba22,19.0.0-5-g0745e3f+1,19.0.0-5-gd943061d,19.0.0-6-gb6b8b0a+1,19.0.0-7-ge358e0fc4,19.0.0-7-gea0a0fe+6,w.2020.03
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