Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d741c5

Browse files
committed
2 parents f870e7a + 62264a1 commit 7d741c5

37 files changed

+1104
-646
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
path: dist/
141141

142142
- name: Build wheels for CPython 3.12
143-
uses: pypa/cibuildwheel@8d945475ac4b1aac4ae08b2fd27db9917158b6ce # v2.17.0
143+
uses: pypa/cibuildwheel@711a3d017d0729f3edde18545fee967f03d65f65 # v2.18.0
144144
with:
145145
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
146146
env:
@@ -149,7 +149,7 @@ jobs:
149149
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.macos_target }}"
150150

151151
- name: Build wheels for CPython 3.11
152-
uses: pypa/cibuildwheel@8d945475ac4b1aac4ae08b2fd27db9917158b6ce # v2.17.0
152+
uses: pypa/cibuildwheel@711a3d017d0729f3edde18545fee967f03d65f65 # v2.18.0
153153
with:
154154
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
155155
env:
@@ -158,7 +158,7 @@ jobs:
158158
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.macos_target }}"
159159

160160
- name: Build wheels for CPython 3.10
161-
uses: pypa/cibuildwheel@8d945475ac4b1aac4ae08b2fd27db9917158b6ce # v2.17.0
161+
uses: pypa/cibuildwheel@711a3d017d0729f3edde18545fee967f03d65f65 # v2.18.0
162162
with:
163163
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
164164
env:
@@ -167,7 +167,7 @@ jobs:
167167
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.macos_target }}"
168168

169169
- name: Build wheels for CPython 3.9
170-
uses: pypa/cibuildwheel@8d945475ac4b1aac4ae08b2fd27db9917158b6ce # v2.17.0
170+
uses: pypa/cibuildwheel@711a3d017d0729f3edde18545fee967f03d65f65 # v2.18.0
171171
with:
172172
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
173173
env:
@@ -176,7 +176,7 @@ jobs:
176176
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.macos_target }}"
177177

178178
- name: Build wheels for PyPy
179-
uses: pypa/cibuildwheel@8d945475ac4b1aac4ae08b2fd27db9917158b6ce # v2.17.0
179+
uses: pypa/cibuildwheel@711a3d017d0729f3edde18545fee967f03d65f65 # v2.18.0
180180
with:
181181
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
182182
env:

.github/workflows/conflictcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Check if PRs have merge conflicts
20-
uses: eps1lon/actions-label-merge-conflict@e62d7a53ff8be8b97684bffb6cfbbf3fc1115e2e # v3.0.0
20+
uses: eps1lon/actions-label-merge-conflict@6d74047dcef155976a15e4a124dde2c7fe0c5522 # v3.0.1
2121
with:
2222
dirtyLabel: "status: needs rebase"
2323
repoToken: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/tests.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,9 @@ jobs:
160160
fi
161161
;;
162162
macOS)
163-
brew install ccache
164-
brew tap homebrew/cask-fonts
165-
brew install font-noto-sans-cjk ghostscript gobject-introspection gtk4 ninja
166-
brew install --cask inkscape
163+
brew update
164+
brew install ccache ghostscript gobject-introspection gtk4 ninja
165+
brew install --cask font-noto-sans-cjk inkscape
167166
;;
168167
esac
169168

SECURITY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ versions.
88

99
| Version | Supported |
1010
| ------- | ------------------ |
11+
| 3.9.x | :white_check_mark: |
1112
| 3.8.x | :white_check_mark: |
12-
| 3.7.x | :white_check_mark: |
13+
| 3.7.x | :x: |
1314
| 3.6.x | :x: |
1415
| 3.5.x | :x: |
1516
| 3.4.x | :x: |

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ stages:
119119
texlive-xetex
120120
;;
121121
Darwin)
122+
brew update
122123
brew install --cask xquartz
123124
brew install ccache ffmpeg imagemagick mplayer ninja pkg-config
124-
brew tap homebrew/cask-fonts
125-
brew install font-noto-sans-cjk-sc
125+
brew install --cask font-noto-sans-cjk-sc
126126
;;
127127
Windows_NT)
128128
choco install ninja

