[Matplotlib-devel] [ANN] Matplotlib 3.5.0
Elliott Sales de Andrade
quantum.analyst at gmail.com
Tue Nov 16 22:52:15 EST 2021
Hi all,
We are pleased to announce the release of Matplotlib 3.5.0.
Pre-built wheels are available for most major platforms, and can be
installed using `pip install matplotlib==3.5.0`. Wheels are now
available for Apple Silicon and Python 3.10. Other packages /may/ also
be available already; please check with your preferred source.
We thank the 144 authors for the 939 pull requests that comprise the
3.5.0 release.
Highlights of this release include:
* Figure and Axes creation / management
o |subplot_mosaic| supports simple Axes sharing
o Figure now has |draw_without_rendering| method
o Figure |__init__| passes keyword arguments through to set
* Plotting methods
o Add |Annulus| patch
o |set_data| method for |FancyArrow| patch
o New arrow styles in |ArrowStyle| and |ConnectionPatch|
o Setting collection offset transform after initialization
* Colors and colormaps
o Colormap registry (experimental)
o Image interpolation now possible at RGBA stage
o |imshow| supports half-float arrays
o A callback registry has been added to |Normalize| objects
* Titles, ticks, and labels
o Settings tick positions and labels simultaneously in |set_ticks|
* Fonts and Text
o Triple and quadruple dot mathtext accents
o Font properties of legend title are configurable
o |Text| and |TextBox| |parse_math| option
o Text can be positioned inside |TextBox| widget
o Simplified font setting for |usetex| mode
o Type 42 subsetting is now enabled for PDF/PS backends
* rcParams improvements
o Allow setting default legend |labelcolor| globally
* 3D Axes improvements
o |Axes3D| now allows manual control of draw order
o Allow changing the vertical axis in 3D plots
o |plot_surface| supports masked arrays and NaNs
o 3D plotting methods support |data| keyword argument
* Interactive tool improvements
o Colorbars now have pan and zoom functionality
o Updated appearance of |Slider| widgets
o Selector additions of clearing, dragging, and removal
o |CallbackRegistry| objects gain a method to temporarily block
signals
o Directional sizing cursors
* Sphinx extensions
o More configuration of mathmpl sphinx extension
* Backend-specific improvements
o New GTK4 backend
o New Qt6 backend
o HiDPI support in Cairo-based, GTK, and Tk backends
o Qt figure options editor improvements
o WX backends support mouse navigation buttons
o WebAgg uses asyncio instead of Tornado
For further details, please see the What's new in Matplotlib 3.5.0 page:
https://matplotlib.org/3.5.0/users/whats_new.html
and the milestone on GitHub:
https://github.com/matplotlib/matplotlib/milestone/59?closed=1
For packagers, this release contains some changes to dependencies:
* NumPy 1.17 is now required.
* Tk 8.4 is now required, when used.
* The fontTools package is now required for font subsetting.
* The underscore LaTeX package is now required for usetex output.
* Matplotlib-specific build options have moved from setup.cfg to
mplsetup.cfg, by default.
This release is signed by my GPG key. The fingerprint is:
23CA B59E 3332 F94D 26BE F037 8D86 E7FA E5EB 0C10
and it is also used to sign this message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://mail.python.org/pipermail/matplotlib-devel/attachments/20211116/69982d02/attachment.sig>
More information about the Matplotlib-devel
mailing list