This is the first bugfix release of the 3.5.x series.
This release contains several critical bug-fixes:
- fix installation issues when setting a default backend
- fix
add_lineson horizontal colorbars - fix
streamplotwith start points on right or top edge - fix colorbars with boundaries or
NoNorm - fix colorbars with negative contours
- fix colorbars with tight layout
- fix setting Axis label alignment to center
- fix subfigure tight bounding box
- fix subplot parameter window on macosx backend
- fix unit handling in
Collections.set_offsets - fix unyt integration in
errorbar - re-display date offset in
ConciseDataFormatterafter zoom - reduce
do_3d_projectiondeprecation warnings in external artists
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
This is the third bugfix release of the 3.4.x series.
This release contains several critical bug-fixes:
- Clarify deprecation of
Axes.figbox - Disable
MultiCursorwidget onAxessubplots which it is not tracking - Don't simplify path in
LineCollection.get_segments - Fix DPI in subfigures, affecting tick spacing, and scatter marker size
- Fix broken EPS output when using Type 42 STIX fonts
- Fix change in tick behaviour when calling
Axes.clear - Fix class docstrings for
Norms created fromScales - Fix compatibility with NumPy 1.21.0
- Fix crash on broken TrueType fonts
- Fix incorrect hits from
Path.intersects_path - Fix leak if affine_transform is passed invalid vertices
- Fix legends of
stackplotwithedgecolors='face' - Fix plot directive when building in parallel
- Fix
supxlabelandsupylabelbehaviour in constrained layout - Fix tests with latest Inkscape and Ghostscript
- Improve
DateFormatterstyling for month names whenusetex=True - Re-disable autoscaling after interactive zoom
- Work around bug in Pillow 8.3.0
This is the second bugfix release of the 3.4.x series.
This release contains several critical bug-fixes:
- Generate wheels usable on older PyPy7.3.{0,1}
- Fix compatibility with Python 3.10
- Add
subplot_mosaicAxes in the order the user gave them to us - Correctly handle 'none' facecolors in
do_3d_projection - Ensure that Matplotlib is importable even if there's no HOME
- Fix
CenteredNormwith halfrange - Fix
bar_labelfor bars with NaN values - Fix clip paths when zoomed such that they are outside the figure
- Fix creation of
RangeSliderwith valinit - Fix handling of "d" glyph in backend_ps, fixing EPS output
- Fix handling of datetime coordinates in
pcolormeshwith Pandas - Fix processing of some
errorbararguments - Fix removal of shared polar Axes
- Fix resetting grid visibility
- Fix subfigure indexing error and tight bbox
- Fix textbox cursor color
- Fix TkAgg event loop error on window close
- Ignore errors for sip with no setapi (Qt4Agg import errors)
This is the first bugfix release of the 3.4.x series.
This release contains several critical bug-fixes:
- fix errorbar when specifying fillstyle
- fix Inkscape cleanup at exit on Windows for tests
- fix legends of colour-mapped scatter plots
- fix positioning of annotation fancy arrows
- fix size and color rendering for 3D scatter plots
- fix suptitle manual positioning when using constrained layout
- respect antialiasing settings in cairo backends as well
Highlights of this release include:
- Figure and Axes creation / management
- New subfigure functionality
- Single-line string notation for
subplot_mosaic - Changes to behavior of Axes creation methods (
gca,add_axes,add_subplot) add_subplot/add_axesgained an axes_class parameter- Subplot and subplot2grid can now work with constrained layout
- Plotting methods
axlinesupports transform parameter- New automatic labeling for bar charts
- A list of hatches can be specified to
barandbarh - Setting
BarContainerorientation - Contour plots now default to using
ScalarFormatter Axes.errorbarcycles non-color properties correctlyerrorbarerrorevery parameter matches markeveryhexbinsupports data reference for C parameter- Support callable for formatting of Sankey labels
Axes.spinesaccess shortcuts- New
stairsmethod andStepPatchartist - Added orientation parameter for stem plots
- Angles on Bracket arrow styles
TickedStrokepatheffect
- Colors and colormaps
- Collection color specification and mapping
- Transparency (alpha) can be set as an array in collections
- pcolormesh has improved transparency handling by enabling snapping
- IPython representations for Colormap objects
Colormap.set_extremesandColormap.with_extremes- Get under/over/bad colors of Colormap objects
- New
cm.unregister_cmapfunction - New
CenteredNormfor symmetrical data around a center - New
FuncNormfor arbitrary normalizations - GridSpec-based colorbars can now be positioned above or to the left of the main axes
- Titles, ticks, and labels
- supxlabel and supylabel
- Shared-axes
subplotstick label visibility is now correct for top or left labels - An iterable object with labels can be passed to
Axes.plot
- Fonts and Text
- Text transform can rotate text direction
matplotlib.mathtextnow supports overset and underset LaTeX symbols- math_fontfamily parameter to change
Textfont family TextArea/AnchoredTextsupport horizontalalignment- PDF supports URLs on Text artists
- rcParams improvements
- New rcParams for dates: set converter and whether to use interval_multiples
- Date formatters now respect usetex rcParam
- Setting image.cmap to a Colormap
- Tick and tick label colors can be set independently using rcParams
- 3D Axes improvements
- Errorbar method in 3D Axes
- Stem plots in 3D Axes
- 3D Collection properties are now modifiable
- Panning in 3D Axes
- Interactive tool improvements
- New
RangeSliderwidget - Sliders can now snap to arbitrary values
- Pausing and Resuming Animations
- New
- Sphinx extensions
plot_directivecaption option
- Backend-specific improvements
- Consecutive rasterized draws now merged
- Support raw/rgba frame format in
FFMpegFileWriter - nbAgg/WebAgg support middle-click and double-click
- nbAgg support binary communication
- Indexed color for PNG images in PDF files when possible
- Improved font subsettings in PDF/PS
- Kerning added to strings in PDFs
- Fully-fractional HiDPI in QtAgg
- wxAgg supports fullscreen toggle