Plotly backend#

Plotly interface layer.

Notes#

visuals are returned, but it seems modifying them won’t modify the figure.

Object creation and I/O#

create_plotting_grid(number[, rows, cols, ...])

Create a figure with a grid of plotting targets in it.

show(figure)

Show the provided plotly layout.

Geoms#

line(x, y, target, *[, color, alpha, width, ...])

Interface to plotly for a line plot.

multiple_lines(x, y, target, *[, color, ...])

Plot multiple lines on a single Plotly target using shared x-values.

scatter(x, y, target, *[, size, marker, ...])

Interface to plotly for a scatter plot.

text(x, y, string, target, *[, size, alpha, ...])

Interface to plotly for adding text to a plot.

Plot appeareance#

title(string, target, *[, size, color])

Interface to plotly for adding a title to a plot.

ylabel(string, target, *[, size, color])

Interface to plotly for adding a label to the y axis.

xlabel(string, target, *[, size, color])

Interface to plotly for adding a label to the y axis.

xticks(ticks, labels, target, *[, rotation])

Interface to plotly for setting ticks and labels of the x axis.

yticks(ticks, labels, target, *[, rotation])

Interface to plotly for setting ticks and labels of the y axis.

ticklabel_props(target, *[, axis, size, color])

Interface to plotly for setting ticks size.

remove_ticks(target, *[, axis])

Interface to plotly for removing ticks from a plot.

remove_axis(target[, axis])

Interface to plotly for removing axis from a plot.

Legend#

legend(target, kwarg_list, label_list[, ...])

Generate a legend with plotly.