Skip to content

merge up 3.10.3 #30031

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 97 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
50cad2a
Backport PR #29584: DOC: Recommend constrained_layout over tight_layout
timhoffm Feb 28, 2025
c38e0f7
Merge pull request #29691 from meeseeksmachine/auto-backport-of-pr-29…
rcomer Feb 28, 2025
1bdc36a
Backport PR #29689: Fix alt and caption handling in Sphinx directives
timhoffm Feb 28, 2025
bf64054
Backport PR #29590: Blocked set_clim() callbacks to prevent inconsist…
prafulgulani Feb 28, 2025
365dd59
Merge pull request #29693 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Feb 28, 2025
b6f6e27
Merge pull request #29692 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Mar 1, 2025
7bbf261
Backport PR #29708: MNT: correct version in plotting method deprecati…
timhoffm Mar 6, 2025
a2ed2da
Merge pull request #29709 from meeseeksmachine/auto-backport-of-pr-29…
oscargus Mar 6, 2025
6843f81
Backport PR #29726: Add reference tag to Hatch style reference
story645 Mar 10, 2025
f51d428
Merge pull request #29727 from meeseeksmachine/auto-backport-of-pr-29…
rcomer Mar 10, 2025
f098eb2
Backport PR #29724: Fix SubplotSpec.get_gridspec type hint
timhoffm Mar 10, 2025
01d66d1
Merge pull request #29730 from meeseeksmachine/auto-backport-of-pr-29…
oscargus Mar 10, 2025
6bc61bb
Backport PR #29719: Fix passing singleton sequence-type styles to hist
story645 Mar 12, 2025
519b3e5
Merge pull request #29735 from meeseeksmachine/auto-backport-of-pr-29…
story645 Mar 12, 2025
3ac78ff
Backport PR #29734: ci: MacOS 14: temporarily upper-bound the 'PyGObj…
timhoffm Mar 12, 2025
5d62811
Merge pull request #29737 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Mar 13, 2025
d0ab468
Backport PR #29748: Fix PyGObject version pinning in macOS tests
tacaswell Mar 13, 2025
5090b26
Backport PR #29721: FIX: pyplot auto-backend detection case-sensitivi…
ianthomas23 Mar 14, 2025
f86947c
Backport PR #29767: Add description to logit_demo.py script
QianZhang19 Mar 18, 2025
90a5aa9
Merge pull request #29768 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Mar 18, 2025
8946085
Backport PR #29752: DOC: Add install instructions for pixi and uv
timhoffm Mar 18, 2025
d4820f3
Merge pull request #29771 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Mar 18, 2025
2ddb364
Backport PR #29781: Fix escaping of nulls and "0" in default filenames.
timhoffm Mar 20, 2025
2736c12
Merge pull request #29784 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Mar 20, 2025
ac6495f
Backport PR #29755: DOC: Simplify annotation arrow style reference
timhoffm Mar 21, 2025
005677f
Merge pull request #29786 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Mar 21, 2025
ba55b7c
Backport PR #29770: MNT: Move test for old ipython behavior to minver…
dstansby Mar 21, 2025
a56911e
Merge pull request #29754 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Mar 21, 2025
57878e9
Merge pull request #29750 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Mar 21, 2025
1e89088
Merge pull request #29792 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Mar 21, 2025
64ff907
Backport PR #29552: Bug Fix: Normalize kwargs for Histogram
TheSkyentist Feb 14, 2025
f5d6737
Merge pull request #29814 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Mar 27, 2025
0359016
Backport PR #29801: DOC: Slightly further improve arrowstyle demo
timhoffm Mar 27, 2025
30817f9
Merge pull request #29818 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Mar 28, 2025
5fde149
Backport PR #29839: Improve docs regarding plt.close().
timhoffm Apr 1, 2025
ba588a5
Merge pull request #29848 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 1, 2025
b29bd15
Backport PR #29842: Don't drag draggables on scroll events
timhoffm Apr 2, 2025
282ef47
Merge pull request #29858 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 2, 2025
00b4df2
Backport PR #29545: DOC: correctly specify return type of `figaspect`
QuLogic Apr 3, 2025
465d984
Merge pull request #29859 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Apr 3, 2025
a499643
Backport PR #29773: DOC: Improve interactive figures guide / Blocking…
timhoffm Apr 3, 2025
2230a0e
Merge pull request #29861 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 3, 2025
479ed1e
Backport PR #29834: TST: pin flake8
jklymak Mar 30, 2025
4bf746b
Merge pull request #29868 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Apr 5, 2025
d8654f5
Backport PR #29853: Update lib/matplotlib/stackplot.py
timhoffm Apr 7, 2025
6cab025
Merge pull request #29880 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 7, 2025
877ec29
Backport PR #29803: DOC: Improve FancyArrowPatch docstring
QuLogic Apr 9, 2025
6c394db
Merge pull request #29888 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 9, 2025
7470a81
Backport PR #29896: Change `.T` to `.transpose()` in `_reshape_2D`
story645 Apr 10, 2025
02c0548
Backport PR #29899: [doc] minimally document what basic units is doing
timhoffm Apr 10, 2025
fe0140e
Merge pull request #29900 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 10, 2025
34a11ab
Merge pull request #29902 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Apr 11, 2025
25b9377
Backport PR #29897: BUG: ensure that errorbar does not error on maske…
QuLogic Apr 16, 2025
88bd99c
Backport PR #29929: Correct rightparen typo
oscargus Apr 16, 2025
2673b93
Merge pull request #29930 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Apr 17, 2025
f72525a
Merge pull request #29927 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Apr 17, 2025
54d6615
Backport PR #29920: Allow `None` in set_prop_cycle (in type hints)
timhoffm Apr 17, 2025
a595375
Merge pull request #29932 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 17, 2025
9a57241
Backport PR #29931: Allow Python native sequences in Matplotlib `imsa…
ksunden Apr 17, 2025
bdba952
Backport PR #29919: Handle MOVETO's, CLOSEPOLY's and empty paths in P…
timhoffm Apr 18, 2025
a1440fe
Fix broken links in interactive guide
dstansby Apr 18, 2025
6a6e8d8
Merge pull request #29940 from meeseeksmachine/auto-backport-of-pr-29…
oscargus Apr 18, 2025
09bea95
Merge pull request #29943 from dstansby/310-broken-links
tacaswell Apr 18, 2025
4cd3b06
STY: placate lint
tacaswell Apr 18, 2025
7dfb4e4
Merge pull request #29933 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 20, 2025
d1c20ea
Backport PR #29872: TST: Use placeholders for text in layout tests
timhoffm Apr 10, 2025
110b6af
Merge pull request #29901 from meeseeksmachine/auto-backport-of-pr-29…
rcomer Apr 20, 2025
704c239
Backport PR #29796: ci: rotate soon-to-be-unsupported GitHub Actions …
timhoffm Apr 1, 2025
9a80304
Merge pull request #29949 from rcomer/auto-backport-of-pr-29796-on-v3…
QuLogic Apr 23, 2025
59a9774
Backport PR #29827: TST: Remove unnecessary test images
QuLogic Mar 29, 2025
a7f5ce6
Backport PR #29965: Document Axes.spines
jklymak Apr 25, 2025
8a1cea5
Merge pull request #29969 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Apr 26, 2025
0753e77
Backport PR #29970: TST: Make refcount tests more resilient to Python…
tacaswell Apr 28, 2025
4ee1e05
Backport PR #29979: Fix typos: horizonatal -> horizontal
rcomer Apr 28, 2025
9846a6f
Merge pull request #29980 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 28, 2025
9e42559
Backport PR #29975: DOC: correct signature for animation update funct…
QuLogic Apr 28, 2025
950f2bc
Merge pull request #29974 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Apr 28, 2025
495fb64
Merge pull request #29983 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Apr 28, 2025
7dab28b
Backport PR #29370: DOC: Improve NonUniformImage docs
timhoffm Apr 29, 2025
2322a8f
Merge pull request #29987 from meeseeksmachine/auto-backport-of-pr-29…
rcomer Apr 29, 2025
2c0e150
Backport PR #29789: Improve layout of cheatsheets in sidebar
dstansby Apr 30, 2025
be0d1aa
Merge pull request #29990 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Apr 30, 2025
f7b8d2d
Backport PR #29995: Fix typo: missing singlequote in unrecognized bac…
dstansby May 1, 2025
cd67b8e
Merge pull request #29996 from meeseeksmachine/auto-backport-of-pr-29…
rcomer May 1, 2025
05d104e
Backport PR #29997: BLD: Ensure meson.build has the right version of …
timhoffm May 2, 2025
a64d453
Merge pull request #29999 from QuLogic/auto-backport-of-pr-29997-on-v…
timhoffm May 2, 2025
95c87f2
Backport PR #29673: DOC: document the issues with overlaying new mpl …
ksunden May 2, 2025
9f40c83
Merge pull request #30002 from meeseeksmachine/auto-backport-of-pr-29…
rcomer May 2, 2025
0595366
Merge pull request #29867 from QuLogic/auto-backport-of-pr-29827-on-v…
ksunden May 2, 2025
0ef1165
Backport PR #29992 on v3.10.x: Update pinned oldest win image on azure
dstansby May 5, 2025
acb7361
Merge pull request #30010 from rcomer/auto-backport-of-pr-29992-on-v3…
dstansby May 5, 2025
3b50d5c
Backport PR #29907: Ensure text metric calculation always uses the te…
tacaswell Apr 13, 2025
0ef15b6
Merge pull request #30018 from meeseeksmachine/auto-backport-of-pr-29…
oscargus May 6, 2025
71e6946
REL prep 3.10.3
ksunden May 8, 2025
8b82729
REL: v3.10.3
ksunden May 8, 2025
e82b493
Bump from v3.10.3 tag
ksunden May 8, 2025
0b02f2d
Merge branch 'v3.10.x' into merge_up_3.10.3
ksunden May 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ stages:
VS_VER=2022

