class documentation
class CairoMatrixDrawer(AbstractCairoDrawer): (source)
Constructor: CairoMatrixDrawer(context)
Default Cairo drawer object for matrices.
Method | __init__ |
Constructs the vertex drawer and associates it to the given palette. |
Method | draw |
Draws the given Matrix in a Cairo context. |
Instance Variable | bbox |
The bounding box of the drawing area where this drawer will draw. |
Inherited from AbstractCairoDrawer
:
Method | bbox |
Sets the bounding box of the drawing area where this drawer will draw. |
Instance Variable | context |
Undocumented |
Method | _mark |
Marks the given point with a small circle on the canvas. Used primarily for debugging purposes. |
Instance Variable | _bbox |
Undocumented |
Constructs the vertex drawer and associates it to the given palette.
Parameters | |
context | the context on which we will draw |
Draws the given Matrix in a Cairo context.
Parameters | |
matrix | the igraph.Matrix to plot. It accepts the following keyword arguments:
If only the row names or the column names are given and the matrix is square-shaped, the same names are used for both column and row names. |
**kwds | Undocumented |