module documentation

Undocumented

Function find_plotly Tries to import the plotly Python module if it is installed. Returns a fake module if everything fails.
Function format_arc Approximation of an SVG-style arc
Function format_path_step Format step in SVG path for plotly
Function format_rgba Format colors in a way understood by plotly
def find_plotly():

Tries to import the plotly Python module if it is installed. Returns a fake module if everything fails.

Returns
AnyUndocumented
def format_arc(center, radius_x, radius_y, theta1, theta2, N=100, closed=False):

Approximation of an SVG-style arc

NOTE: plotly does not currently support the native SVG "A/a" commands

def format_path_step(code, point_or_points):

Format step in SVG path for plotly

def format_rgba(color):

Format colors in a way understood by plotly