ModelHistogram¶
-
class
sherpa.astro.plot.
ModelHistogram
[source] [edit on github]¶ Bases:
sherpa.plot.HistogramPlot
Derived class for creating 1D PHA model histogram plots
Attributes Summary
histo_prefs
Methods Summary
overplot
(*args, **kwargs)plot
([overplot, clearwindow])Plot the data. prepare
(data, model[, stat])Attributes Documentation
-
histo_prefs
= {}¶
Methods Documentation
-
overplot
(*args, **kwargs) [edit on github]¶
-
plot
(overplot=False, clearwindow=True, **kwargs) [edit on github]¶ Plot the data.
This will plot the data sent to the prepare method.
Parameters: - overplot (bool, optional) – If
True
then add the data to an exsiting 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 plot_prefs dictionary.
See also
- overplot (bool, optional) – If
-
prepare
(data, model, stat=None)[source] [edit on github]¶
-