Skip to main content

Module artist

Module artist 

Source
Expand description

Artist types – data + styling for each visual chart element.

Artists are the data-carrying objects stored in Axes. Each artist type holds the data-space geometry and styling for one visual element. When the figure is rendered, the renderer iterates over the artist list and draws each one according to its variant.

§Variants

VariantDescription
LineA polyline connecting (x, y) points.
ScatterIndividual markers at (x, y) positions.
BarVertical or horizontal bars over categories.
HistogramBinned frequency distribution of a single series.
FillBetweenShaded region between two y-series.

Structs§

BarArtist
A bar chart rendering vertical or horizontal bars over categorical data.
FillBetweenArtist
A filled region between two y-series that share a common x-series.
HistArtist
A histogram showing the frequency distribution of a single data series.
LineArtist
A line chart connecting a sequence of (x, y) data points.
ScatterArtist
A scatter plot rendering individual markers at (x, y) positions.

Enums§

Artist
A visual element drawn on an axes.