get_pdf_plot

sherpa.astro.ui.get_pdf_plot()

Return the data used to plot the last PDF.

Returns:

plot – An object containing the data used by the last call to plot_pdf. The fields will be None if the function has not been called.

Return type:

a sherpa.plot.PDFPlot instance

See also

plot_pdf

Plot the probability density function of an array.