python-igraph manual

For using igraph from Python

   Home       Trees       Indices       Help   
Package igraph :: Package drawing :: Module utils
[hide private]

Module utils

source code

Utility classes for drawing routines.


License: GPL

Classes [hide private]
  Rectangle
Class representing a rectangle.
  BoundingBox
Class representing a bounding box (a rectangular area) that encloses some objects.
  FakeModule
Fake module that raises an exception for everything
  Point
Class representing a point on the 2D plane.
Functions [hide private]
 
find_cairo()
Tries to import the ``cairo`` Python module if it is installed, also trying ``cairocffi`` (a drop-in replacement of ``cairo``).
source code
Variables [hide private]
  __package__ = 'igraph.drawing'

Imports: property, izip, atan2, cos, sin, itemgetter


Function Details [hide private]

find_cairo()

source code 

Tries to import the ``cairo`` Python module if it is installed, also trying ``cairocffi`` (a drop-in replacement of ``cairo``). Returns a fake module if everything fails.


   Home       Trees       Indices       Help