python-igraph API reference

List of all classes, functions and methods in python-igraph

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