python-igraph API reference

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

class documentation

class DescartesCoordinateSystem(CoordinateSystem):

View In Hierarchy

Class implementing a 2D Descartes coordinate system object.

Property bbox Returns the bounding box of the coordinate system
Method bbox.setter Sets the bounding box of the coordinate system
Property bounds Returns the lower and upper bounds of the X and Y values
Method bounds.setter Sets the lower and upper bounds of the X and Y values
Method draw Draws the coordinate system.
Method local_to_context Converts local coordinates to the context coordinate system (given by the bounding box).
Instance Variable _bbox Undocumented
Instance Variable _bounds Undocumented
Instance Variable _ox Undocumented
Instance Variable _ox2 Undocumented
Instance Variable _oy Undocumented
Instance Variable _oy2 Undocumented
Method _recalc_scale_factors Recalculates some cached scale factors used within the class
Instance Variable _sx Undocumented
Instance Variable _sy Undocumented

Inherited from AbstractCairoDrawer (via CoordinateSystem):

Instance Variable context Undocumented
Method _mark_point Marks the given point with a small circle on the canvas. Used primarily for debugging purposes.
def __init__(self, context, bbox, bounds):

Initializes the coordinate system.

Parameterscontextthe context on which the coordinate system will be drawn.
bboxthe bounding box that will contain the coordinate system.
boundsminimum and maximum X and Y values in a 4-tuple.
_bounds =

Undocumented

_sx =

Undocumented

_sy =

Undocumented

_ox =

Undocumented

_oy =

Undocumented

_ox2 =

Undocumented

_oy2 =

Undocumented

@property
bbox =

Returns the bounding box of the coordinate system

@property
bounds =

Returns the lower and upper bounds of the X and Y values

@bbox.setter
def bbox(self, bbox):

Sets the bounding box of the coordinate system

@bounds.setter
def bounds(self, bounds):

Sets the lower and upper bounds of the X and Y values

def _recalc_scale_factors(self):

Recalculates some cached scale factors used within the class

def draw(self):

Draws the coordinate system.

def local_to_context(self, x, y):

Converts local coordinates to the context coordinate system (given by the bounding box).

API Documentation for python-igraph, generated by pydoctor 21.2.2 at 2021-06-11 17:33:49.