Skip to content

Commit 7fbe7ad

Browse files
committed
Merge commit '88395765fc9ec4394615cbea055ce86585f77a87' into text-overhaul-figures-per-commit
2 parents a1f1c86 + 8839576 commit 7fbe7ad

File tree

75 files changed

+395
-2092
lines changed

Some content is hidden

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

75 files changed

+395
-2092
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,12 @@ jobs:
140140
name: cibw-sdist
141141
path: dist/
142142

143+
- name: Purge Strawberry Perl
144+
if: startsWith(matrix.os, 'windows-')
145+
run: Remove-Item -Recurse C:\Strawberry
146+
143147
- name: Build wheels for CPython 3.14
144-
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
148+
uses: pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0.1
145149
with:
146150
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
147151
env:
@@ -155,7 +159,7 @@ jobs:
155159
--upgrade --pre --only-binary=:all: contourpy numpy pillow
156160
157161
- name: Build wheels for CPython 3.13
158-
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
162+
uses: pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0.1
159163
with:
160164
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
161165
env:
@@ -164,23 +168,23 @@ jobs:
164168
CIBW_ARCHS: ${{ matrix.cibw_archs }}
165169

166170
- name: Build wheels for CPython 3.12
167-
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
171+
uses: pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0.1
168172
with:
169173
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
170174
env:
171175
CIBW_BUILD: "cp312-*"
172176
CIBW_ARCHS: ${{ matrix.cibw_archs }}
173177

174178
- name: Build wheels for CPython 3.11
175-
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
179+
uses: pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0.1
176180
with:
177181
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
178182
env:
179183
CIBW_BUILD: "cp311-*"
180184
CIBW_ARCHS: ${{ matrix.cibw_archs }}
181185

182186
- name: Build wheels for PyPy
183-
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
187+
uses: pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0.1
184188
with:
185189
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
186190
env:

.github/workflows/cygwin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
fetch-depth: 0
8585
persist-credentials: false
8686

87-
- uses: cygwin/cygwin-install-action@f61179d72284ceddc397ed07ddb444d82bf9e559 # v5
87+
- uses: cygwin/cygwin-install-action@f2009323764960f80959895c7bc3bb30210afe4d # v6
8888
with:
8989
packages: >-
9090
ccache gcc-g++ gdb git graphviz libcairo-devel libffi-devel

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ repos:
2020
- id: check-docstring-first
2121
exclude: lib/matplotlib/typing.py # docstring used for attribute flagged by check
2222
- id: end-of-file-fixer
23-
exclude_types: [svg]
23+
exclude_types: [diff, svg]
2424
- id: mixed-line-ending
2525
- id: name-tests-test
2626
args: ["--pytest-test-first"]
2727
- id: no-commit-to-branch # Default is master and main.
2828
- id: trailing-whitespace
29-
exclude_types: [svg]
29+
exclude_types: [diff, svg]
3030
- repo: https://github.com/pre-commit/mirrors-mypy
3131
rev: v1.15.0
3232
hooks:

ci/schemas/conda-environment.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"title": "conda environment file",
3-
"description": "Support for conda's enviroment.yml files (e.g. `conda env export > environment.yml`)",
3+
"description": "Support for conda's environment.yml files (e.g. `conda env export > environment.yml`)",
44
"id": "https://raw.githubusercontent.com/Microsoft/vscode-python/main/schemas/conda-environment.json",
55
"$schema": "http://json-schema.org/draft-04/schema#",
66
"definitions": {
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
``font_manager.findfont`` logs if selected font weight does not match requested
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

doc/api/prev_api_changes/api_changes_0.90.1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Changes for 0.90.1
3232
named units.ConversionInterface.convert.
3333
3434
Axes.errorbar uses Axes.vlines and Axes.hlines to draw its error
35-
limits int he vertical and horizontal direction. As you'll see
35+
limits in the vertical and horizontal direction. As you'll see
3636
in the changes below, these functions now return a LineCollection
3737
rather than a list of lines. The new return signature for
3838
errorbar is ylins, caplines, errorcollections where

doc/api/prev_api_changes/api_changes_1.5.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ algorithm that was not necessarily applicable to custom Axes. Three new private
189189
methods, ``matplotlib.axes._base._AxesBase._get_view``,
190190
``matplotlib.axes._base._AxesBase._set_view``, and
191191
``matplotlib.axes._base._AxesBase._set_view_from_bbox``, allow for custom
192-
*Axes* classes to override the pan and zoom algorithms. Implementors of
192+
*Axes* classes to override the pan and zoom algorithms. Implementers of
193193
custom *Axes* who override these methods may provide suitable behaviour for
194194
both pan and zoom as well as the view navigation buttons on the interactive
195195
toolbars.

doc/devel/MEP/MEP14.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ number of other projects:
7878
- `Microsoft DirectWrite`_
7979
- `Apple Core Text`_
8080

81-
.. _pango: https://pango.gnome.org
81+
.. _pango: https://github.com/GNOME/pango
8282
.. _harfbuzz: https://github.com/harfbuzz/harfbuzz
8383
.. _QtTextLayout: https://doc.qt.io/archives/qt-4.8/qtextlayout.html
8484
.. _Microsoft DirectWrite: https://docs.microsoft.com/en-ca/windows/win32/directwrite/introducing-directwrite

doc/missing-references.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,12 @@
122122
"doc/api/_as_gen/mpl_toolkits.axisartist.floating_axes.rst:32:<autosummary>:1"
123123
],
124124
"numpy.float64": [
125+
"doc/docstring of matplotlib.ft2font.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1.set_text:1",
125126
"doc/docstring of matplotlib.ft2font.PyCapsule.set_text:1"
126127
],
128+
"numpy.typing.NDArray": [
129+
"doc/docstring of matplotlib.ft2font.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1.set_text:1"
130+
],
127131
"numpy.uint8": [
128132
"<unknown>:1"
129133
]

doc/sphinxext/redirect_from.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,15 @@ def run(self):
9494
domain = self.env.get_domain('redirect_from')
9595
current_doc = self.env.path2doc(self.state.document.current_source)
9696
redirected_reldoc, _ = self.env.relfn2path(redirected_doc, current_doc)
97-
if redirected_reldoc in domain.redirects:
97+
if (
98+
redirected_reldoc in domain.redirects
99+
and domain.redirects[redirected_reldoc] != current_doc
100+
):
98101
raise ValueError(
99102
f"{redirected_reldoc} is already noted as redirecting to "
100-
f"{domain.redirects[redirected_reldoc]}")
103+
f"{domain.redirects[redirected_reldoc]}\n"
104+
f"Cannot also redirect it to {current_doc}"
105+
)
101106
domain.redirects[redirected_reldoc] = current_doc
102107
return []
103108

0 commit comments

Comments
 (0)