spym.plotting package

Module contents

class spym.plotting.Plotting(spym_instance)[source]

Bases: object

Plotting.

hvplot(title=None, **kwargs)[source]

Plot data with custom parameters using hvplot.

Parameters:
  • title – (optional) title of the figure (string). By default gives some basic information on the data plotted. Pass an empty string to disable it.

  • **kwargs – any argument accepted by hvplot() function.

plot(title=None, waterfall=False, waterfall_limit=15, **kwargs)[source]

Plot data with custom parameters using matplotlib.

Parameters:
  • title – (optional) title of the figure (string). By default gives some basic information on the data plotted. Pass an empty string to disable it.

  • waterfall – (optional) boolean determining if plot spectrum data as waterfall (default is False).

  • waterfall_limit – (optional) number of spectra above which spectrum data is plotted as image instead of waterfall (default is 15).

  • **kwargs – any argument accepted by xarray.plot() function.