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

Skip to content

Commit 667a1e8

Browse files
committed
DOC: Revert mathtext alignment and update font fallback intro
1 parent b4b0e3a commit 667a1e8

205 files changed

Lines changed: 1298 additions & 3924 deletions

File tree

Some content is hidden

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

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@ Additionally, please summarize the changes in the title, for example "Raise Valu
1414
non-numeric input to set_xlim" and avoid non-descriptive titles such as "Addresses
1515
issue #8576".
1616
17-
If possible, please provide a minimum self-contained example.
18-
-->
17+
If possible, please provide a minimum self-contained example. If you have used
18+
generative AI as an aid in preparing this PR, see
1919
20-
## AI Disclosure
21-
<!-- If you used AI in writing this PR, please briefly describe how.
22-
Read our policy at
2320
https://matplotlib.org/devdocs/devel/contribute.html#restrictions-on-generative-ai-usage
2421
-->
2522

23+
2624
## PR checklist
2725
<!-- Please mark any checkboxes that do not apply to this PR as [N/A].-->
2826

.github/workflows/cibuildwheel.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ on:
1818
- reopened
1919
- labeled
2020

21-
permissions: {}
21+
permissions:
22+
contents: read
2223

2324
jobs:
2425
build_sdist:
@@ -36,8 +37,6 @@ jobs:
3637
)
3738
name: Build sdist
3839
runs-on: ubuntu-latest
39-
permissions:
40-
contents: read
4140
outputs:
4241
SDIST_NAME: ${{ steps.sdist.outputs.SDIST_NAME }}
4342

@@ -73,7 +72,7 @@ jobs:
7372
run: twine check dist/*
7473

7574
- name: Upload sdist result
76-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
75+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
7776
with:
7877
name: cibw-sdist
7978
path: dist/*.tar.gz
@@ -94,8 +93,6 @@ jobs:
9493
)
9594
needs: build_sdist
9695
name: Build wheels on ${{ matrix.os }} for ${{ matrix.cibw_archs }}
97-
permissions:
98-
contents: read
9996
runs-on: ${{ matrix.os }}
10097
env:
10198
CIBW_BEFORE_BUILD: >-
@@ -140,13 +137,13 @@ jobs:
140137

141138
steps:
142139
- name: Download sdist
143-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
140+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
144141
with:
145142
name: cibw-sdist
146143
path: dist/
147144

148145
- name: Build wheels for CPython 3.14
149-
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
146+
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
150147
with:
151148
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
152149
env:
@@ -156,7 +153,7 @@ jobs:
156153
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
157154

158155
- name: Build wheels for CPython 3.13
159-
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
156+
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
160157
with:
161158
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
162159
env:
@@ -165,23 +162,23 @@ jobs:
165162
CIBW_ARCHS: ${{ matrix.cibw_archs }}
166163

167164
- name: Build wheels for CPython 3.12
168-
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
165+
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
169166
with:
170167
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
171168
env:
172169
CIBW_BUILD: "cp312-*"
173170
CIBW_ARCHS: ${{ matrix.cibw_archs }}
174171

175172
- name: Build wheels for CPython 3.11
176-
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
173+
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
177174
with:
178175
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
179176
env:
180177
CIBW_BUILD: "cp311-*"
181178
CIBW_ARCHS: ${{ matrix.cibw_archs }}
182179

183180
- name: Build wheels for PyPy
184-
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
181+
uses: pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
185182
with:
186183
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
187184
env:
@@ -190,7 +187,7 @@ jobs:
190187
CIBW_ENABLE: pypy
191188
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest' && matrix.os != 'windows-11-arm'
192189

193-
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
190+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
194191
with:
195192
name: cibw-wheels-${{ runner.os }}-${{ matrix.cibw_archs }}
196193
path: ./wheelhouse/*.whl

.github/workflows/circleci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
22
name: "CircleCI artifact handling"
33
on: [status]
4-
5-
permissions: {}
6-
74
jobs:
85
circleci_artifacts_redirector_job:
96
if: "${{ github.event.context == 'ci/circleci: docs-python3' }}"

.github/workflows/clean_pr.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
name: PR cleanliness
33
on: [pull_request]
44

5-
permissions: {}
5+
permissions:
6+
contents: read
67

78
jobs:
89
pr_clean:
910
runs-on: ubuntu-latest
10-
permissions:
11-
contents: read
1211

1312
steps:
1413
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ on:
1010
schedule:
1111
- cron: '45 19 * * 1'
1212

13-
permissions: {}
14-
1513
jobs:
1614
analyze:
1715
if: github.repository == 'matplotlib/matplotlib'
@@ -34,7 +32,7 @@ jobs:
3432
persist-credentials: false
3533

3634
- name: Initialize CodeQL
37-
uses: github/codeql-action/init@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
35+
uses: github/codeql-action/init@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
3836
with:
3937
languages: ${{ matrix.language }}
4038

@@ -45,4 +43,4 @@ jobs:
4543
pip install --user -v .
4644
4745
- name: Perform CodeQL Analysis
48-
uses: github/codeql-action/analyze@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
46+
uses: github/codeql-action/analyze@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3

.github/workflows/conflictcheck.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ on:
99
pull_request_target:
1010
types: [synchronize]
1111

12-
permissions: {}
13-
1412
jobs:
1513
main:
1614
if: github.repository == 'matplotlib/matplotlib'

.github/workflows/cygwin.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ on:
3030
- cron: "47 5 * * 6"
3131
workflow_dispatch:
3232

33-
permissions: {}
33+
permissions:
34+
contents: read
3435

3536
env:
3637
NO_AT_BRIDGE: 1 # Necessary for GTK3 interactive test.
@@ -46,8 +47,6 @@ jobs:
4647

4748
test-cygwin:
4849
runs-on: windows-latest
49-
permissions:
50-
contents: read
5150
name: Python 3.${{ matrix.python-minor-version }} on Cygwin
5251
# Enable these when Cygwin has Python 3.12.
5352
if: >-

.github/workflows/good-first-issue.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
issues:
55
types:
66
- labeled
7-
8-
permissions: {}
9-
107
jobs:
118
add-comment:
129
if: github.event.label.name == 'Good first issue'

.github/workflows/labeler.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: "Pull Request Labeler"
33
on:
44
- pull_request_target
55

6-
permissions: {}
7-
86
jobs:
97
labeler:
108
permissions:

.github/workflows/linting.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
name: Linting
33
on: [pull_request]
44

5-
permissions: {}
5+
permissions:
6+
contents: read
67

78
jobs:
89
pre-commit:
910
name: precommit
1011
runs-on: ubuntu-latest
11-
permissions:
12-
contents: read
1312
steps:
1413
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1514
with:
@@ -26,7 +25,6 @@ jobs:
2625
name: ruff
2726
runs-on: ubuntu-latest
2827
permissions:
29-
contents: read
3028
checks: write
3129
steps:
3230
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -56,7 +54,6 @@ jobs:
5654
name: mypy
5755
runs-on: ubuntu-latest
5856
permissions:
59-
contents: read
6057
checks: write
6158
steps:
6259
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -88,7 +85,6 @@ jobs:
8885
name: eslint
8986
runs-on: ubuntu-latest
9087
permissions:
91-
contents: read
9288
checks: write
9389
steps:
9490
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

0 commit comments

Comments
 (0)