[Matplotlib-devel] ANN: mplcairo 0.2 release

Dear all,

I am pleased to announce the release of mplcairo 0.2.

mplcairo is a Matplotlib backend based on the well-known cairo library, supporting output to both raster (including interactively) and vector formats. In other words, it provides the functionality of Matplotlib’s {,qt5,gtk3,wx,tk,macos}{agg,cairo}, pdf, ps, and svg backends.

Per Matplotlib’s standard API, the backend can be selected by calling

matplotlib.use("module://mplcairo.qt")

or setting your MPLBACKEND environment variable to module://mplcairo.qt for Qt5, and similarly for other toolkits.

mplcairo 0.2 adds support for cairo 1.17.2’s high-precision floating point surfaces, simplifies the use of custom compositing operators (see examples/operators.py), a few other features listed in the changelog, as well as the usual bugfixes over 0.1.

Enjoy,

Antony Lee