Releases: matplotlib/matplotlib
Releases · matplotlib/matplotlib
v3.8.0rc1
REL: v3.7.2
This is the second bugfix release of the 3.7.x series.
This release contains several bug-fixes and adjustments:
- Avoid modifying input masks in
pcolor
/pcolormesh
- Fix 3D set_aspect error cases
- Fix IPython's
%pylab
mode detection - Fix
Figure.get_constrained_layout_pads()
- Fix
Legend.set_draggable()
withupdate="bbox"
- Fix
TransformedBbox.{,full_}contains
- Fix clipping of
bar_label
text - Fix colorbar size when saving with explicit
bbox_inches
- Fix errors when an input is entirely NaN
- Fix leaks of exception tracebacks and
LayoutGrid
objects - Fix non-interpolated imshow in PDF export
- Fix palettized image optimization in PDF export
- Fix pgf tests with TeXLive 2022
- Fix removal of
Axes
that contain widgets that are grabbing the mouse - Fix removal of draggable artists
- Fix subslice optimization for long, fully nan lines
- Fix tight layout if Figure has an existing layout manager
- Fix window extent of AnnotationBbox before first draw
- Fix wspace and hspace in subfigures
- Improve Qt compatibility
- Improve compatibility with Python 3.12
- Prevent under the hood downcasting of values in
xcorr
- Remove some NumPy function overrides from
pylab
- Remove warning with symlog scales on mouseover
REL: v3.7.1
This is the first bugfix release of the 3.7.x series.
This release contains several bug-fixes and adjustments:
- Ensure Qhull license is included in binary wheels
- Fix application of rcParams on Axes labels
- Fix compatibility with Pandas datetime unit converter
- Fix compatibility with latest GTK4
- Fix import of styles with relative path
- Fix Lasso unresponsiveness when clicking and immediately releasing
- Fix pickling of draggable legends
- Fix RangeSlider.set_val when new value is outside existing value
- Fix size of Tk spacers when changing display DPI
- Fix wrapped text in constrained layout
- Improve compatibility with third-party backends
- Improve error if animation save path does not exist
REL: v3.7.0
Highlights of this release include:
- Plotting and Annotation improvements
hatch
parameter for pie- Polar plot errors drawn in polar coordinates
- Additional format string options in
~matplotlib.axes.Axes.bar_label
ellipse
boxstyle option for annotations- The extent of
imshow
can now be expressed with units - Reversed order of legend entries
pcolormesh
accepts RGB(A) colors- View current appearance settings for ticks, tick labels, and gridlines
- Style files can be imported from third-party packages
- Improvements to 3D Plotting
- 3D plot pan and zoom buttons
- adjustable keyword argument for setting equal aspect ratios in 3D
Poly3DCollection
supports shading- rcParam for 3D pane color
- Figure and Axes Layout
colorbar
now has a location keyword argument- Figure legends can be placed outside figures using constrained_layout
- Per-subplot keyword arguments in
subplot_mosaic
subplot_mosaic
no longer provisional
- Widget Improvements
- Custom styling of button widgets
- Blitting in Button widgets
- Other Improvements
- Source links can be shown or hidden for each Sphinx plot directive
- Figure hooks
- New & Improved Narrative Documentation
- Brand new :doc:
Animations </tutorials/introductory/animation_tutorial>
tutorial. - New grouped and stacked
bar chart <../../gallery/index.html#lines_bars_and_markers>
_ examples. - New section for new contributors and reorganized git instructions in the :ref:
contributing guide<contributing>
. - Restructured :doc:
/tutorials/text/annotations
tutorial.
- Brand new :doc:
REL: v3.7.0rc1
First release candidate for 3.7.0
REL: v3.6.3
This is the third bugfix release of the 3.6.x series.
This release contains several bug-fixes and adjustments:
- Fix Artist removal from
axes_grid1
Axes classes - Fix
inset_locator
in subfigures - Fix
scatter
on masked arrays with units - Fix colorbar ticks with log norm contours
- Fix deprecation warnings in GTK4 backend
- Fix using relative paths in
HTMLWriter
- Improve failure message from rcParams string validation for tuple inputs
- Improve performance of QtAgg backends
- No longer modify
pil_kwargs
argument toimsave
andsavefig
REL: v3.6.2
This is the second bugfix release of the 3.6.x series.
This release contains several bug-fixes and adjustments:
- Avoid mutating dictionaries passed to
subplots
- Fix
bbox_inches='tight'
on a figure with constrained layout enabled - Fix auto-scaling of
ax.hist
density withhisttype='step'
- Fix compatibility with PySide6 6.4
- Fix evaluating colormaps on non-NumPy arrays
- Fix key reporting in pick events
- Fix thread check on PyPy 3.8
- Handle input to
ax.bar
that is all NaN - Make rubber band more visible on Tk and Wx backends
- Restore (and warn on) seaborn styles in
style.library
- Restore
get_renderer
function in deprecatedtight_layout
- nb/webagg: Fix resize handle on WebKit browsers (e.g., Safari)
REL: v3.6.1
This is the first bugfix release of the 3.6.x series.
This release contains several bug-fixes and adjustments:
- A warning is no longer raised when constrained layout explicitly
disabled and tight layout is applied - Add missing
get_cmap
method toColormapRegistry
- Adding a colorbar on a
ScalarMappable
that is not attached to an
Axes
is now deprecated instead of raising a hard error - Fix
barplot
being empty when first element is NaN - Fix
FigureManager.resize
on GTK4 - Fix
fill_between
compatibility with NumPy 1.24 development version - Fix
hexbin
with empty arrays and log scaling - Fix
resize_event
deprecation warnings when creating figure on macOS - Fix build in mingw
- Fix compatibility with PyCharm's interagg backend
- Fix crash on empty
Text
in PostScript backend - Fix generic font families in SVG exports
- Fix horizontal colorbars with hatches
- Fix misplaced mathtext using
eqnarray
stackplot
no longer changes the Axes cycler
REL: v3.6.0
Highlights of this release include:
- Figure and Axes creation / management
subplots
,subplot_mosaic
accept height_ratios and width_ratios arguments- Constrained layout is no longer considered experimental
- New
layout_engine
module - Compressed layout added for fixed-aspect ratio Axes
- Layout engines may now be removed
Axes.inset_axes
flexibility- WebP is now a supported output format
- Garbage collection is no longer run on figure close
- Plotting methods
- Striped lines (experimental)
- Custom cap widths in box and whisker plots in
bxp
andboxplot
- Easier labelling of bars in bar plot
- New style format string for colorbar ticks
- Linestyles for negative contours may be set individually
- Improved quad contour calculations via ContourPy
errorbar
supports markerfacecoloraltstreamplot
can disable streamline breaks- New axis scale
asinh
(experimental) stairs(..., fill=True)
hides patch edge by setting linewidth- Fix the dash offset of the
Patch
class Rectangle
patch rotation point
- Colors and colormaps
- Color sequence registry
- Colormap method for creating a different lookup table size
- Setting norms with strings
- Titles, ticks, and labels
plt.xticks
andplt.yticks
support minor keyword argument
- Legends
- Legend can control alignment of title and handles
- ncol keyword argument to
legend
renamed to ncols
- Markers
marker
can now be set to the string "none"- Customization of
MarkerStyle
join and cap style
- Fonts and Text
- Font fallback
- List of available font names
math_to_image
now has a color keyword argument- Active URL area rotates with link text
- rcParams improvements
- Allow setting figure label size and weight globally and separately from title
- Mathtext parsing can be disabled globally
- Double-quoted strings in matplotlibrc
- 3D Axes improvements
- Standardized views for primary plane viewing angles
- Custom focal length for 3D camera
- 3D plots gained a 3rd "roll" viewing angle
- Equal aspect ratio for 3D plots
- Interactive tool improvements
- Rotation, aspect ratio correction and add/remove state
MultiCursor
now supports Axes split over multiple figuresPolygonSelector
bounding boxes- Setting
PolygonSelector
vertices SpanSelector
widget can now be snapped to specified values- More toolbar icons are styled for dark themes
- Platform-specific changes
- Wx backend uses standard toolbar
- Improvements to macosx backend
- Modifier keys handled more consistently
savefig.directory
rcParam supportfigure.raise_window
rcParam support- Full-screen toggle support
- Improved animation and blitting support
- macOS application icon applied on Qt backend
- New minimum macOS version
- Windows on ARM support
REL: v3.6.0rc2
Second release candidate for 3.6.0