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

Skip to content

Commit 0e2b9c3

Browse files
committed
Merge branch 'main' into fix-twinx-zorder-31122
# Conflicts: # lib/matplotlib/axes/_base.pyi
2 parents 1ab3a9f + d5f597d commit 0e2b9c3

188 files changed

Lines changed: 7581 additions & 4465 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: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ 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. If you have used
18-
generative AI as an aid in preparing this PR, see
17+
If possible, please provide a minimum self-contained example.
18+
-->
1919

20+
## AI Disclosure
21+
<!-- If you used AI in writing this PR, please briefly describe how.
22+
Read our policy at
2023
https://matplotlib.org/devdocs/devel/contribute.html#restrictions-on-generative-ai-usage
2124
-->
2225

23-
2426
## PR checklist
2527
<!-- Please mark any checkboxes that do not apply to this PR as [N/A].-->
2628

.github/workflows/cibuildwheel.yml

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

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

2423
jobs:
2524
build_sdist:
@@ -37,6 +36,8 @@ jobs:
3736
)
3837
name: Build sdist
3938
runs-on: ubuntu-latest
39+
permissions:
40+
contents: read
4041
outputs:
4142
SDIST_NAME: ${{ steps.sdist.outputs.SDIST_NAME }}
4243

@@ -72,7 +73,7 @@ jobs:
7273
run: twine check dist/*
7374

7475
- name: Upload sdist result
75-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
76+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
7677
with:
7778
name: cibw-sdist
7879
path: dist/*.tar.gz
@@ -93,6 +94,8 @@ jobs:
9394
)
9495
needs: build_sdist
9596
name: Build wheels on ${{ matrix.os }} for ${{ matrix.cibw_archs }}
97+
permissions:
98+
contents: read
9699
runs-on: ${{ matrix.os }}
97100
env:
98101
CIBW_BEFORE_BUILD: >-
@@ -137,7 +140,7 @@ jobs:
137140

138141
steps:
139142
- name: Download sdist
140-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
143+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
141144
with:
142145
name: cibw-sdist
143146
path: dist/
@@ -187,7 +190,7 @@ jobs:
187190
CIBW_ENABLE: pypy
188191
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest' && matrix.os != 'windows-11-arm'
189192

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

.github/workflows/circleci.yml

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

.github/workflows/clean_pr.yml

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

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

87
jobs:
98
pr_clean:
109
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
1112

1213
steps:
1314
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/codeql-analysis.yml

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

13+
permissions: {}
14+
1315
jobs:
1416
analyze:
1517
if: github.repository == 'matplotlib/matplotlib'
@@ -32,7 +34,7 @@ jobs:
3234
persist-credentials: false
3335

3436
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
37+
uses: github/codeql-action/init@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
3638
with:
3739
languages: ${{ matrix.language }}
3840

@@ -43,4 +45,4 @@ jobs:
4345
pip install --user -v .
4446
4547
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
48+
uses: github/codeql-action/analyze@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5

.github/workflows/conflictcheck.yml

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

12+
permissions: {}
13+
1214
jobs:
1315
main:
1416
if: github.repository == 'matplotlib/matplotlib'

.github/workflows/cygwin.yml

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

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

3635
env:
3736
NO_AT_BRIDGE: 1 # Necessary for GTK3 interactive test.
@@ -47,6 +46,8 @@ jobs:
4746

4847
test-cygwin:
4948
runs-on: windows-latest
49+
permissions:
50+
contents: read
5051
name: Python 3.${{ matrix.python-minor-version }} on Cygwin
5152
# Enable these when Cygwin has Python 3.12.
5253
if: >-

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

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

.github/workflows/labeler.yml

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

6+
permissions: {}
7+
68
jobs:
79
labeler:
810
permissions:

.github/workflows/linting.yml

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

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

87
jobs:
98
pre-commit:
109
name: precommit
1110
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
1213
steps:
1314
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1415
with:
@@ -25,6 +26,7 @@ jobs:
2526
name: ruff
2627
runs-on: ubuntu-latest
2728
permissions:
29+
contents: read
2830
checks: write
2931
steps:
3032
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -54,6 +56,7 @@ jobs:
5456
name: mypy
5557
runs-on: ubuntu-latest
5658
permissions:
59+
contents: read
5760
checks: write
5861
steps:
5962
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -85,6 +88,7 @@ jobs:
8588
name: eslint
8689
runs-on: ubuntu-latest
8790
permissions:
91+
contents: read
8892
checks: write
8993
steps:
9094
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

0 commit comments

Comments
 (0)