Skip to content
v3.5.2
Compare
Choose a tag to compare

This is the second bugfix release of the 3.5.x series.

This release contains several bug-fixes and adjustments:

  • Add support for Windows on ARM (source-only; no wheels provided yet)
  • Add year to concise date formatter when displaying less than 12 months
  • Disable QuadMesh mouse cursor to avoid severe performance regression in pcolormesh
  • Delay backend selection to allow choosing one in more cases
  • Fix automatic layout bugs in EPS output
  • Fix autoscaling of scatter plots
  • Fix clearing of subfigures
  • Fix colorbar exponents, inversion of extensions, and use on inset axes
  • Fix compatibility with various NumPy-like classes (e.g., Pandas, xarray, etc.)
  • Fix constrained layout bugs with mixed subgrids
  • Fix errorbar with dashes
  • Fix errors in conversion to GTK4 and Qt6
  • Fix figure options accidentally re-ordering data
  • Fix keyboard focus of TkAgg backend
  • Fix manual selection of contour labels
  • Fix path effects on text with whitespace
  • Fix quiver in subfigures
  • Fix RangeSlider.set_val displaying incorrectly
  • Fix regressions in collection data limits
  • Fix stairs with no edgecolor
  • Fix some leaks in Tk backends
  • Fix tight layout DPI confusion
  • Fix tool button customizability and some tool manager bugs
  • Only set Tk HiDPI scaling-on-map for Windows systems
  • Partially allow TTC font collection files by selecting the first font
v3.5.1
Compare
Choose a tag to compare

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_lines on horizontal colorbars
  • fix streamplot with 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 ConciseDataFormatter after zoom
  • reduce do_3d_projection deprecation warnings in external artists
v3.5.0
Compare
Choose a tag to compare

Highlights of this release include:

  • Figure and Axes creation / management
    • subplot_mosaic supports simple Axes sharing
    • Figure now has draw_without_rendering method
    • Figure __init__ passes keyword arguments through to set
  • Plotting methods
    • Add Annulus patch
    • set_data method for FancyArrow patch
    • New arrow styles in ArrowStyle and ConnectionPatch
    • Setting collection offset transform after initialization
  • Colors and colormaps
    • Colormap registry (experimental)
    • Image interpolation now possible at RGBA stage
    • imshow supports half-float arrays
    • A callback registry has been added to Normalize objects
  • Titles, ticks, and labels
    • Settings tick positions and labels simultaneously in set_ticks
  • Fonts and Text
    • Triple and quadruple dot mathtext accents
    • Font properties of legend title are configurable
    • Text and TextBox parse_math option
    • Text can be positioned inside TextBox widget
    • Simplified font setting for usetex mode
    • Type 42 subsetting is now enabled for PDF/PS backends
  • rcParams improvements
    • Allow setting default legend labelcolor globally
  • 3D Axes improvements
    • Axes3D now allows manual control of draw order
    • Allow changing the vertical axis in 3D plots
    • plot_surface supports masked arrays and NaNs
    • 3D plotting methods support data keyword argument
  • Interactive tool improvements
    • Colorbars now have pan and zoom functionality
    • Updated appearance of Slider widgets
    • Selector additions of clearing, dragging, and removal
    • CallbackRegistry objects 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
v3.5.0rc1
Compare
Choose a tag to compare

REL: v3.5.0rc1

Pre-release
Pre-release

First release candidate for v3.5.0

v3.5.0b1
Compare
Choose a tag to compare

REL: v3.5.0b1

Pre-release
Pre-release

First beta release for v3.5.0

v3.4.3
Compare
Choose a tag to compare

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 MultiCursor widget on Axes subplots 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 from Scales
  • 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 stackplot with edgecolors='face'
  • Fix plot directive when building in parallel
  • Fix supxlabel and supylabel behaviour in constrained layout
  • Fix tests with latest Inkscape and Ghostscript
  • Improve DateFormatter styling for month names when usetex=True
  • Re-disable autoscaling after interactive zoom
  • Work around bug in Pillow 8.3.0
v3.4.2
Compare
Choose a tag to compare

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_mosaic Axes 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 CenteredNorm with halfrange
  • Fix bar_label for bars with NaN values
  • Fix clip paths when zoomed such that they are outside the figure
  • Fix creation of RangeSlider with valinit
  • Fix handling of "d" glyph in backend_ps, fixing EPS output
  • Fix handling of datetime coordinates in pcolormesh with Pandas
  • Fix processing of some errorbar arguments
  • 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)
v3.4.1
Compare
Choose a tag to compare

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
v3.4.0
Compare
Choose a tag to compare

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_axes gained an axes_class parameter
    • Subplot and subplot2grid can now work with constrained layout
  • Plotting methods
    • axline supports transform parameter
    • New automatic labeling for bar charts
    • A list of hatches can be specified to bar and barh
    • Setting BarContainer orientation
    • Contour plots now default to using ScalarFormatter
    • Axes.errorbar cycles non-color properties correctly
    • errorbar errorevery parameter matches markevery
    • hexbin supports data reference for C parameter
    • Support callable for formatting of Sankey labels
    • Axes.spines access shortcuts
    • New stairs method and StepPatch artist
    • Added orientation parameter for stem plots
    • Angles on Bracket arrow styles
    • TickedStroke patheffect
  • 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_extremes and Colormap.with_extremes
    • Get under/over/bad colors of Colormap objects
    • New cm.unregister_cmap function
    • New CenteredNorm for symmetrical data around a center
    • New FuncNorm for 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 subplots tick 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.mathtext now supports overset and underset LaTeX symbols
    • math_fontfamily parameter to change Text font family
    • TextArea/AnchoredText support 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 RangeSlider widget
    • Sliders can now snap to arbitrary values
    • Pausing and Resuming Animations
  • Sphinx extensions
    • plot_directive caption 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
v3.4.0rc3
Compare
Choose a tag to compare

REL: v3.4.0rc3

Pre-release
Pre-release

This is the third release candidate for Matplotlib 3.4.0.