Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 16af8c0

Browse filesBrowse files
committed
Merge branch 'v3.9.x' into merge-v39x
2 parents 9f49b07 + d04b2f6 commit 16af8c0
Copy full SHA for 16af8c0

File tree

Expand file treeCollapse file tree

8 files changed

+328
-168
lines changed
Filter options
Expand file treeCollapse file tree

8 files changed

+328
-168
lines changed

‎.github/workflows/cibuildwheel.yml

Copy file name to clipboardExpand all lines: .github/workflows/cibuildwheel.yml
+9-2Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,15 @@ jobs:
100100
CIBW_AFTER_BUILD: >-
101101
twine check {wheel} &&
102102
python {package}/ci/check_wheel_licenses.py {wheel}
103-
CIBW_CONFIG_SETTINGS: setup-args="--vsenv"
103+
# On Windows, we explicitly request MSVC compilers (as GitHub Action runners have
104+
# MinGW on PATH that would be picked otherwise), switch to a static build for
105+
# runtimes, but use dynamic linking for `VCRUNTIME140.dll`, `VCRUNTIME140_1.dll`,
106+
# and the UCRT. This avoids requiring specific versions of `MSVCP140.dll`, while
107+
# keeping shared state with the rest of the Python process/extensions.
108+
CIBW_CONFIG_SETTINGS_WINDOWS: >-
109+
setup-args="--vsenv"
110+
setup-args="-Db_vscrt=mt"
111+
setup-args="-Dcpp_link_args=['ucrt.lib','vcruntime.lib','/nodefaultlib:libucrt.lib','/nodefaultlib:libvcruntime.lib']"
104112
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
105113
CIBW_SKIP: "*-musllinux_aarch64"
106114
CIBW_TEST_COMMAND: >-
@@ -144,7 +152,6 @@ jobs:
144152
CIBW_SKIP: "cp313t-win_amd64 *-musllinux_aarch64"
145153
CIBW_BUILD_FRONTEND:
146154
"pip; args: --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
147-
CIBW_PRERELEASE_PYTHONS: true
148155
CIBW_FREE_THREADED_SUPPORT: true
149156
# No free-threading wheels available for aarch64 on Pillow.
150157
CIBW_TEST_SKIP: "cp313t-manylinux_aarch64"

‎doc/_static/zenodo_cache/13308876.svg

Copy file name to clipboard
+35Lines changed: 35 additions & 0 deletions
Loading
+16Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
API Changes for 3.9.2
2+
=====================
3+
4+
Development
5+
-----------
6+
7+
Windows wheel runtime bundling made static
8+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9+
10+
In 3.7.0, the MSVC runtime DLL was bundled in wheels to enable importing Matplotlib on
11+
systems that do not have it installed. However, this could cause inconsistencies with
12+
other wheels that did the same, and trigger random crashes depending on import order. See
13+
`this issue <https://github.com/matplotlib/matplotlib/issues/28551>`_ for further
14+
details.
15+
16+
Since 3.9.2, wheels now bundle the MSVC runtime DLL statically to avoid such issues.

‎doc/project/citing.rst

Copy file name to clipboardExpand all lines: doc/project/citing.rst
+3Lines 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.9.2
36+
.. image:: ../_static/zenodo_cache/13308876.svg
37+
:target: https://doi.org/10.5281/zenodo.13308876
3538
v3.9.1
3639
.. image:: ../_static/zenodo_cache/12652732.svg
3740
:target: https://doi.org/10.5281/zenodo.12652732

‎doc/users/github_stats.rst

