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

class documentation

`class CoordinateSystem(AbstractCairoDrawer):`

Known subclasses: `igraph.drawing.coord.DescartesCoordinateSystem`

Class implementing a coordinate system object.

Coordinate system objects are used when drawing plots which 2D or 3D coordinate system axes. This is an abstract class which must be extended in order to use it. In general, you'll only need the documentation of this class if you intend to implement an own coordinate system not present in igraph yet.

Method | `__init__` |
Initializes the coordinate system. |

Method | `draw` |
Draws the coordinate system. |

Method | `local_to_context` |
Converts local coordinates to the context coordinate system (given by the bounding box). |

Inherited from `AbstractCairoDrawer`

:

Method | `bbox.setter` |
Sets the bounding box of the drawing area where this drawer will draw. |

Instance Variable | `context` |
Undocumented |

Property | `bbox` |
The bounding box of the drawing area where this drawer will draw. |

Method | `_mark_point` |
Marks the given point with a small circle on the canvas. Used primarily for debugging purposes. |

Instance Variable | `_bbox` |
Undocumented |

def __init__(self, context, bbox):

overridden in

`igraph.drawing.coord.DescartesCoordinateSystem`

Initializes the coordinate system.

Parameters | |

context | the context on which the coordinate system will be drawn. |

bbox | the bounding box that will contain the coordinate system. |

def draw(self):

overridden in

`igraph.drawing.coord.DescartesCoordinateSystem`

Draws the coordinate system.

This method must be overridden in derived classes.

def local_to_context(self, x, y):

overridden in

`igraph.drawing.coord.DescartesCoordinateSystem`

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

This method must be overridden in derived classes.