Skip to content

Tags: matplotlib/matplotlib

Tags

v3.6.2

Toggle commit message
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 with `histtype='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 deprecated `tight_layout`
* nb/webagg: Fix resize handle on WebKit browsers (e.g., Safari)

v3.6.1

Toggle commit message
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 to `ColormapRegistry`
* 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

v3.6.0

Toggle commit message
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 and boxplot
    - 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 markerfacecoloralt
    - streamplot 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 and plt.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 figures
    - PolygonSelector 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 support
        - figure.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

v3.6.0rc2

Toggle commit message
REL: v3.6.0rc2
      Second release candidate for 3.6.0.

v3.6.0rc1

Toggle commit message
REL: v3.6.0rc1
      First release candidate for 3.6.0

v3.5.3

Toggle commit message
REL: v3.5.3
      This is the third bugfix release of the 3.5.x series.

This release contains several bug-fixes and adjustments:

* Fix alignment of over/under symbols
* Fix bugs in colorbars:
    * alpha of extensions
    * `drawedges=True` with extensions
    * handling of `panchor=False`
* Fix builds on Cygwin and IBM i
* Fix contour labels in `SubFigure`s
* Fix cursor output:
    * for `imshow` with all negative values
    * when using `BoundaryNorm`
* Fix interactivity in IPython/Jupyter
* Fix NaN handling in `errorbar`
* Fix NumPy conversion from AstroPy unit arrays
* Fix positional *markerfmt* passed to `stem`
* Fix unpickling:
    * crash loading in a separate process
    * incorrect DPI when HiDPI screens

v3.5.2

Toggle commit message
REL: v3.5.2
      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

Toggle commit message
REL: v3.5.1
      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

Toggle commit message
REL: v3.5.0
      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

Toggle commit message
REL: v3.5.0rc1
      First release candidate for 3.5.0.