get_source_plot¶
-
sherpa.ui.
get_source_plot
(id=None)¶ Return the data used by plot_source.
Parameters: id (int or str, optional) – The data set that provides the data. If not given then the default identifier is used, as returned by get_default_id. Returns: An object representing the data used to create the plot by plot_source. The return value depends on the data set (e.g. 1D binned or un-binned). Return type: instance See also
get_model_plot()
- Return the data used by plot_model.
plot_model()
- Plot the model for a data set.
plot_source()
- Plot the source expression for a data set.
Examples
>>> splot = get_source_plot()
>>> splot1 = get_source_plot(id='jet') >>> splot2 = get_source_plot(id='core')