unstale

pypi / matplotlib

matplotlib

What changed in matplotlib 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

6 breaking1 security1 new APIs and options3 performance4 behavior and defaults21 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

matplotlib 326 changes

Breaking changes 1

  • Removes shell escapes from Latex and PS calls as a security hardening measure.

    3.10.9release notes

Security 1

  • Removes eval usage from cycler validation as a security hardening measure.

    3.10.9release notes

New APIs and options 1

Performance 2

Behavior and default changes 1

  • Text and font processing has been overhauled to support modern font features and full internationalization in all languages.

    3.11.0release notes

Fixes and other changes 20

  • Fixes incorrect glyphs.

    3.11.2release notes

  • Fixes drawing an empty collection.

    3.11.2release notes

  • Fixes clipping in PDF output.

    3.11.2release notes

  • Fixes HiDPI handling in Qt toolbars and WebAgg embeddings.

    3.11.2release notes

  • Fixes hatch linewidth and color.

    3.11.2release notes

  • Fixes frame skew when saving GIF animations.

    3.11.2release notes

  • Fixes handling of internal braces.

    3.11.2release notes

  • Fixes handling of ResizeEvent.

    3.11.2release notes

  • Axis labels are no longer clipped when using tight layout.

    3.11.1release notes

  • Inverted axes on 3D plots are fixed.

    3.11.1release notes

  • Restoring auto aspect on 3D axes after switching from equal is fixed.

    3.11.1release notes

  • Reported mouse positions are no longer occasionally misaligned; a canvas height bug is also fixed.

    3.11.1release notes

  • Cursor formatting for uint8 images using NoNorm is fixed.

    3.11.1release notes

  • Tight layout now works correctly with multiple subplots when sharey=True.

    3.11.1release notes

  • Missing glyphs when subsetting Type 1 fonts in PDF are fixed.

    3.11.1release notes

  • Oversized embedding of Type 42 fonts in PDF and PostScript files is fixed.

    3.11.1release notes

  • 3D Axes have been improved.

    3.11.0release notes

  • The release adds improvements for flexible figure management.

    3.11.0release notes

  • The MacOS backend now properly allows freethreaded mode.

    3.10.8release notes

  • Error handling for the MacOS backend is improved.

    3.10.8release notes

matplotlib 210 changes

Breaking changes 5

  • The default color cycle is modernized.

    2.0.0release notes

  • The default colormap changes from jet to viridis.

    2.0.0release notes

  • The default font changes to DejaVu, with support for most Western alphabets, math symbols, and emoji out of the box.

    2.0.0release notes

  • Line dash patterns scale with linewidth.

    2.0.0release notes

  • Ticks are out by default and appear only on the right and bottom spines.

    2.0.0release notes

Performance 1

Behavior and default changes 3

Fixes and other changes 1

  • Image support is improved: imshow respects scales and eliminates a class of artifacts.

    2.0.0release notes