pylbo.visualisation.spectra.spectrum_merged

Module Contents

Classes

MergedSpectrumPlot

Merges the datasets from a given series into a single plot.

class pylbo.visualisation.spectra.spectrum_merged.MergedSpectrumPlot(data, figsize, custom_figure, interactive, legend, **kwargs)[source]

Bases: pylbo.visualisation.spectra.spectrum_figure.SpectrumFigure

Merges the datasets from a given series into a single plot.

Parameters:
  • data (LegolasDataSeries) – The dataseries which will be merged.

  • figsize (tuple) – Figure size used when creating a window, analogous to matplotlib.

  • custom_figure (tuple) – The custom figure to use in the form (fig, axes).

  • interactive (bool) – If True an interactive legend is enabled.

  • legend (bool) – If False no legend will be drawn.

data

The dataseries passed as parameter.

Type:

LegolasDataSeries

leg_handle

The handler for the legend.

Type:

LegendHandler

add_spectrum()[source]

Adds the spectrum to the plot, makes the points pickable.

add_eigenfunctions()[source]

Adds the eigenfunctions to the current figure.

add_derived_eigenfunctions()[source]

Adds the derived eigenfunctions to the current figure.

abstract add_continua(interactive=True)[source]