echo "##vso[task.setvariable variable=VS_COVERAGE_TOOL]$TOOL"

PYTHONFAULTHANDLER=1 pytest -rfEsXR -n 2 \
--maxfail=50 --timeout=300 --durations=25 \
--junitxml=junit/test-results.xml --cov-report=xml --cov=lib
Expand Down
12 changes: 12 additions & 0 deletions doc/_static/mpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,15 @@ div.wide-table table th.stub {
.sidebar-cheatsheets > img {
width: 100%;
}

.sidebar-cheatsheets {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also do not understand this change

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a redundant merge; these rules are all right above here.

margin-bottom: 3em;
}

.sidebar-cheatsheets > h3 {
margin-top: 0;
}

.sidebar-cheatsheets > img {
width: 100%;
}
2 changes: 1 addition & 1 deletion doc/_static/switcher.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"name": "3.10 (stable)",
"version": "3.10.1",
"version": "3.10.3",
"url": "https://matplotlib.org/stable/",
"preferred": true
},
Expand Down
269 changes: 121 additions & 148 deletions doc/users/github_stats.rst

Large diffs are not rendered by default.

171 changes: 171 additions & 0 deletions doc/users/prev_whats_new/github_stats_3.10.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
.. _github-stats-3_10_1:

GitHub statistics for 3.10.1 (Feb 27, 2025)
===========================================

