REL: v3.5.0
Highlights of this release include:
- Figure and Axes creation / management
subplot_mosaicsupports simple Axes sharing- Figure now has
draw_without_renderingmethod - Figure
__init__passes keyword arguments through to set
- Plotting methods
- Add
Annuluspatch set_datamethod forFancyArrowpatch- New arrow styles in
ArrowStyleandConnectionPatch - Setting collection offset transform after initialization
- Add
- Colors and colormaps
- Colormap registry (experimental)
- Image interpolation now possible at RGBA stage
imshowsupports half-float arrays- A callback registry has been added to
Normalizeobjects
- Titles, ticks, and labels
- Settings tick positions and labels simultaneously in
set_ticks
- Settings tick positions and labels simultaneously in
- Fonts and Text
- Triple and quadruple dot mathtext accents
- Font properties of legend title are configurable
TextandTextBoxparse_mathoption- Text can be positioned inside
TextBoxwidget - Simplified font setting for
usetexmode - Type 42 subsetting is now enabled for PDF/PS backends
- rcParams improvements
- Allow setting default legend
labelcolorglobally
- Allow setting default legend
- 3D Axes improvements
Axes3Dnow allows manual control of draw order- Allow changing the vertical axis in 3D plots
plot_surfacesupports masked arrays and NaNs- 3D plotting methods support
datakeyword argument
- Interactive tool improvements
- Colorbars now have pan and zoom functionality
- Updated appearance of
Sliderwidgets - Selector additions of clearing, dragging, and removal
CallbackRegistryobjects gain a method to temporarily block signals- Directional sizing cursors
- Sphinx extensions
- More configuration of mathmpl sphinx extension
- Backend-specific improvements
- New GTK4 backend
- New Qt6 backend
- HiDPI support in Cairo-based, GTK, and Tk backends
- Qt figure options editor improvements
- WX backends support mouse navigation buttons
- WebAgg uses asyncio instead of Tornado