Plots the cover to the given Cairo context in the given bounding
This is done by calling Graph.__plot__() with the same arguments, but drawing
nice colored blobs around the vertex groups.
This method understands all the positional and keyword arguments that
are understood by Graph.__plot__(), only the differences will be
mark_groups: whether to highlight the vertex clusters by
colored polygons. Besides the values accepted by Graph.__plot__ (i.e., a dict mapping colors to
vertex indices, a list containing lists of vertex indices, or
False), the following are also accepted:
True: all the clusters will be highlighted, the
colors matching the corresponding color indices from the current
palette (see the
palette keyword argument of Graph.__plot__.
A dict mapping cluster indices or tuples of vertex indices to
color names. The given clusters or vertex groups will be
highlighted by the given colors.
A list of cluster indices. This is equivalent to passing a dict
mapping numeric color indices from the current palette to cluster
indices; therefore, the cluster referred to by element i
of the list will be highlighted by color i from the
The value of the
key is also taken into account here; if that configuration key is
mark_groups is not given
explicitly, it will automatically be set to
In place of lists of vertex indices, you may also use VertexSeq
In place of color names, you may also use color indices into the
None as a color name will mean that the
corresponding group is ignored.
palette: the palette used to resolve numeric color
indices to RGBA values. By default, this is an instance of ClusterColoringPalette.