GitHub statistics for 2024/12/14 (tag: v3.10.0) - 2025/02/27

These lists are automatically generated, and may be incomplete or contain duplicates.

We closed 14 issues and merged 107 pull requests.
The full list can be seen `on GitHub <https://github.com/matplotlib/matplotlib/milestone/98?closed=1>`__

The following 28 authors contributed 241 commits.

* Anselm Hahn
* Antony Lee
* Ben Greiner
* Chaoyi Hu
* Christine P. Chai
* dependabot[bot]
* Elliott Sales de Andrade
* G.D. McBain
* Greg Lucas
* hannah
* hu-xiaonan
* Khushi_29
* Khushikela29
* KIU Shueng Chuan
* Kyle Martin
* Kyle Sunden
* Lumberbot (aka Jack)
* Manthan Nagvekar
* musvaage
* Nathan G. Wiseman
* Oscar Gustafsson
* Owl
* Ruth Comer
* saikarna913
* Scott Shambaugh
* Thomas A Caswell
* Tim Hoffmann
* Trygve Magnus Ræder

GitHub issues and pull requests:

Pull Requests (107):

* :ghpull:`29682`: Backport PR #29680 on branch v3.10.x (DOC: fix the bug of examples\event_handling)
* :ghpull:`29683`: Backport PR #29670 on branch v3.10.x (DOC: change marginal scatter plot to subplot_mosaic)
* :ghpull:`29680`: DOC: fix the bug of examples\event_handling
* :ghpull:`29676`: Backport PR #29666 on branch v3.10.x (DOC: Revising the Figure Legend Demo Example)
* :ghpull:`29675`: Backport PR #29662 on branch v3.10.x (DOC: Move Colorbar parameters to __init__)
* :ghpull:`29662`: DOC: Move Colorbar parameters to __init__
* :ghpull:`29668`: Backport PR #29667 on branch v3.10.x (DOC: remove redundant gridspec from example)
* :ghpull:`29664`: Backport PR #29642 on branch v3.10.x (DOC: Add docstrings to get_usetex and set_usetex in ticker.py)
* :ghpull:`29663`: Backport PR #29075 on branch v3.10.x (Add xaxis and yaxis attributes to Axes docs)
* :ghpull:`29642`: DOC: Add docstrings to get_usetex and set_usetex in ticker.py
* :ghpull:`29661`: Backport PR #29652 on branch v3.10.x (Reorder kwonly kwargs in Colorbar & related docs.)
* :ghpull:`29652`: Reorder kwonly kwargs in Colorbar & related docs.
* :ghpull:`29075`: Add xaxis and yaxis attributes to Axes docs
* :ghpull:`29656`: Backport PR #28437 on branch v3.10.x (Respect array alpha with interpolation_stage='rgba' in _Imagebase::_make_image)
* :ghpull:`29448`: Backport PR #29362 on branch v3.10.0-doc (TYP: semantics of enums in stub files changed)
* :ghpull:`28437`: Respect array alpha with interpolation_stage='rgba' in _Imagebase::_make_image
* :ghpull:`29651`: Backport PR #29650 on branch v3.10.x (Copy-edit "interactive figures & async programming" guide.)
* :ghpull:`29650`: Copy-edit "interactive figures & async programming" guide.
* :ghpull:`29633`: Backport PR #29631 on branch v3.10.x (Add inline notebook to test data)
* :ghpull:`29631`: Add inline notebook to test data
* :ghpull:`29627`: Backport PR #29617 on branch v3.10.x (DOC: Add docstrings to matplotlib.cbook.GrouperView)
* :ghpull:`29617`: DOC: Add docstrings to matplotlib.cbook.GrouperView
* :ghpull:`29625`: Backport PR #29622 on branch v3.10.x (DOC: Move "Infinite lines" example from section "pyplot" to "Lines, bars and markers)
* :ghpull:`29623`: Backport PR #29621 on branch v3.10.x (DOC: Cleanup text rotation in data coordinates example)
* :ghpull:`29619`: Backport PR #29616 on branch v3.10.x (FIX: Fix unit example so that we can unpin numpy<2.1)
* :ghpull:`29616`: FIX: Fix unit example so that we can unpin numpy<2.1
* :ghpull:`29611`: Backport PR #29608 on branch v3.10.x (Remove md5 usage to prevent issues on FIPS enabled systems (closes #29603))
* :ghpull:`29608`: Remove md5 usage to prevent issues on FIPS enabled systems (closes #29603)
* :ghpull:`29609`: Backport PR #29607 on branch v3.10.x (Correct doc for axvline arg x which sets x not y)
* :ghpull:`29604`: Backport PR #29601 on branch v3.10.x (DOC: Duplicate categorical values are mapped to the same position)
* :ghpull:`29598`: Backport PR #29597 on branch v3.10.x (Fix typo in deprecation notes for 3.10.0)
* :ghpull:`29591`: Backport PR #29585 on branch v3.10.x (DOC: Document that tight_layout may not converge)
* :ghpull:`29585`: DOC: Document that tight_layout may not converge
* :ghpull:`29587`: Backport PR #25801 on branch v3.10.x (Remove some examples from Userdemo)
* :ghpull:`29577`: Backport PR #29576 on branch v3.10.x (Remove documentation for no-longer existent ContourSet attributes.)
* :ghpull:`29576`: Remove documentation for no-longer existent ContourSet attributes.
* :ghpull:`29530`: Bump the actions group with 5 updates
* :ghpull:`29564`: Backport PR #29563 on branch v3.10.x (DOC: add color sequences reference example)
* :ghpull:`29563`: DOC: add color sequences reference example
* :ghpull:`29557`: Backport PR #29518: TST: Increase tolerance on more arches
* :ghpull:`29555`: Backport PR #29546 on branch v3.10.x (FIX: pyplot.matshow figure handling)
* :ghpull:`29546`: FIX: pyplot.matshow figure handling
* :ghpull:`29518`: TST: Increase tolerance on more arches
* :ghpull:`29547`: Backport PR #29543 on branch v3.10.x (DOC: Minor improvement on broken_barh())
* :ghpull:`29538`: Backport PR #29536 on branch v3.10.x (Fix typo in solarized example plot.)
* :ghpull:`29531`: Backport PR #29520 on branch v3.10.x (FIX: Correct variable name from _frame to _frames in PillowWriter class)
* :ghpull:`29520`: FIX: Correct variable name from _frame to _frames in PillowWriter class
* :ghpull:`29521`: Backport PR #29509 on branch v3.10.x (MNT: Discourage arrow())
* :ghpull:`29509`: MNT: Discourage arrow()
* :ghpull:`29514`: Backport PR #29511 on branch v3.10.x (DOC: Document the behavior of bar() for categorical x data)
* :ghpull:`29513`: Backport PR #29471 on branch v3.10.x (Fix subplot docs)
* :ghpull:`29511`: DOC: Document the behavior of bar() for categorical x data
* :ghpull:`29471`: Fix subplot docs
* :ghpull:`29500`: Backport PR #29478 on branch v3.10.x (DOC: Added blurb for colorizer objects in what's new for 3.10)
* :ghpull:`29498`: Backport PR #29488 on branch v3.10.x (DOC: Update broken_barh example)
* :ghpull:`29490`: Backport PR #29476 on branch v3.10.x (ci: Enable native ARM builders for wheels)
* :ghpull:`29476`: ci: Enable native ARM builders for wheels
* :ghpull:`29462`: Backport PR #29404 on branch v3.10.x (DOC: scales - built in options and custom scale usefulness)
* :ghpull:`29459`: Backport PR #29456 on branch v3.10.x (DOC: Fix type descriptions in fill_between docstring)
* :ghpull:`29404`: DOC: scales - built in options and custom scale usefulness
* :ghpull:`29458`: Backport PR #29457 on branch v3.10.x (DOC: Use float instead for scalar for type descriptions in docstrings)
* :ghpull:`29456`: DOC: Fix type descriptions in fill_between docstring
* :ghpull:`29457`: DOC: Use float instead for scalar for type descriptions in docstrings
* :ghpull:`29452`: Backport PR #29411 on branch v3.10.x (fix #29410 Modifying Axes' position also alters the original Bbox object used for initialization)
* :ghpull:`29411`: fix #29410 Modifying Axes' position also alters the original Bbox object used for initialization
* :ghpull:`29451`: Backport PR #29449 on branch v3.10.x (ci: Install libnotify4 on all Ubuntu)
* :ghpull:`29449`: ci: Install libnotify4 on all Ubuntu
* :ghpull:`29444`: Backport PR #29442 on branch v3.10.x (DOC: put section headings in 3.10 what's new)
* :ghpull:`29436`: Backport PR #29407 on branch v3.10.x (DOC: Improve log scale example)
* :ghpull:`29432`: Backport PR #29431 on branch v3.10.x (ft2font: Split named instance count from style flags)
* :ghpull:`29431`: ft2font: Split named instance count from style flags
* :ghpull:`29423`: Backport PR #29130 on branch v3.10.x (Raise warning if both c and facecolors are used in scatter plot (... and related improvements in the test suite).)
* :ghpull:`29420`: Backport PR #29406 on branch v3.10.x (DOC: Update scales overview)
* :ghpull:`29417`: Backport PR #29409 on branch v3.10.x (Fixed test case(test_axes.py) failing on ppc64le)
* :ghpull:`29416`: Backport PR #29382 on branch v3.10.x (Fix title position for polar plots)
* :ghpull:`29382`: Fix title position for polar plots
* :ghpull:`29412`: Backport PR #29363 on branch v3.10.x (FIX: Add version gate to GTK4 calls when necessary)
* :ghpull:`29409`: Fixed test case(test_axes.py) failing on ppc64le
* :ghpull:`29363`: FIX: Add version gate to GTK4 calls when necessary
* :ghpull:`29408`: Backport PR #29401 on branch v3.10.x (FIX: add errorbars with ``add_container``)
* :ghpull:`29401`: FIX: add errorbars with ``add_container``
* :ghpull:`29130`: Raise warning if both c and facecolors are used in scatter plot (... and related improvements in the test suite).
* :ghpull:`29390`: Backport PR #29389 on branch v3.10.x (DOC: Minor improvements on VPacker, HPacker, PaddedBox docs)
* :ghpull:`29389`: DOC: Minor improvements on VPacker, HPacker, PaddedBox docs
* :ghpull:`29371`: Backport PR #29353 on branch v3.10.x (DOC: Improve module docs of matplotlib.scale)
* :ghpull:`29361`: Backport PR #29355 on branch v3.10.x (Add QtCore.Slot() decorations to FigureCanvasQT)
* :ghpull:`29369`: Backport PR #29362 on branch v3.10.x (TYP: semantics of enums in stub files changed)
* :ghpull:`29353`: DOC: Improve module docs of matplotlib.scale
* :ghpull:`29362`: TYP: semantics of enums in stub files changed
* :ghpull:`29365`: Backport PR #29364 on branch v3.10.x (fix typo)
* :ghpull:`29366`: Backport PR #29347 on branch v3.10.x (DOC: Explain parameters linthresh and linscale of symlog scale)
* :ghpull:`29364`: fix typo
* :ghpull:`29355`: Add QtCore.Slot() decorations to FigureCanvasQT
* :ghpull:`29351`: Backport PR #29348 on branch v3.10.x (DOC: Cleanup scales examples)
* :ghpull:`29336`: Backport PR #29328 on branch v3.10.x (Bump github/codeql-action from 3.27.6 to 3.27.9 in the actions group)
* :ghpull:`29328`: Bump github/codeql-action from 3.27.6 to 3.27.9 in the actions group
* :ghpull:`29330`: Backport PR #29321 on branch v3.10.x (DOC: List min. Python version for Matplotlib 3.10)
* :ghpull:`29324`: Backport PR #29258 on branch v3.10.x (Adding font Size as default parameter)
* :ghpull:`29326`: Backport PR #29323 on branch v3.10.x (DOC: Don't put quotes around coordinate system names)
* :ghpull:`29323`: DOC: Don't put quotes around coordinate system names
* :ghpull:`29258`: Adding font Size as default parameter
* :ghpull:`29320`: Backport PR #29317 on branch v3.10.x (FIX: pass renderer through ``_auto_legend_data``)
* :ghpull:`29317`: FIX: pass renderer through ``_auto_legend_data``
* :ghpull:`29315`: Backport PR #29314 on branch v3.10.x (DOC: fix footnote in choosing colormaps guide)
* :ghpull:`29309`: Backport PR #29308 on branch v3.10.x (Update cibuildwheel workflow)
* :ghpull:`29310`: Backport PR #29292 on branch v3.10.x (Update dependencies.rst)
* :ghpull:`29308`: Update cibuildwheel workflow

Issues (14):

* :ghissue:`28382`: [Bug]: interpolation_stage="rgba" does not respect array-alpha
* :ghissue:`28780`: Doc build fails with numpy>=2.1.0
* :ghissue:`29603`: [Bug]: Setting ``text.usetex=True`` in ``pyplot.rcParams`` Raises FIPS Compliance Errors
* :ghissue:`29575`: [Doc]: QuadContourSet does not contain a collections attribute like stated in the manual
* :ghissue:`29519`: [Bug]: 'PillowWriter' object has no attribute '_frame' shouldn't be '_frames'?
* :ghissue:`29507`: [Bug]: Duplicating the labels in the ``height``/``width`` argument in ``barh()``/``bar`` leads to undrawn bars
* :ghissue:`29447`: [Doc]: ``subplot`` behavior is not same as the doc reads in 3.10(stable)
* :ghissue:`29410`: [Bug]: Modifying Axes' position also alters the original Bbox object used for initialization
* :ghissue:`29396`: [Bug]: Style flag errors trying to save figures as PDF with font Inter
* :ghissue:`29381`: [Bug]: title position incorrect for polar plot
* :ghissue:`29350`: [Bug]: Matplotlib causes segmentation fault when hovering mouse over graph
* :ghissue:`25274`: [Bug]: .remove() on ErrorbarContainer object does not remove the corresponding item from the legend
* :ghissue:`29202`: [Bug]: ``fontsize`` in tables not working
* :ghissue:`29301`: [Bug]: Blank EPS output with legend and annotate
1 change: 1 addition & 0 deletions doc/users/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Version 3.10
../api/prev_api_changes/api_changes_3.10.0.rst
github_stats.rst
prev_whats_new/github_stats_3.10.0.rst
prev_whats_new/github_stats_3.10.1.rst
Comment on lines 24 to +25
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong order.

Suggested change
prev_whats_new/github_stats_3.10.0.rst
prev_whats_new/github_stats_3.10.1.rst
prev_whats_new/github_stats_3.10.1.rst
prev_whats_new/github_stats_3.10.0.rst


Version 3.9
^^^^^^^^^^^
Expand Down
30 changes: 15 additions & 15 deletions lib/matplotlib/tests/test_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_repr():
"label='label', title={'center': 'title'}, xlabel='x', ylabel='y'>")


