Currently Polymap objects are only available in PyGist.
A Polymap is a set of arbitrary color-filled polygons. The allowed keywords are
In addition, like all 2d geometric classes, Polymaps have the methods set and new.
The following keyword arguments can be specified for Polymaps:
x = <sequence of floating point values>
y = <sequence of floating point values>
These are the coordinates of the vertices of the polygons. (The way this data is set up, vertices of adjacent polygons will be repeated.)
n = <sequence of integer values>
Entry n [i] in this array tells how many vertices polygon i has. Thus the first n [0] entries in x and y are the vertices of the first polygon, the next n [1] entries, of the second, etc. The sum of all the entries in n is the length of vectors x and y.
z = <sequence of numerical or unsigned character values> (this vector is the same length as n) tells how to color the polygons. Numbers are interpolated into a palette; the integer values of unsigned characters (Python typecode 'b')are used as indices into the palette.
hide = 0/1--(1 to hide this part of the graph)
label = <string>--label for this part of the graph.
Methods new and set have the same function as in the other 2d classes.
The following simple polymap example shows something like a stained glass window.