Skip to content

Commit 68b640a

Browse files
authored
Merge branch 'matplotlib:main' into logo_guide
2 parents ef32a2a + 4c817b8 commit 68b640a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+670
-399
lines changed

.github/workflows/pr_welcome.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
steps:
1212
- uses: actions/first-interaction@753c925c8d1ac6fede23781875376600628d9b5d # v3.0.0
1313
with:
14-
repo-token: ${{ secrets.GITHUB_TOKEN }}
15-
pr-message: >+
14+
repo_token: ${{ secrets.GITHUB_TOKEN }}
15+
pr_message: >+
1616
Thank you for opening your first PR into Matplotlib!
1717
1818

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
[![Conda](https://img.shields.io/conda/vn/conda-forge/matplotlib)](https://anaconda.org/conda-forge/matplotlib)
33
[![Downloads](https://img.shields.io/pypi/dm/matplotlib)](https://pypi.org/project/matplotlib)
44
[![NUMFocus](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](https://numfocus.org)
5+
[![LFX Health Score](https://insights.linuxfoundation.org/api/badge/health-score?project=matplotlib)](https://insights.linuxfoundation.org/project/matplotlib)
56

67
[![Discourse help forum](https://img.shields.io/badge/help_forum-discourse-blue.svg)](https://discourse.matplotlib.org)
78
[![Gitter](https://badges.gitter.im/matplotlib/matplotlib.svg)](https://gitter.im/matplotlib/matplotlib)

doc/_static/switcher.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
33
"name": "3.10 (stable)",
4-
"version": "3.10.5",
4+
"version": "3.10.6",
55
"url": "https://matplotlib.org/stable/",
66
"preferred": true
77
},
Lines changed: 35 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Parameters ``Axes3D.set_aspect(..., anchor=..., share=...)``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
The parameters *anchor* and *share* of `.Axes3D.set_aspect` are deprecated.
4+
They had no effect on 3D axes and will be removed in a future version.

doc/install/dependencies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ them will be skipped by pytest.
377377
.. _pandas: https://pypi.org/project/pandas/
378378
.. _pikepdf: https://pypi.org/project/pikepdf/
379379
.. _psutil: https://pypi.org/project/psutil/
380-
.. _pytz: https://fonts.google.com/noto/use#faq
380+
.. _pytz: https://pypi.org/project/pytz/
381381
.. _pytest-cov: https://pytest-cov.readthedocs.io/en/latest/
382382
.. _pytest-timeout: https://pypi.org/project/pytest-timeout/
383383
.. _pytest-xdist: https://pypi.org/project/pytest-xdist/

doc/install/index.rst

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,20 @@ precompiled wheel for your OS and Python.
2828

2929
.. note::
3030

31-
The following backends work out of the box: Agg, ps, pdf, svg
32-
33-
Python is typically shipped with tk bindings which are used by
34-
TkAgg. Notably, python-build-standalone – used by ``uv`` – does
35-
not include tk bindings that are usable by Matplotlib.
31+
The following non-interactive backends work out of the box: Agg,
32+
ps, pdf, svg
33+
34+
The TkAgg interactive backend also typically works out of the box.
35+
It requires Tk bindings, which are usually provided via the Python
36+
standard library's ``tkinter`` module. On some OSes, you may need
37+
to install a separate package like ``python3-tk`` to add this
38+
component of the standard library.
39+
40+
Some tools like ``uv`` make use of Python builds from the
41+
python-build-standalone project, which only gained usable Tk
42+
bindings recently (August 2025). If you are having trouble with the
43+
TkAgg backend, ensure you have an up-to-date build, e.g. ``uv self
44+
update && uv python upgrade --reinstall``.
3645

3746
For support of other GUI frameworks, LaTeX rendering, saving
3847
animations and a larger selection of file formats, you can

doc/install/quick_install.inc.rst

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,19 @@
2929
3030
.. warning::
3131

32-
If you install Python with ``uv`` then the ``tkagg`` backend
33-
will not be available because python-build-standalone (used by uv
34-
to distribute Python) does not contain tk bindings that are usable by
35-
Matplotlib (see `this issue`_ for details). If you want Matplotlib
36-
to be able to display plots in a window, you should install one of
37-
the other :ref:`supported GUI frameworks <optional_dependencies>`,
38-
e.g.
32+
uv usually installs its own versions of Python from the
33+
python-build-standalone project, and only recent versions of those
34+
Python builds (August 2025) work properly with the ``tkagg`` backend
35+
for displaying plots in a window. Please make sure you are using uv
36+
0.8.7 or newer (update with e.g. ``uv self update``) and that your
37+
bundled Python installs are up to date (with ``uv python upgrade
38+
--reinstall``). Alternatively, you can use one of the other
39+
:ref:`supported GUI frameworks <optional_dependencies>`, e.g.
3940

4041
.. code-block:: bash
4142
4243
uv add matplotlib pyside6
4344
44-
.. _this issue: https://github.com/astral-sh/uv/issues/6893#issuecomment-2565965851
45-
4645
.. tab-item:: other
4746

4847
:ref:`install-official`

doc/project/citing.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ By version
3232
.. START OF AUTOGENERATED
3333
3434
35+
v3.10.6
36+
.. image:: ../_static/zenodo_cache/16999430.svg
37+
:target: https://doi.org/10.5281/zenodo.16999430
3538
v3.10.5
3639
.. image:: ../_static/zenodo_cache/16644850.svg
3740
:target: https://doi.org/10.5281/zenodo.16644850

doc/release/github_stats.rst

Lines changed: 35 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,30 @@
22

33
.. _github-stats:
44

5-
GitHub statistics for 3.10.5 (Jul 31, 2025)
5+
GitHub statistics for 3.10.6 (Aug 29, 2025)
66
===========================================
77

8-
GitHub statistics for 2024/12/14 (tag: v3.10.0) - 2025/07/31
8+
GitHub statistics for 2024/12/14 (tag: v3.10.0) - 2025/08/29
99

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

12-
We closed 18 issues and merged 67 pull requests.
13-
The full list can be seen `on GitHub <https://github.com/matplotlib/matplotlib/milestone/102?closed=1>`__
12+
We closed 4 issues and merged 19 pull requests.
13+
The full list can be seen `on GitHub <https://github.com/matplotlib/matplotlib/milestone/103?closed=1>`__
1414

15-
The following 36 authors contributed 371 commits.
15+
The following 31 authors contributed 380 commits.
1616

17+
* Alan Burlot
1718
* Antony Lee
18-
* Brian Christian
19-
* chrisjbillington
2019
* Christine P. Chai
21-
* Clément Robert
2220
* David Stansby
2321
* dependabot[bot]
22+
* Doron Behar
2423
* Elliott Sales de Andrade
2524
* G.D. McBain
2625
* Greg Lucas
2726
* hannah
2827
* hu-xiaonan
2928
* Ian Thomas
30-
* ianlv
31-
* IdiotCoffee
32-
* Ines Cachola
3329
* Inês Cachola
3430
* Jody Klymak
3531
* Jouni K. Seppänen
@@ -43,7 +39,6 @@ The following 36 authors contributed 371 commits.
4339
* Qian Zhang
4440
* Raphael Erik Hviding
4541
* Roman
46-
* Roman A
4742
* Ruth Comer
4843
* saikarna913
4944
* Scott Shambaugh
@@ -53,95 +48,34 @@ The following 36 authors contributed 371 commits.
5348

5449
GitHub issues and pull requests:
5550

56-
Pull Requests (67):
57-
58-
* :ghpull:`30357`: CIBW updates: fix pypy sections, update cibw version
59-
* :ghpull:`30356`: Manual Backport PR #30195 on branch v3.10.x (ci: Enable wheel builds on Python 3.14)
60-
* :ghpull:`30352`: Backport PR #28554 on branch v3.10.x (BLD: Enable wheels on Windows-on-ARM)
61-
* :ghpull:`30353`: Backport PR #30345 on branch v3.10.x (qt: Use better devicePixelRatio event to refresh scaling)
62-
* :ghpull:`30350`: Backport PR #30344 on branch v3.10.x (Support fractional HiDPI in GTK4 backend)
63-
* :ghpull:`30277`: Backport PR #30271 on branch v3.10.x (Reduce pause time in interactive timer test)
64-
* :ghpull:`30351`: Backport PR #30327 on branch v3.10.x (FIX Update Axes limits from Axes.add_collection(... autolim=True))
65-
* :ghpull:`30345`: qt: Use better devicePixelRatio event to refresh scaling
66-
* :ghpull:`28554`: BLD: Enable wheels on Windows-on-ARM
67-
* :ghpull:`30292`: Backport PR #30237: Add explicit ``**options: Any`` for ``add_subplot`` m…
68-
* :ghpull:`29935`: Backport PR #29908 on branch v3.10.x (TST: Use text placeholders for empty legends)
69-
* :ghpull:`30327`: FIX Update Axes limits from Axes.add_collection(... autolim=True)
70-
* :ghpull:`30344`: Support fractional HiDPI in GTK4 backend
71-
* :ghpull:`30326`: Backport PR #30321 on branch v3.10.x (Fix type annotation for Axes.get_legend() to include None)
72-
* :ghpull:`30321`: Fix type annotation for Axes.get_legend() to include None
73-
* :ghpull:`30287`: Backport PR #30286 on branch v3.10.x (Fix whitespace in _axes.py error message)
74-
* :ghpull:`30288`: Backport PR #30283 on branch v3.10.x (changed the FAQ link to point to the correct path)
75-
* :ghpull:`30293`: Backport PR #30289 on branch v3.10.x (DOC: Fix build with pybind11 3)
76-
* :ghpull:`30283`: changed the FAQ link to point to the correct path
77-
* :ghpull:`30286`: Fix whitespace in _axes.py error message
78-
* :ghpull:`30271`: Reduce pause time in interactive timer test
79-
* :ghpull:`30269`: Backport PR #30186 on branch v3.10.x (Fix figure legend when drawing stackplots)
80-
* :ghpull:`30186`: Fix figure legend when drawing stackplots
81-
* :ghpull:`30268`: Backport PR #30233 on branch v3.10.x (Check that stem input is 1D)
82-
* :ghpull:`30233`: Check that stem input is 1D
83-
* :ghpull:`30259`: Backport PR #30256 on branch v3.10.x (Time out in _get_executable_info)
84-
* :ghpull:`30256`: Time out in _get_executable_info
85-
* :ghpull:`30237`: Add explicit ``**options: Any`` for ``add_subplot`` method
86-
* :ghpull:`30253`: Backport PR #30243 on branch v3.10.x (Fix FancyArrow rendering for zero-length arrows)
87-
* :ghpull:`30243`: Fix FancyArrow rendering for zero-length arrows
88-
* :ghpull:`30250`: Backport PR #30244 on branch v3.10.x (DOC: Recommend to use bare Figure instances for saving to file)
89-
* :ghpull:`30247`: Backport PR #30246 on branch v3.10.x (chore: remove redundant words in comment)
90-
* :ghpull:`30246`: chore: remove redundant words in comment
91-
* :ghpull:`30240`: Backport PR #30236 on branch v3.10.x (Copy-edit the docstring of AuxTransformBox.)
92-
* :ghpull:`30236`: Copy-edit the docstring of AuxTransformBox.
93-
* :ghpull:`30234`: Backport PR #30209 on branch v3.10.x (Clean up Qt socket notifier to avoid spurious interrupt handler calls)
94-
* :ghpull:`30209`: Clean up Qt socket notifier to avoid spurious interrupt handler calls
95-
* :ghpull:`30195`: ci: Enable wheel builds on Python 3.14
96-
* :ghpull:`30229`: Backport PR #30221 on branch v3.10.x (BUG: fix future incompatibility with Pillow 13)
97-
* :ghpull:`30221`: BUG: fix future incompatibility with Pillow 13
98-
* :ghpull:`30228`: Backport PR #30098 on branch v3.10.x (Fix label_outer in the presence of colorbars.)
99-
* :ghpull:`30227`: Backport PR #30223 on branch v3.10.x (Polar log scale: fix inner patch boundary and spine location)
100-
* :ghpull:`30098`: Fix label_outer in the presence of colorbars.
101-
* :ghpull:`30223`: Polar log scale: fix inner patch boundary and spine location
102-
* :ghpull:`30217`: Backport PR #30198 on branch v3.10.x (Implement Path.__deepcopy__ avoiding infinite recursion)
103-
* :ghpull:`30198`: Implement Path.__deepcopy__ avoiding infinite recursion
104-
* :ghpull:`30213`: Backport PR #30212 on branch v3.10.x ([Doc]: fix bug in release notes for matplotlib v3.5.0 and v3.7.0)
105-
* :ghpull:`30189`: Backport PR #30180 on branch v3.10.x (DOC: expand polar example)
106-
* :ghpull:`30167`: Backport PR #30162 on branch v3.10.x (TST: Fix runtime error checking NaN input to format_cursor_data)
107-
* :ghpull:`30162`: TST: Fix runtime error checking NaN input to format_cursor_data
108-
* :ghpull:`30146`: Backport PR #30144 on branch v3.10.x (js: Fix externally-controlled format strings)
109-
* :ghpull:`30144`: js: Fix externally-controlled format strings
110-
* :ghpull:`30140`: Backport PR #30118 on branch v3.10.x (CI: Skip jobs on forks)
111-
* :ghpull:`30120`: Backport PR #30114 on branch v3.10.x (Fix _is_tensorflow_array.)
112-
* :ghpull:`30122`: Backport PR #30119 on branch v3.10.x (Add some types to _mathtext.py)
113-
* :ghpull:`30119`: Add some types to _mathtext.py
114-
* :ghpull:`30114`: Fix _is_tensorflow_array.
115-
* :ghpull:`30106`: Backport PR #30089 on branch v3.10.x (FIX: fix submerged margins algorithm being applied twice)
116-
* :ghpull:`30089`: FIX: fix submerged margins algorithm being applied twice
117-
* :ghpull:`30101`: Backport PR #30096 on branch v3.10.x (Fix OffsetBox custom picker)
118-
* :ghpull:`30096`: Fix OffsetBox custom picker
119-
* :ghpull:`30081`: Backport PR #30079 on branch v3.10.x (FIX: cast legend handles to list)
120-
* :ghpull:`30079`: FIX: cast legend handles to list
121-
* :ghpull:`30057`: Backport PR #29895 on branch v3.10.x (The 'lines.markeredgecolor' now doesn't interfere on the color of errorbar caps)"
122-
* :ghpull:`29895`: The 'lines.markeredgecolor' now doesn't interfere on the color of errorbar caps
123-
* :ghpull:`30033`: Backport PR #30029 on branch v3.10.x (Update diagram in subplots_adjust documentation to clarify parameters)
124-
125-
Issues (18):
126-
127-
* :ghissue:`30370`: [Bug]: matplotlib simple example fails in Python 3.14
128-
* :ghissue:`30218`: [Bug]: Rendering on Wayland with fractional scaling looks bad
129-
* :ghissue:`30318`: [Bug]: type annotation of ``Axes.get_legend()`` misses ``None``
130-
* :ghissue:`30169`: [Doc]: Incorrect FAQ Link on Tutorials Page
131-
* :ghissue:`30285`: [Bug]: Missing whitespace in _axes.py error message
132-
* :ghissue:`30280`: [Bug]: Pillow 11.3 raises a deprecation warning when using TkAgg
133-
* :ghissue:`30158`: [Bug]: Stackplot in SubFigure raises when drawing Legend
134-
* :ghissue:`30216`: [Bug]: stem complaining about PyTorch's Tensor
135-
* :ghissue:`30242`: [Bug]: Cannot create empty FancyArrow (expired numpy deprecation)
136-
* :ghissue:`30249`: [Bug]: DeprecationWarning from Pillow 11.3.0 about 'mode' parameter of PIL.Image.fromarray()
137-
* :ghissue:`29688`: [Bug]: "Bad file descriptor" raised repeatedly when plt.pause() interrupted in IPython
138-
* :ghissue:`27305`: [Bug]: Axes.label_outer() does not work when there is a colorbar
139-
* :ghissue:`30179`: [Bug]: Inner border is not rendered correctly when using log-scale and polar projection.
140-
* :ghissue:`29157`: FUTURE BUG: reconsider how we deep-copy path objects
141-
* :ghissue:`30152`: [Bug]: Test pipeline failure on windows
142-
* :ghissue:`30076`: [Bug]: Layout Managers are confused by complex arrangement of sub-figures and gridspec's
143-
* :ghissue:`30078`: [Bug]: legend no longer works with itertools.chain
144-
* :ghissue:`29780`: [Bug]: Setting 'lines.markeredgecolor' affects color of errorbar caps.
51+
Pull Requests (19):
52+
53+
* :ghpull:`30487`: Backport PR #30484 on branch v3.10.x (FIX: be more cautious about checking widget size)
54+
* :ghpull:`30484`: FIX: be more cautious about checking widget size
55+
* :ghpull:`30481`: Backport PR #30394 on branch v3.10.x (ENH: Gracefully handle python-build-standalone ImportError with Tk)
56+
* :ghpull:`30477`: Backport PR #30476 on branch v3.10.x (ci: Remove cibuildwheel override for win_arm64/Py3.14)
57+
* :ghpull:`30394`: ENH: Gracefully handle python-build-standalone ImportError with Tk
58+
* :ghpull:`30476`: ci: Remove cibuildwheel override for win_arm64/Py3.14
59+
* :ghpull:`30461`: Backport PR #30451 on branch v3.10.x (doc: factor out quick install tab for reuse)
60+
* :ghpull:`30448`: Backport PR #30412 on branch v3.10.x ({Check,Radio}Buttons: Improve docs of label_props)
61+
* :ghpull:`30412`: {Check,Radio}Buttons: Improve docs of label_props
62+
* :ghpull:`30445`: Backport PR #30444 on branch v3.10.x (Small correction of a typo in the galleries: axis instead of axes)
63+
* :ghpull:`30444`: Small correction of a typo in the galleries: axis instead of axes
64+
* :ghpull:`30430`: Backport PR #30426 on branch v3.10.x (Fix a race condition in TexManager.make_dvi.)
65+
* :ghpull:`30434`: Backport PR #30426: Fix a race condition in TexManager.make_dvi & make_png.
66+
* :ghpull:`30431`: Use pathlib in texmanager.
67+
* :ghpull:`30428`: Backport PR #30399 on branch v3.10.x (Qt: Fix HiDPI handling on X11/Windows)
68+
* :ghpull:`30426`: Fix a race condition in TexManager.make_dvi.
69+
* :ghpull:`30399`: Qt: Fix HiDPI handling on X11/Windows
70+
* :ghpull:`30415`: Backport PR #30414 on branch v3.10.x (DOC: update Cartopy url)
71+
* :ghpull:`30414`: DOC: update Cartopy url
72+
73+
Issues (4):
74+
75+
* :ghissue:`29618`: [Bug]: FigureCanvasQT is seemingly prematurely freed under certain conditions
76+
* :ghissue:`30390`: [ENH]: Gracefully handle python-build-standalone ImportError
77+
* :ghissue:`30420`: [ENH]: Support parallel plotting
78+
* :ghissue:`30386`: BUG: Qt hi-dpi regression on windows and X11 with mpl 3.10.5
14579

14680

14781
Previous GitHub statistics

0 commit comments

Comments
 (0)