@check_figures_equal()
@check_figures_equal(extensions=['png'])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this change test decorators?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The backport of the #29827 did not include the change of defaults to check_figures_equal to only build png by default for API stability reasons. Thus the extensions remained explicit on the v3.10.x.

So any extensions=['png'] being added here that correspond with 4b51837 can be reverted.

def test_label_loc_vertical(fig_test, fig_ref):
ax = fig_test.subplots()
sc = ax.scatter([1, 2], [1, 2], c=[1, 2], label='scatter')
Expand All @@ -94,7 +94,7 @@ def test_label_loc_vertical(fig_test, fig_ref):
cbar.set_label("Z Label", y=1, ha='right')


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_label_loc_horizontal(fig_test, fig_ref):
ax = fig_test.subplots()
sc = ax.scatter([1, 2], [1, 2], c=[1, 2], label='scatter')
Expand All @@ -113,7 +113,7 @@ def test_label_loc_horizontal(fig_test, fig_ref):
cbar.set_label("Z Label", x=0, ha='left')


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_label_loc_rc(fig_test, fig_ref):
with matplotlib.rc_context({"xaxis.labellocation": "right",
"yaxis.labellocation": "top"}):
Expand Down Expand Up @@ -2250,7 +2250,7 @@ def test_bar_pandas_indexed(pd):


