prototypical_spectra_plot

pyeem.plots.prototypical_spectra_plot(dataset, results_df, plot_type='imshow', fig=None, fig_kws={}, plot_kws={}, cbar_kws={}, **kwargs)

Plot the prototypical spectra from the calibration samples.

Parameters
  • dataset (pyeem.datasets.Dataset) – [description]

  • results_df (pandas.DataFrame) – [description]

  • plot_type (str, optional) – [description]. Defaults to “imshow”.

  • fig (matplotlib.pyplot.figure, optional) – [description]. Defaults to None.

  • fig_kws (dict, optional) – Optional keyword arguments to include for the figure. Defaults to {}.

  • plot_kws (dict, optional) – Optional keyword arguments to include. They are sent as an argument to the matplotlib plot call. Defaults to {}.

  • cbar_kws (dict, optional) – Optional keyword arguments to include for the colorbar. Defaults to {}.

Returns

[description]

Return type

matplotlib.axes.Axes