get_fit_plot

sherpa.ui.get_fit_plot(id=None)

Return the data used by plot_fit.

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:data – An object representing the data used to create the plot by plot_fit. It contains the data from get_data_plot and get_model_plot in the dataplot and modelplot attributes.
Return type:a sherpa.plot.FitPlot instance

See also

get_data_plot_prefs()
Return the preferences for plot_data.
get_model_plot_prefs()
Return the preferences for plot_model.
get_default_id()
Return the default data set identifier.
plot_data()
Plot the data values.
plot_model()
Plot the model for a data set.

Examples

>>> fplot = get_fit_plot()