Copy file name to clipboardExpand all lines: doc/users/github_stats.rst
+70-166Lines changed: 70 additions & 166 deletions
Large diffs are not rendered by default.
+192Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
.. _github-stats-3-9-1:
2+
3+
GitHub statistics for 3.9.1 (Jul 04, 2024)
4+
==========================================
5+
6+
GitHub statistics for 2024/05/15 (tag: v3.9.0) - 2024/07/04
7+
8+
These lists are automatically generated, and may be incomplete or contain duplicates.
9+
10+
We closed 30 issues and merged 111 pull requests.
11+
The full list can be seen `on GitHub <https://github.com/matplotlib/matplotlib/milestone/91?closed=1>`__
12+
13+
The following 29 authors contributed 184 commits.
14+
15+
* Antony Lee
16+
* Brigitta Sipőcz
17+
* Christian Mattsson
18+
* dale
19+
* dependabot[bot]
20+
* Elliott Sales de Andrade
21+
* Eytan Adler
22+
* Greg Lucas
23+
* haaris
24+
* hannah
25+
* Ian Thomas
26+
* Illviljan
27+
* K900
28+
* Kyle Sunden
29+
* Lumberbot (aka Jack)
30+
* malhar2460
31+
* Matthew Feickert
32+
* Melissa Weber Mendonça
33+
* MischaMegens2
34+
* Oscar Gustafsson
35+
* Ruth Comer
36+
* Scott Shambaugh
37+
* simond07
38+
* SjoerdB93
39+
* Takumasa N
40+
* Takumasa N.
41+
* Takumasa Nakamura
42+
* Thomas A Caswell
43+
* Tim Hoffmann
44+
45+
GitHub issues and pull requests:
46+
47+
Pull Requests (111):
48+
49+
* :ghpull:`28507`: Backport PR #28430 on branch v3.9.x (Fix pickling of AxesWidgets.)
50+
* :ghpull:`28506`: Backport PR #28451 on branch v3.9.x (Fix GTK cairo backends)
51+
* :ghpull:`28430`: Fix pickling of AxesWidgets.
52+
* :ghpull:`25861`: Fix Hidpi scaling for GTK4Cairo
53+
* :ghpull:`28451`: Fix GTK cairo backends
54+
* :ghpull:`28499`: Backport PR #28498 on branch v3.9.x (Don't fail if we can't query system fonts on macOS)
55+
* :ghpull:`28498`: Don't fail if we can't query system fonts on macOS
56+
* :ghpull:`28491`: Backport PR #28487 on branch v3.9.x (Fix autoscaling with axhspan)
57+
* :ghpull:`28490`: Backport PR #28486 on branch v3.9.x (Fix CompositeGenericTransform.contains_branch_seperately)
58+
* :ghpull:`28487`: Fix autoscaling with axhspan
59+
* :ghpull:`28486`: Fix CompositeGenericTransform.contains_branch_seperately
60+
* :ghpull:`28483`: Backport PR #28393 on branch v3.9.x (Make sticky edges only apply if the sticky edge is the most extreme limit point)
61+
* :ghpull:`28482`: Backport PR #28473 on branch v3.9.x (Do not lowercase module:// backends)
62+
* :ghpull:`28393`: Make sticky edges only apply if the sticky edge is the most extreme limit point
63+
* :ghpull:`28473`: Do not lowercase module:// backends
64+
* :ghpull:`28480`: Backport PR #28474 on branch v3.9.x (Fix typing and docs for containers)
65+
* :ghpull:`28479`: Backport PR #28397 (FIX: stale root Figure when adding/updating subfigures)
66+
* :ghpull:`28474`: Fix typing and docs for containers
67+
* :ghpull:`28472`: Backport PR #28289 on branch v3.9.x (Promote mpltype Sphinx role to a public extension)
68+
* :ghpull:`28471`: Backport PR #28342 on branch v3.9.x (DOC: Document the parameter *position* of apply_aspect() as internal)
69+
* :ghpull:`28470`: Backport PR #28398 on branch v3.9.x (Add GIL Release to flush_events in macosx backend)
70+
* :ghpull:`28469`: Backport PR #28355 on branch v3.9.x (MNT: Re-add matplotlib.cm.get_cmap)
71+
* :ghpull:`28397`: FIX: stale root Figure when adding/updating subfigures
72+
* :ghpull:`28289`: Promote mpltype Sphinx role to a public extension
73+
* :ghpull:`28342`: DOC: Document the parameter *position* of apply_aspect() as internal
74+
* :ghpull:`28398`: Add GIL Release to flush_events in macosx backend
75+
* :ghpull:`28355`: MNT: Re-add matplotlib.cm.get_cmap
76+
* :ghpull:`28468`: Backport PR #28465 on branch v3.9.x (Fix pickling of SubFigures)
77+
* :ghpull:`28465`: Fix pickling of SubFigures
78+
* :ghpull:`28462`: Backport PR #28440 on branch v3.9.x (DOC: Add note about simplification of to_polygons)
79+
* :ghpull:`28460`: Backport PR #28459 on branch v3.9.x (DOC: Document kwargs scope for tick setter functions)
80+
* :ghpull:`28461`: Backport PR #28458 on branch v3.9.x (Correct numpy dtype comparisons in image_resample)
81+
* :ghpull:`28440`: DOC: Add note about simplification of to_polygons
82+
* :ghpull:`28458`: Correct numpy dtype comparisons in image_resample
83+
* :ghpull:`28459`: DOC: Document kwargs scope for tick setter functions
84+
* :ghpull:`28450`: Backport of 28371 and 28411
85+
* :ghpull:`28446`: Backport PR #28403 on branch v3.9.x (FIX: Autoscale support in add_collection3d for Line3DCollection and Poly3DCollection
86+
* :ghpull:`28445`: Backport PR #28403 on branch v3.9.x (FIX: Autoscale support in add_collection3d for Line3DCollection and Poly3DCollection)
87+
* :ghpull:`28438`: Backport PR #28436 on branch v3.9.x (Fix ``is_color_like`` for 2-tuple of strings and fix ``to_rgba`` for ``(nth_color, alpha)``)
88+
* :ghpull:`28403`: FIX: Autoscale support in add_collection3d for Line3DCollection and Poly3DCollection
89+
* :ghpull:`28443`: Backport PR #28441 on branch v3.9.x (MNT: Update basic units example to work with numpy 2.0)
90+
* :ghpull:`28441`: MNT: Update basic units example to work with numpy 2.0
91+
* :ghpull:`28436`: Fix ``is_color_like`` for 2-tuple of strings and fix ``to_rgba`` for ``(nth_color, alpha)``
92+
* :ghpull:`28426`: Backport PR #28425 on branch v3.9.x (Fix Circle yaml line length)
93+
* :ghpull:`28427`: Fix circleci yaml
94+
* :ghpull:`28425`: Fix Circle yaml line length
95+
* :ghpull:`28422`: Backport PR #28401 on branch v3.9.x (FIX: Fix text wrapping)
96+
* :ghpull:`28424`: Backport PR #28423 on branch v3.9.x (Update return type for Axes.axhspan and Axes.axvspan)
97+
* :ghpull:`28423`: Update return type for Axes.axhspan and Axes.axvspan
98+
* :ghpull:`28401`: FIX: Fix text wrapping
99+
* :ghpull:`28419`: Backport PR #28414 on branch v3.9.x (Clean up obsolete widget code)
100+
* :ghpull:`28411`: Bump the actions group with 3 updates
101+
* :ghpull:`28414`: Clean up obsolete widget code
102+
* :ghpull:`28415`: Backport PR #28413 on branch v3.9.x (CI: update action that got moved org)
103+
* :ghpull:`28413`: CI: update action that got moved org
104+
* :ghpull:`28392`: Backport PR #28388 on branch v3.9.x (Allow duplicate (name, value) entry points for backends)
105+
* :ghpull:`28362`: Backport PR #28337 on branch v3.9.x (Bump the actions group across 1 directory with 3 updates)
106+
* :ghpull:`28388`: Allow duplicate (name, value) entry points for backends
107+
* :ghpull:`28389`: Backport PR #28380 on branch v3.9.x (Remove outdated docstring section in RendererBase.draw_text.)
108+
* :ghpull:`28380`: Remove outdated docstring section in RendererBase.draw_text.
109+
* :ghpull:`28385`: Backport PR #28377 on branch v3.9.x (DOC: Clarify scope of wrap.)
110+
* :ghpull:`28377`: DOC: Clarify scope of wrap.
111+
* :ghpull:`28368`: Backport PR #28359 on branch v3.9.x (Document that axes unsharing is impossible.)
112+
* :ghpull:`28359`: Document that axes unsharing is impossible.
113+
* :ghpull:`28337`: Bump the actions group across 1 directory with 3 updates
114+
* :ghpull:`28351`: Backport PR #28307 on branch v3.9.x (DOC: New color line by value example)
115+
* :ghpull:`28307`: DOC: New color line by value example
116+
* :ghpull:`28339`: Backport PR #28336 on branch v3.9.x (DOC: Add version warning banner for docs versions different from stable)
117+
* :ghpull:`28336`: DOC: Add version warning banner for docs versions different from stable
118+
* :ghpull:`28334`: Backport PR #28332 on branch v3.9.x (Call IPython.enable_gui when install repl displayhook)
119+
* :ghpull:`28332`: Call IPython.enable_gui when install repl displayhook
120+
* :ghpull:`28331`: Backport PR #28329 on branch v3.9.x (DOC: Add example for 3D intersecting planes)
121+
* :ghpull:`28329`: DOC: Add example for 3D intersecting planes
122+
* :ghpull:`28327`: Backport PR #28292 on branch v3.9.x (Resolve MaxNLocator IndexError when no large steps)
123+
* :ghpull:`28292`: Resolve MaxNLocator IndexError when no large steps
124+
* :ghpull:`28326`: Backport PR #28041 on branch v3.9.x ([BUG]: Shift box_aspect according to vertical_axis)
125+
* :ghpull:`28041`: [BUG]: Shift box_aspect according to vertical_axis
126+
* :ghpull:`28320`: Backport PR #27001 on branch v3.9.x ([TYP] Add overload of ``pyplot.subplots``)
127+
* :ghpull:`27001`: [TYP] Add overload of ``pyplot.subplots``
128+
* :ghpull:`28318`: Backport PR #28273 on branch v3.9.x (CI: Add GitHub artifact attestations to package distribution)
129+
* :ghpull:`28273`: CI: Add GitHub artifact attestations to package distribution
130+
* :ghpull:`28305`: Backport PR #28303 on branch v3.9.x (Removed drawedges repeated definition from function doc string)
131+
* :ghpull:`28303`: Removed drawedges repeated definition from function doc string
132+
* :ghpull:`28299`: Backport PR #28297 on branch v3.9.x (Solved #28296 Added missing comma)
133+
* :ghpull:`28297`: Solved #28296 Added missing comma
134+
* :ghpull:`28294`: Backport PR #28261 on branch v3.9.x (Correct roll angle units, issue #28256)
135+
* :ghpull:`28261`: Correct roll angle units, issue #28256
136+
* :ghpull:`28283`: Backport PR #28280 on branch v3.9.x (DOC: Add an example for 2D images in 3D plots)
137+
* :ghpull:`28280`: DOC: Add an example for 2D images in 3D plots
138+
* :ghpull:`28278`: Backport PR #28272 on branch v3.9.x (BLD: Move macos builders from 11 to 12)
139+
* :ghpull:`28277`: Backport PR #28274 on branch v3.9.x (ci: Remove deprecated codeql option)
140+
* :ghpull:`28272`: BLD: Move macos builders from 11 to 12
141+
* :ghpull:`28274`: ci: Remove deprecated codeql option
142+
* :ghpull:`28270`: Backport PR #28269 on branch v3.9.x (Handle GetForegroundWindow() returning NULL.)
143+
* :ghpull:`28269`: Handle GetForegroundWindow() returning NULL.
144+
* :ghpull:`28266`: Backport PR #28257 on branch v3.9.x (Clean up some Meson-related leftovers)
145+
* :ghpull:`28257`: Clean up some Meson-related leftovers
146+
* :ghpull:`28255`: Backport PR #28254 on branch v3.9.x ([DOC] plot type heading consistency)
147+
* :ghpull:`28254`: [DOC] plot type heading consistency
148+
* :ghpull:`28253`: Backport PR #28252 on branch v3.9.x (DOC: Flip the imshow plot types example to match the other examples)
149+
* :ghpull:`28252`: DOC: Flip the imshow plot types example to match the other examples
150+
* :ghpull:`28247`: Backport PR #28230 on branch v3.9.x (Add extra imports to improve typing)
151+
* :ghpull:`28230`: Add extra imports to improve typing
152+
* :ghpull:`28246`: Backport PR #28243 on branch v3.9.x (DOC: Add more 3D plot types)
153+
* :ghpull:`28243`: DOC: Add more 3D plot types
154+
* :ghpull:`28241`: Backport PR #28219 on branch v3.9.x (Bump the actions group with 2 updates)
155+
* :ghpull:`28219`: Bump the actions group with 2 updates
156+
* :ghpull:`28237`: Backport PR #28233 on branch v3.9.x (CI: Fix font install on macOS/Homebrew)
157+
* :ghpull:`28236`: Backport PR #28231 on branch v3.9.x (DOC: we do not need the blit call in on_draw)
158+
* :ghpull:`28233`: CI: Fix font install on macOS/Homebrew
159+
* :ghpull:`28231`: DOC: we do not need the blit call in on_draw
160+
161+
Issues (30):
162+
163+
* :ghissue:`22482`: [ENH]: pickle (or save) matplotlib figure with insteractive slider
164+
* :ghissue:`25847`: [Bug]: Graph gets cut off with scaled resolution using gtk4cairo backend
165+
* :ghissue:`28341`: [Bug]: Incorrect X-axis scaling with date values
166+
* :ghissue:`28383`: [Bug]: axvspan no longer participating in limit calculations
167+
* :ghissue:`28223`: [Bug]: Inconsistent Visualization of Intervals in ax.barh for Different Duration Widths
168+
* :ghissue:`28432`: [Bug]: Backend name specified as module gets lowercased since 3.9
169+
* :ghissue:`28467`: [Bug]: Incorrect type stub for ``ErrorbarContainer``'s ``lines`` attribute.
170+
* :ghissue:`28384`: [Bug]: subfigure artists not drawn interactively
171+
* :ghissue:`28234`: [Bug]: mpltype custom role breaks sphinx build for third-party projects that have intersphinx links to matplotlib
172+
* :ghissue:`28464`: [Bug]: figure with subfigures cannot be pickled
173+
* :ghissue:`28448`: [Bug]: Making an RGB image from pickled data throws error
174+
* :ghissue:`23317`: [Bug]: ``add_collection3d`` does not update view limits
175+
* :ghissue:`17130`: autoscale_view is not working with Line3DCollection
176+
* :ghissue:`28434`: [Bug]: Setting exactly 2 colors with tuple in ``plot`` method gives confusing error
177+
* :ghissue:`28417`: [Doc]: axhspan and axvspan now return Rectangles, not Polygons.
178+
* :ghissue:`28378`: [ENH]: Switch text wrapping boundary to subfigure
179+
* :ghissue:`28404`: [Doc]: matplotlib.widgets.CheckButtons no longer has .rectangles attribute, needs removed.
180+
* :ghissue:`28367`: [Bug]: Backend entry points can be erroneously duplicated
181+
* :ghissue:`28358`: [Bug]: Labels don't get wrapped when set_yticks() is used in subplots
182+
* :ghissue:`28374`: [Bug]: rcParam ``tk.window_focus: True`` is causes crash on Linux in version 3.9.0.
183+
* :ghissue:`28324`: [Bug]: show(block=False) freezes
184+
* :ghissue:`28239`: [Doc]: Gallery example showing 3D slice planes
185+
* :ghissue:`27603`: [Bug]: _raw_ticker() istep
186+
* :ghissue:`24328`: [Bug]: class Axes3D.set_box_aspect() sets wrong aspect ratios when Axes3D.view_init( vertical_axis='y') is enabled.
187+
* :ghissue:`28221`: [Doc]: drawedges attribute described twice in matplotlib.colorbar documentation
188+
* :ghissue:`28296`: [Doc]: Missing comma
189+
* :ghissue:`28256`: [Bug]: axes3d.py's _on_move() converts the roll angle to radians, but then passes it to view_init() as if it were still in degrees
190+
* :ghissue:`28267`: [Bug]: for Python 3.11.9 gor ValueError: PyCapsule_New called with null pointer
191+
* :ghissue:`28022`: [Bug]: Type of Axes is unknown pyright
192+
* :ghissue:`28002`: Segfault from path editor example with QtAgg

‎doc/users/release_notes.rst

Copy file name to clipboardExpand all lines: doc/users/release_notes.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ Version 3.9
1919
:maxdepth: 1
2020

2121
prev_whats_new/whats_new_3.9.0.rst
22+
../api/prev_api_changes/api_changes_3.9.2.rst
2223
../api/prev_api_changes/api_changes_3.9.1.rst
2324
../api/prev_api_changes/api_changes_3.9.0.rst
2425
github_stats.rst
26+
prev_whats_new/github_stats_3.9.1.rst
2527
prev_whats_new/github_stats_3.9.0.rst
2628

2729
Version 3.8

‎tools/cache_zenodo_svg.py

Copy file name to clipboardExpand all lines: tools/cache_zenodo_svg.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def _get_xdg_cache_dir():
6363

6464
if __name__ == "__main__":
6565
data = {
66+
"v3.9.2": "13308876",
6667
"v3.9.1": "12652732",
6768
"v3.9.0": "11201097",
6869
"v3.8.4": "10916799",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.