Skip to content

plot

Module for plotting functions and helpers

Functions

scilightcon.plot.add_watermark(target, loc='lower left')

Add watermark to current axis or figure

Parameters:

Name Type Description Default
target (Axes, Figure)

Axis or Figure object

required
loc str

Location of the watermark (upper right|upper left|lower left|lower right|center left|center right|lower center|upper center|center). Default value is center when target is figure and lower left for target is axis

'lower left'

scilightcon.plot.add_watermarks(fig)

Adds watermarks to all subplots of given figure

Parameters:

Name Type Description Default
fig Figure

Figure object (use plt.gcf() for current figure)

required

scilightcon.plot.apply_style()

Applies the Light Conversion stylesheet and load additional colormaps (RdYlGnBu, beam_profile, LCBeamProfiler, morgenstemning) to matplotlib

scilightcon.plot.reset_style()

Applies the default matplotlib stylesheet