BkgDataPlot

class sherpa.astro.plot.BkgDataPlot[source]

Bases: sherpa.plot.DataPlot

Derived class for creating plots of background counts

Attributes Summary

plot_prefs

Methods Summary

hline(y[, xmin, xmax, linecolor, linestyle, …]) Draw a line at constant y, extending over the plot.
overplot(*args, **kwargs) Add the data to an existing plot.
plot([overplot, clearwindow])
prepare(data[, stat])
vline(x[, ymin, ymax, linecolor, linestyle, …]) Draw a line at constant x, extending over the plot.

Attributes Documentation

plot_prefs = {'barsabove': False, 'capsize': None, 'color': None, 'ecolor': None, 'linecolor': None, 'linestyle': 'None', 'marker': '.', 'markerfacecolor': None, 'markersize': None, 'ratioline': False, 'xaxis': False, 'xerrorbars': False, 'xlog': False, 'yerrorbars': True, 'ylog': False}

Methods Documentation

static hline(y, xmin=0, xmax=1, linecolor=None, linestyle=None, linewidth=None, overplot=False, clearwindow=True)

Draw a line at constant y, extending over the plot.

overplot(*args, **kwargs)

Add the data to an existing plot.

plot(overplot=False, clearwindow=True)
prepare(data, stat=None)
static vline(x, ymin=0, ymax=1, linecolor=None, linestyle=None, linewidth=None, overplot=False, clearwindow=True)

Draw a line at constant x, extending over the plot.