mpl.collections

Classes for the efficient drawing of large collections of objects that share most properties, e.g., a large number of line segments or polygons.

The classes are not meant to be as flexible as their single element counterparts (e.g., you may not be able to select all line styles) but they are meant to be fast for common use cases (e.g., a large set of solid line segemnts)

Functions

allow_rasterization(draw) Decorator for Artist.draw method.

Classes

AsteriskPolygonCollection(numsides[, ...]) Draw a collection of regular asterisks with numsides points.
BrokenBarHCollection(xranges, yrange, **kwargs) A collection of horizontal bars spanning yrange with a sequence of xranges.
CircleCollection(sizes, **kwargs) A collection of circles, drawn using splines.
Collection([edgecolors, facecolors, ...]) Base class for Collections.
EllipseCollection(widths, heights, angles[, ...]) A collection of ellipses, drawn using splines.
EventCollection(positions[, orientation, ...]) A collection of discrete events.
LineCollection(segments[, linewidths, ...]) All parameters must be sequences or scalars; if scalars, they will be converted to sequences.
PatchCollection(patches[, match_original]) A generic collection of patches.
PathCollection(paths[, sizes]) This is the most basic Collection subclass.
PolyCollection(verts[, sizes, closed])
QuadMesh(meshWidth, meshHeight, coordinates) Class for the efficient drawing of a quadrilateral mesh.
RegularPolyCollection(numsides[, rotation, ...]) Draw a collection of regular polygons with numsides.
StarPolygonCollection(numsides[, rotation, ...]) Draw a collection of regular stars with numsides points.
TriMesh(triangulation, **kwargs) Class for the efficient drawing of a triangular mesh using Gouraud shading.
zip alias of izip