Plotting#

VisualAstro plotting modules.

Axes and Limits#

set_limits

Set the limits of a Matplotlib Axes.

Colors and Colorsets#

See the color guide and colorset guide for usage examples.

Colors()

Query and plot registered VisualAstro named colors.

Colorsets()

Query and plot registered VisualAstro colorsets.

Legends#

legend

Create a legend on the specified axes with configuration defaults.

Images#

color_image

Make and show a color image.

Spectra#

Plotting functions:

plot_spectrum

Plot all spectra in a Spectrum on a Matplotlib Axes.

Line annotations:

spectral_elbow_markers

Plot one elbow marker per spectral line, with the label displaced in x.

spectral_markers

Plot prong markers at spectral line positions with optional labels.

spectral_vlines

Plot full-height vertical lines at spectral line positions with optional labels.