- Changed image format selection to
set_options(image_format=...). - Added support for dithering control.
- Fix packaging.
- Fix renderers beind finalized too early.
- Bumped dependencies to Python≥3.8.
- Fixed compatibility with Matplotlib≥3.10.
- Fixed support for macos backend on Matplotlib≥3.6.
- Fixed compatibility with wheel≥0.41.
- Support pdf MaxVersion up to 1.7 (if the underlying cairo supports it).
- Support custom pdf metadata entries.
- set_options can now be used as a context manager.
- Improve rendering of antialiased non-black text on transparent background.
- Fixed support for Matplotlib 3.5.
- Bumped dependencies to pybind11≥2.8.
- Bumped supported raqm versions to ≥0.7; fixed integration with raqm 0.7.2.
- Support Qt6 and GTK4.
- Support HiDPI on GTK (it was already supported on Qt).
marker_threadsoption renamed tocollection_threads; and now also affectsdraw_path_collection.- Control vector output version with the
MaxVersionspecial metadata entry. - Add HARD_LIGHT operator, which was previously missing.
- Support setting OpenType language tag.
- Bumped dependencies to Python≥3.7, pybind11≥2.6; Windows build also
setup_requirespycairo. - Fixed support for Matplotlib 3.4.
- Added
get_context. - Improve snapping of codeful paths.
- Fix failure to increase cairo refcount of font cache entries.
- Support
rcParams["pdf.compression"] = 0. - Dropped support for the JPEG-specific quality, optimize, and progressive parameters to .Figure.savefig.
- Bumped dependencies to Python≥3.6, pybind11≥2.5.
pybind11is now asetup_requiresand-march=nativeis no longer passed as compilation option by default; drop support forMPLCAIRO_BUILD_TYPE.- Support for OpenType font features.
- Support for
pdftex.mapfont effects (as in Matplotlib'susetex_fonteffects.pyexample). - Fix zooming on macosx.
- Add the
MPLCAIRO_BUILD_TYPEenvironment variable for controlling the build. - Support all Qt bindings.
- Improved error messages.
copy_from_bboxnow rounds boundaries inwards, to avoid overspilling the canvas in presence of floating point inaccuracies.- Fixes to blitting, marker drawing in presence of nans, and shutdown sequence.
- Matplotlib tests can be selected with
--pyargs. - MultiPage now provides more of Matplotlib's API, and behaves as if keep_empty is False.
- Support pathlib.Path arguments to FontProperties on Python≥3.6.
- Improved mathtext alignment and usetex support.
- Added get_raw_buffer to access the raw internal buffer.
- Added operator_t.patch_artist to simplify usage of custom compositing operators.
- Support
Titlemetadata entry for PostScript output.
- Integration with libraqm now occurs via dlopen() rather than being selected at compile-time.
- Add set_options, get_options for controlling some rendering parameters.
- Various rendering and performance improvements.
- On Travis, we now run Matplotlib's test suite with mplcairo patching the default Agg renderer.
- First public prerelease.