spectrochempy.plot_merit#
- plot_merit(analysis_object, X=None, X_hat=None, index=None, *, ax=None, clear=True, title=None, show_yaxis=True, show=True, output=None, **kwargs)[source]#
Plot merit for an analysis object.
Delegates rendering to plot_compare().
- Parameters:
index (int or iterable of int, optional) – Restricts the plot to one reconstruction, or to one figure per value when an iterable is given. With no index, every reconstruction is overlaid on a single axes.
output (str or
pathlib.Path, optional) – File name where the completed merit plot is saved. It cannot be combined with an iterable ofindexvalues, because each index is rendered in its own figure; pass oneoutputper index in that case.**kwargs – Other parameters, such as
ax,clear,title,show_yaxis, andshow, are passed toplot_compare().
See also
plot_compareStandalone two-dataset comparison plot.