pylbo.visualisation.spectra.spectrum_merged

Classes

MergedSpectrumPlot

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

Functions

_check_deprecations(→ None)

Module Contents

pylbo.visualisation.spectra.spectrum_merged._check_deprecations(kwargs: dict) None[source]
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[source]

The dataseries passed as parameter.

Type:

LegolasDataSeries

leg_handle[source]

The handler for the legend.

Type:

LegendHandler

data[source]
leg_handle[source]
has_single_color[source]
_use_legend[source]
_interactive[source]
add_spectrum()[source]

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

add_eigenfunctions()[source]

Adds the eigenfunctions to the current figure.

abstract add_continua(interactive=True)[source]