Point
- class sherpa.plot.Point[source] [edit on github]
Bases:
NoNewAttributesAfterInit
Base class for point plots
Attributes Summary
The preferences for the plot.
Methods Summary
point
(x, y[, overplot, clearwindow])Draw a point at the given location.
Attributes Documentation
- point_prefs = {'alpha': None, 'capsize': None, 'ecolor': None, 'label': None, 'linecolor': None, 'linestyle': 'solid', 'linewidth': None, 'marker': 'None', 'markerfacecolor': None, 'markersize': None, 'xerrorbars': False, 'xlog': False, 'yerrorbars': False, 'ylog': False}
The preferences for the plot.
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.