wulfric.PlotlyEngine.plot_line#
method
- PlotlyEngine.plot_line(start_point, end_point, color='#000000', legend_label=None, legend_group=None, row=1, col=1)[source]#
Plots a single line between
start_pointtoend_point.- Parameters:
- start_point(3, ) array-like
First end of the line.
- end_point(3, ) array-like
Second point of the line.
- colorstr, default "#000000"
Color of the line. Any value that is supported by Plotly.
- legend_labelstr, optional
Label of the line that is displayed in the figure.
- legend_groupstr, optional
Legend's group. If
None, then defaults to the random string of 10 characters.- rowint, default 1
Row of the subplot.
- colint, default 1
Column of the subplot.