Visual elements#

Intermediate level visuals elements.

The visuals module provides backend-agnostic functionality. That is, the functions in this module take a set of arguments, take care of backend-agnostic processing of those arguments and eventually they call the requested plotting backend.

Data plotting elements#

line(da, target, backend[, xname])

Plot a line along the y axis with x being the range of len(y).

line_xy(da, target, backend, **kwargs)

Plot a line x vs y.

line_x(da, target, backend[, y])

Plot a line along the x axis (y constant).

scatter_x(da, target, backend[, y])

Plot a dot/rug/scatter along the x axis (y constant).

ecdf_line(values, target, backend, **kwargs)

Plot an ecdf line.

Data and axis annotating elements#

annotate_label(da, target, backend, *, ...)

Annotate a dimension or aesthetic property.

point_estimate_text(da, target, backend, *, ...)

Annotate a point estimate.

labelled_title(da, target, backend, *, ...)

Add a title label to a plot using an ArviZ labeller.

labelled_y(da, target, backend, *[, text, ...])

Add a y label to a plot using an ArviZ labeller.

labelled_x(da, target, backend, *[, text, ...])

Add a x label to a plot using an ArviZ labeller.

Plot customization elements#

ticklabel_props(da, target, backend, **kwargs)

Set the size of ticks.

remove_axis(da, target, backend, **kwargs)

Dispatch to remove_axis function in backend.

remove_ticks(da, target, backend, **kwargs)

Dispatch to remove_axis function in backend.