List of all classes, functions and methods in python-igraph
class PrecalculatedPalette(Palette):
Known subclasses: igraph.drawing.colors.ClusterColoringPalette
Method | __init__ |
No summary |
Method | _get |
This method will only be called if the requested color index is outside the size of the palette. In that case, we throw an exception |
Inherited from Palette
:
Method | __len__ |
Returns the number of colors in this palette |
Method | __plot__ |
Plots the colors of the palette on the given Cairo context |
Method | __repr__ |
Undocumented |
Method | clear_cache |
Clears the result cache. |
Method | get |
Returns the given color from the palette. |
Method | get_many |
Returns multiple colors from the palette. |
Property | length |
Returns the number of colors in this palette |
Instance Variable | _cache |
Undocumented |
Instance Variable | _length |
Undocumented |
igraph.drawing.colors.Palette.__init__
igraph.drawing.colors.ClusterColoringPalette
color_name_to_rgba()
. Anything that is understood by color_name_to_rgba()
is OK here.igraph.drawing.colors.Palette._get