pylbo.visualisation.spectra.spectrum_figure
Module Contents
Classes
Class to handle the creation of a figure window dedicated to different types of |
- class pylbo.visualisation.spectra.spectrum_figure.SpectrumFigure(custom_figure: tuple[matplotlib.figure.Figure, matplotlib.axes.Axes] = None, figlabel: str = None, figsize: tuple[int, int] = None)[source]
Bases:
pylbo.visualisation.figure_window.InteractiveFigureWindow
Class to handle the creation of a figure window dedicated to different types of spectrum figures.
- Parameters:
- draw()[source]
Called on plot refreshing, the super call clears the figure and then redraws everything.
- set_x_scaling(x_scaling)[source]
Sets the x scaling.
- Parameters:
x_scaling (int, float, complex, numpy.ndarray) – The scaling to apply to the x-axis.
- set_y_scaling(y_scaling)[source]
Sets the y scaling.
- Parameters:
y_scaling (int, float, complex, numpy.ndarray) – The scaling to apply to the y-axis