Point

class sherpa.plot.Point[source] [edit on github]

Bases: sherpa.utils.NoNewAttributesAfterInit

Base class for point plots

Attributes Summary

point_prefs

Methods Summary

point(x, y[, overplot, clearwindow])

Draw a point at the given location.

Attributes Documentation

point_prefs = {}

Methods Documentation

point(x, y, overplot=True, clearwindow=False, **kwargs)[source] [edit on github]

Draw a point at the given location.

Parameters
  • x – The coordinates of the plot.

  • y – The coordinates of the plot.

  • overplot (bool, optional) – If True then add the data to an existing plot, otherwise create a new plot.

  • clearwindow (bool, optional) – Should the existing plot area be cleared before creating this new plot (e.g. for multi-panel plots)?

  • **kwargs – These values are passed on to the plot backend, and must match the names of the keys of the object’s point_prefs dictionary.