@mpl.style.context('default')
@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_bar_hatches(fig_test, fig_ref):
ax_test = fig_test.subplots()
ax_ref = fig_ref.subplots()
Expand Down Expand Up @@ -3299,7 +3299,7 @@ def layers(n, m):
axs[1, 1].stackplot(range(100), d.T, baseline='weighted_wiggle')


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_stackplot_hatching(fig_ref, fig_test):
x = np.linspace(0, 10, 10)
y1 = 1.0 * x
Expand Down Expand Up @@ -3468,7 +3468,7 @@ def test_bxp_customwhisker():
whiskerprops=dict(linestyle='-', color='m', lw=3)))


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_boxplot_median_bound_by_box(fig_test, fig_ref):
data = np.arange(3)
medianprops_test = {"linewidth": 12}
Expand Down Expand Up @@ -4276,7 +4276,7 @@ def test_errorbar_colorcycle():
assert mcolors.to_rgba(ln1.get_color()) == mcolors.to_rgba('C2')


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_errorbar_cycle_ecolor(fig_test, fig_ref):
x = np.arange(0.1, 4, 0.5)
y = [np.exp(-x+n) for n in range(4)]
Expand Down Expand Up @@ -4475,7 +4475,7 @@ def test_xerr_yerr_not_none():
ax.errorbar(x=[0], y=[0], yerr=[[None], [1]])


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_errorbar_every(fig_test, fig_ref):
x = np.linspace(0, 1, 15)
y = x * (1-x)
Expand Down Expand Up @@ -5322,7 +5322,7 @@ def test_eb_line_zorder():
ax.set_title("errorbar zorder test")


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_axline_loglog(fig_test, fig_ref):
ax = fig_test.subplots()
ax.set(xlim=(0.1, 10), ylim=(1e-3, 1))
Expand All @@ -5335,7 +5335,7 @@ def test_axline_loglog(fig_test, fig_ref):
ax.loglog([1, 10], [1e-3, 1e-2], c="k")


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_axline(fig_test, fig_ref):
ax = fig_test.subplots()
ax.set(xlim=(-1, 1), ylim=(-1, 1))
Expand All @@ -5358,7 +5358,7 @@ def test_axline(fig_test, fig_ref):
ax.axvline(-0.5, color='C5')


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_axline_transaxes(fig_test, fig_ref):
ax = fig_test.subplots()
ax.set(xlim=(-1, 1), ylim=(-1, 1))
Expand All @@ -5375,7 +5375,7 @@ def test_axline_transaxes(fig_test, fig_ref):
ax.plot([0, 0], [-1, 1], color='C3')


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_axline_transaxes_panzoom(fig_test, fig_ref):
# test that it is robust against pan/zoom and
# figure resize after plotting
Expand Down Expand Up @@ -6431,7 +6431,7 @@ def test_normalize_kwarg_pie():
assert abs(t2[0][-1].theta2 - 360.) > 1e-3


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_pie_hatch_single(fig_test, fig_ref):
x = [0.3, 0.3, 0.1]
hatch = '+'
Expand All @@ -6440,7 +6440,7 @@ def test_pie_hatch_single(fig_test, fig_ref):
[w.set_hatch(hatch) for w in wedges]


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_pie_hatch_multi(fig_test, fig_ref):
x = [0.3, 0.3, 0.1]
hatch = ['/', '+', '.']
Expand Down Expand Up @@ -9516,7 +9516,7 @@ def test_boxplot_tick_labels():


