arpes.plotting.fits.plot_fit#

arpes.plotting.fits.plot_fit(model_result, ax=None)[source]#

Performs a straightforward plot of the data, residual, and fit to an axis.

When the “fit_results” is the return of S.modelfit, the argument of this function is fit_results.modelfit_results[n].item(), where n is the index.

The role of this function is same as the ModelResult.plot(), but in less space than it.

Parameters:
  • model_result – [TODO:description]

  • ax – Axes on which to plot.

Returns:

description]

Return type:

[TODO