doc/_static/switcher.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"name": "3.9 (rc)",
4-
"version": "rc",
5-
"url": "https://matplotlib.org/3.9.0/"
3+
"name": "3.9 (stable)",
4+
"version": "stable",
5+
"url": "https://matplotlib.org/stable/"
66
},
77
{
88
"name": "3.10 (dev)",

doc/_static/zenodo_cache/11201097.svg

Lines changed: 35 additions & 0 deletions
Loading
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
``violinplot`` and ``violin`` *vert* parameter
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
The parameter *vert: bool* has been deprecated on `~.Axes.violinplot` and
5+
`~.Axes.violin`.
6+
It will be replaced by *orientation: {"vertical", "horizontal"}* for API
7+
consistency.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
``boxplot`` and ``bxp`` *vert* parameter, and ``rcParams["boxplot.vertical"]``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
The parameter *vert: bool* has been deprecated on `~.Axes.boxplot` and
5+
`~.Axes.bxp`. It is replaced by *orientation: {"vertical", "horizontal"}*
6+
for API consistency.
7+
8+
``rcParams["boxplot.vertical"]``, which controlled the orientation of ``boxplot``,
9+
is deprecated without replacement.

doc/devel/release_guide.rst

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Release guide
1616
Versioning Scheme
1717
=================
1818

19-
Maplotlib follows the `Intended Effort Versioning (EffVer) <https://jacobtomlinson.dev/effver/>`_
19+
Matplotlib follows the `Intended Effort Versioning (EffVer) <https://jacobtomlinson.dev/effver/>`_
2020
versioning scheme: *macro.meso.micro*.
2121

2222

@@ -238,9 +238,9 @@ Update version switcher
238238
Update ``doc/_static/switcher.json``:
239239

240240
- If a micro release, :samp:`{X}.{Y}.{Z}`, no changes are needed.
241-
- If a macro release, :samp:`{X}.{Y}.0`, change the name of :samp:`name: {X}.{Y+1}
242-
(dev)` and :samp:`name: {X}.{Y} (stable)` as well as adding a new version for the
243-
previous stable (:samp:`name: {X}.{Y-1}`).
241+
- If a meso release, :samp:`{X}.{Y}.0`, change the name of :samp:`name: {X}.{Y+1} (dev)`
242+
and :samp:`name: {X}.{Y} (stable)` as well as adding a new version for the previous
243+
stable (:samp:`name: {X}.{Y-1}`).
244244

245245
Verify that docs build
246246
----------------------
@@ -367,7 +367,8 @@ PyPI. Most builders should trigger automatically once the tag is pushed to GitHu
367367

368368
* Windows, macOS and manylinux wheels are built on GitHub Actions. Builds are triggered
369369
by the GitHub Action defined in :file:`.github/workflows/cibuildwheel.yml`, and wheels
370-
will be available as artifacts of the build.
370+
will be available as artifacts of the build. Both a source tarball and the wheels will
371+
be automatically uploaded to PyPI once all of them have been built.
371372
* The auto-tick bot should open a pull request into the `conda-forge feedstock
372373
<https://github.com/conda-forge/matplotlib-feedstock>`__. Review and merge (if you
373374
have the power to).
@@ -380,8 +381,14 @@ PyPI. Most builders should trigger automatically once the tag is pushed to GitHu
380381

381382
.. _release_upload_bin:
382383

383-
Make distribution and upload to PyPI
384-
====================================
384+
Manually uploading to PyPI
385+
==========================
386+
387+
.. note::
388+
389+
As noted above, the GitHub Actions workflow should build and upload source tarballs
390+
and wheels automatically. If for some reason, you need to upload these artifacts
391+
manually, then follow the instructions in this section.
385392

386393
Once you have collected all of the wheels (expect this to take a few hours), generate
387394
the tarball::

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.9.0
36+
.. image:: ../_static/zenodo_cache/11201097.svg
37+
:target: https://doi.org/10.5281/zenodo.11201097
3538
v3.8.4
3639
.. image:: ../_static/zenodo_cache/10916799.svg
3740
:target: https://doi.org/10.5281/zenodo.10916799

doc/users/github_stats.rst

Lines changed: 79 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
.. _github-stats:
22

3-
GitHub statistics for 3.9.0 (Apr 09, 2024)
3+
GitHub statistics for 3.9.0 (May 15, 2024)
44
==========================================
55

6-
GitHub statistics for 2023/09/15 (tag: v3.8.0) - 2024/04/09
6+
GitHub statistics for 2023/09/15 (tag: v3.8.0) - 2024/05/15
77

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

10-
We closed 86 issues and merged 393 pull requests.
10+
We closed 97 issues and merged 450 pull requests.
1111
The full list can be seen `on GitHub <https://github.com/matplotlib/matplotlib/milestone/78?closed=1>`__
1212

13-
The following 170 authors contributed 2496 commits.
13+
The following 175 authors contributed 2584 commits.
1414

1515
* 0taj
1616
* Abdul Razak Taha
@@ -67,6 +67,7 @@ The following 170 authors contributed 2496 commits.
6767
* Eva Sibinga
6868
* Evgenii Radchenko
6969
* Faisal Fawad
70+
* Felipe Cybis Pereira
7071
* Garrett Sward
7172
* Gaurav-Kumar-Soni
7273
* Gauri Chaudhari
@@ -81,6 +82,7 @@ The following 170 authors contributed 2496 commits.
8182
* Ian Hunt-Isaak
8283
* Ian Thomas
8384
* ifEricReturnTrue
85+
* Illviljan
8486
* Issam
8587
* Issam Arabi
8688
* Jacob Stevens-Haas
@@ -124,6 +126,7 @@ The following 170 authors contributed 2496 commits.
124126
* Mostafa Noah
125127
* MostafaNouh0011
126128
* n-aswin
129+
* Nabil
127130
* nbarlowATI
128131
* Nidaa Rabah
129132
* Nivedita Chaudhari
@@ -132,6 +135,7 @@ The following 170 authors contributed 2496 commits.
132135
* Pavel Liavonau
133136
* Pedro
134137
* Pedro Peçanha
138+
* Peter Talley
135139
* Pradeep Reddy Raamana
136140
* Prajwal Agrawal
137141
* Pranav Raghu
@@ -166,6 +170,7 @@ The following 170 authors contributed 2496 commits.
166170
* Talha Irfan
167171
* thehappycheese
168172
* Thomas A Caswell
173+
* Tiago Lubiana
169174
* Tim Hoffmann
170175
* tobias
171176
* Tom Sarantis
@@ -185,8 +190,65 @@ The following 170 authors contributed 2496 commits.
185190

186191
GitHub issues and pull requests:
187192

188-
Pull Requests (393):
193+
Pull Requests (450):
189194

195+
* :ghpull:`28206`: Backport PR #28205 on branch v3.9.x (TST: Fix tests with older versions of ipython)
196+
* :ghpull:`28207`: TST: Followup corrections to #28205
197+
* :ghpull:`28205`: TST: Fix tests with older versions of ipython
198+
* :ghpull:`28203`: Backport PR #28164 on branch v3.9.x (CI: Ensure code coverage is always uploaded)
199+
* :ghpull:`28204`: Backport PR #28195 on branch v3.9.x (TST: Prepare for pytest 9)
200+
* :ghpull:`28191`: DOC: Use released mpl-sphinx-theme on v3.9.x
201+
* :ghpull:`28195`: TST: Prepare for pytest 9
202+
* :ghpull:`28193`: Backport PR #28185 on branch v3.9.x (DOC: Bump mpl-sphinx-theme to 3.9)
203+
* :ghpull:`28190`: Backport PR #28103 on branch v3.9.x ([DOC]: Fix compatibility with sphinx-gallery 0.16)
204+
* :ghpull:`28164`: CI: Ensure code coverage is always uploaded
205+
* :ghpull:`28194`: Backport PR #28188 on branch v3.9.x ([TST] Bump some tolerances for Macos ARM)
206+
* :ghpull:`28188`: [TST] Bump some tolerances for Macos ARM
207+
* :ghpull:`28185`: DOC: Bump mpl-sphinx-theme to 3.9
208+
* :ghpull:`28189`: Backport PR #28181 on branch v3.9.x (DOC: Prepare release notes for 3.9)
209+
* :ghpull:`28103`: [DOC]: Fix compatibility with sphinx-gallery 0.16
210+
* :ghpull:`28181`: DOC: Prepare release notes for 3.9
211+
* :ghpull:`28184`: Backport PR #28182 on branch v3.9.x (Bump custom hatch deprecation expiration)
212+
* :ghpull:`28182`: Bump custom hatch deprecation expiration
213+
* :ghpull:`28178`: Backport PR #28171 on branch v3.9.x (Support removing absent tools from ToolContainerBase.)
214+
* :ghpull:`28171`: Support removing absent tools from ToolContainerBase.
215+
* :ghpull:`28174`: Backport PR #28169 on branch v3.9.x (Clarify public-ness of some ToolContainerBase APIs.)
216+
* :ghpull:`28169`: Clarify public-ness of some ToolContainerBase APIs.
217+
* :ghpull:`28160`: Backport PR #28039 on branch v3.9.x (Respect vertical_axis when rotating plot interactively)
218+
* :ghpull:`28159`: Backport PR #28157 on branch v3.9.x (Remove call to non-existent method _default_contains in Artist)
219+
* :ghpull:`28162`: Backport PR #27948 on branch v3.9.x (Move IPython backend mapping to Matplotlib and support entry points)
220+
* :ghpull:`28163`: Backport PR #28144 on branch v3.9.x (DOC: Refactor code in the fishbone diagram example)
221+
* :ghpull:`28144`: DOC: Refactor code in the fishbone diagram example
222+
* :ghpull:`27948`: Move IPython backend mapping to Matplotlib and support entry points
223+
* :ghpull:`28039`: Respect vertical_axis when rotating plot interactively
224+
* :ghpull:`28157`: Remove call to non-existent method _default_contains in Artist
225+
* :ghpull:`28141`: Backport PR #27960 on branch v3.9.x (Update AppVeyor config)
226+
* :ghpull:`28138`: Backport PR #28068 on branch v3.9.x ([TYP] Add possible type hint to ``colors`` argument in ``LinearSegmentedColormap.from_list``)
227+
* :ghpull:`28140`: Backport PR #28136 on branch v3.9.x (Appease pycodestyle.)
228+
* :ghpull:`27960`: Update AppVeyor config
229+
* :ghpull:`28068`: [TYP] Add possible type hint to ``colors`` argument in ``LinearSegmentedColormap.from_list``
230+
* :ghpull:`28136`: Appease pycodestyle.
231+
* :ghpull:`28135`: Backport PR #28134 on branch v3.9.x (DOC: Minor improvements on quickstart)
232+
* :ghpull:`28134`: DOC: Minor improvements on quickstart
233+
* :ghpull:`28121`: Backport PR #28085 on branch v3.9.x (Clarify that the pgf backend is never actually used interactively.)
234+
* :ghpull:`28120`: Backport PR #28102 on branch v3.9.x (Fix typo in color mapping documentation in quick_start.py)
235+
* :ghpull:`28109`: Backport PR #28100 on branch v3.9.x (TST: wxcairo sometimes raises OSError on missing cairo libraries)
236+
* :ghpull:`28100`: TST: wxcairo sometimes raises OSError on missing cairo libraries
237+
* :ghpull:`28108`: Backport PR #28107 on branch v3.9.x ([DOC] Fix description in CapStyle example)
238+
* :ghpull:`28107`: [DOC] Fix description in CapStyle example
239+
* :ghpull:`28102`: Fix typo in color mapping documentation in quick_start.py
240+
* :ghpull:`28095`: Backport PR #28094 on branch v3.9.x (DOC: exclude sphinx 7.3.*)
241+
* :ghpull:`28081`: Backport PR #28078 on branch v3.9.x (Clarify that findfont & _find_fonts_by_props return paths.)
242+
* :ghpull:`28080`: Backport PR #28077 on branch v3.9.x (Parent tk StringVar to the canvas widget, not to the toolbar.)
243+
* :ghpull:`28092`: Backport PR #28032 on branch v3.9.x (FIX: ensure images are C order before passing to pillow)
244+
* :ghpull:`28032`: FIX: ensure images are C order before passing to pillow
245+
* :ghpull:`28088`: Backport PR #28087 on branch v3.9.x (Document Qt5 minimal version.)
246+
* :ghpull:`28085`: Clarify that the pgf backend is never actually used interactively.
247+
* :ghpull:`28078`: Clarify that findfont & _find_fonts_by_props return paths.
248+
* :ghpull:`28077`: Parent tk StringVar to the canvas widget, not to the toolbar.
249+
* :ghpull:`28062`: Backport PR #28056 on branch v3.9.x (Strip trailing spaces from log-formatter cursor output.)
250+
* :ghpull:`28063`: Backport PR #28055 on branch v3.9.x (DOC: Improve inverted axis example)
251+
* :ghpull:`28056`: Strip trailing spaces from log-formatter cursor output.
190252
* :ghpull:`28049`: Backport PR #28036 on branch v3.9.x (BLD: Fetch version from setuptools_scm at build time)
191253
* :ghpull:`28036`: BLD: Fetch version from setuptools_scm at build time
192254
* :ghpull:`28038`: Backport PR #28023 on branch v3.9.x (ci: Update merge conflict labeler)
@@ -581,8 +643,19 @@ Pull Requests (393):
581643
* :ghpull:`26482`: [DOC]: print pydata sphinx/mpl theme versions
582644
* :ghpull:`23787`: Use pybind11 for C/C++ extensions
583645

584-
Issues (86):
646+
Issues (97):
585647

648+
* :ghissue:`28202`: [Bug]: Qt test_ipython fails on older ipython
649+
* :ghissue:`28145`: [TST] Upcoming dependency test failures
650+
* :ghissue:`28034`: [TST] Upcoming dependency test failures
651+
* :ghissue:`28168`: [TST] Upcoming dependency test failures
652+
* :ghissue:`28040`: [Bug]: vertical_axis not respected when rotating plots interactively
653+
* :ghissue:`28146`: [Bug]: Useless recursive group in SVG output when using path_effects
654+
* :ghissue:`28067`: [Bug]: ``LinearSegmentedColormap.from_list`` does not have all type hints for argument ``colors``
655+
* :ghissue:`26778`: [MNT]: Numpy 2.0 support strategy
656+
* :ghissue:`28020`: [Bug]: imsave fails on RGBA data when origin is set to lower
657+
* :ghissue:`7720`: WXAgg backend not rendering nicely on retina
658+
* :ghissue:`28069`: [Bug]: Can't save with custom toolbar
586659
* :ghissue:`28005`: [Doc]: Improve contribute instructions
587660
* :ghissue:`22376`: [ENH]: align_titles
588661
* :ghissue:`5506`: Confusing status bar values in presence of multiple axes
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
``boxplot`` and ``bxp`` orientation parameter
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
Boxplots have a new parameter *orientation: {"vertical", "horizontal"}*
5+
to change the orientation of the plot. This replaces the deprecated
6+
*vert: bool* parameter.
7+
8+
9+
.. plot::
10+
:include-source: true
11+
:alt: Example of creating 4 horizontal boxplots.
12+
13+
import matplotlib.pyplot as plt
14+
import numpy as np
15+
16+
fig, ax = plt.subplots()
17+
np.random.seed(19680801)
18+
all_data = [np.random.normal(0, std, 100) for std in range(6, 10)]
19+
20+
ax.boxplot(all_data, orientation='horizontal')
21+
plt.show()

0 commit comments

Comments
 (0)