@needs_usetex
@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_latex_pie_percent(fig_test, fig_ref):

data = [20, 10, 70]
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/tests/test_colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -1676,7 +1676,7 @@ def test_scalarmappable_norm_update():
assert sm.stale


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_norm_update_figs(fig_test, fig_ref):
ax_ref = fig_ref.add_subplot()
ax_test = fig_test.add_subplot()
Expand Down
4 changes: 2 additions & 2 deletions lib/matplotlib/tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_imshow_zoom(fig_test, fig_ref):
ax.set_ylim([10, 20])


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_imshow_pil(fig_test, fig_ref):
style.use("default")
png_path = Path(__file__).parent / "baseline_images/pngsuite/basn3p04.png"
Expand Down Expand Up @@ -1384,7 +1384,7 @@ def test_huge_range_log(fig_test, fig_ref, x):
interpolation='nearest', cmap=cmap)


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_spy_box(fig_test, fig_ref):
# setting up reference and test
ax_test = fig_test.subplots(1, 3)
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/tests/test_legend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ def test_legend_markers_from_line2d():
assert labels == new_labels


@check_figures_equal()
@check_figures_equal(extensions=['png'])
def test_ncol_ncols(fig_test, fig_ref):
# Test that both ncol and ncols work
strings = ["a", "b", "c", "d", "e", "f"]
Expand Down
Loading
Loading