Skip to content

Commit 4697637

Browse files
committed
Merge branch 'main' into text-overhaul
2 parents a403858 + 73d0317 commit 4697637

File tree

131 files changed

+1285
-733
lines changed

Some content is hidden

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

131 files changed

+1285
-733
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ skip_commits:
1717

1818
clone_depth: 50
1919

20-
image: Visual Studio 2019
20+
image: Visual Studio 2022
2121

2222
environment:
2323

.github/workflows/cibuildwheel.yml

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

143+
- name: Build wheels for CPython 3.14
144+
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
145+
with:
146+
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
147+
env:
148+
CIBW_BUILD: "cp314-* cp314t-*"
149+
CIBW_ENABLE: "cpython-freethreading cpython-prerelease"
150+
CIBW_ARCHS: ${{ matrix.cibw_archs }}
151+
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
152+
CIBW_BEFORE_TEST: >-
153+
python -m pip install
154+
--index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
155+
--upgrade --pre --only-binary=:all: contourpy numpy pillow
156+
143157
- name: Build wheels for CPython 3.13
144158
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
145159
with:
146160
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
147161
env:
148162
CIBW_BUILD: "cp313-* cp313t-*"
149163
CIBW_ENABLE: cpython-freethreading
150-
# No free-threading wheels available for aarch64 on Pillow.
151-
CIBW_TEST_SKIP: "cp313t-manylinux_aarch64"
152164
CIBW_ARCHS: ${{ matrix.cibw_archs }}
153165

154166
- name: Build wheels for CPython 3.12
@@ -167,7 +179,6 @@ jobs:
167179
CIBW_BUILD: "cp311-*"
168180
CIBW_ARCHS: ${{ matrix.cibw_archs }}
169181

170-
171182
- name: Build wheels for PyPy
172183
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
173184
with:
@@ -176,8 +187,6 @@ jobs:
176187
CIBW_BUILD: "pp311-*"
177188
CIBW_ARCHS: ${{ matrix.cibw_archs }}
178189
CIBW_ENABLE: pypy
179-
# No wheels available for Pillow with pp311 yet.
180-
CIBW_TEST_SKIP: "pp311*"
181190
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'
182191

183192
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
persist-credentials: false
3333

3434
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
35+
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
3636
with:
3737
languages: ${{ matrix.language }}
3838

@@ -43,4 +43,4 @@ jobs:
4343
pip install --user -v .
4444
4545
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
46+
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,13 +365,15 @@ jobs:
365365
run: |
366366
function remove_files() {
367367
local extension=$1
368-
find ./result_images -type f -name "*-expected*.$extension" | while read file; do
368+
find ./result_images -name "*-expected*.$extension" | while read file; do
369369
if [[ $file == *"-expected_pdf"* ]]; then
370370
base=${file%-expected_pdf.$extension}_pdf
371371
elif [[ $file == *"-expected_eps"* ]]; then
372372
base=${file%-expected_eps.$extension}_eps
373373
elif [[ $file == *"-expected_svg"* ]]; then
374374
base=${file%-expected_svg.$extension}_svg
375+
elif [[ $file == *"-expected_gif"* ]]; then
376+
base=${file%-expected_gif.$extension}_gif
375377
else
376378
base=${file%-expected.$extension}
377379
fi
@@ -388,7 +390,7 @@ jobs:
388390
done
389391
}
390392
391-
remove_files "png"; remove_files "svg"; remove_files "pdf"; remove_files "eps";
393+
remove_files "png"; remove_files "svg"; remove_files "pdf"; remove_files "eps"; remove_files "gif";
392394
393395
if [ "$(find ./result_images -mindepth 1 -type d)" ]; then
394396
find ./result_images/* -type d -empty -delete

doc/api/colors_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Color norms
2121
:toctree: _as_gen/
2222
:template: autosummary.rst
2323

24+
Norm
2425
Normalize
2526
NoNorm
2627
AsinhNorm
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
``matplotlib.style.core``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~
3+
The ``matplotlib.style.core`` module is deprecated. All APIs intended for
4+
public use are now available in `matplotlib.style` directly (including
5+
``USER_LIBRARY_PATHS``, which was previously not reexported).
6+
7+
The following APIs of ``matplotlib.style.core`` have been deprecated with no
8+
replacement: ``BASE_LIBRARY_PATH``, ``STYLE_EXTENSION``, ``STYLE_BLACKLIST``,
9+
``update_user_library``, ``read_style_directory``, ``update_nested_dict``.

doc/api/prev_api_changes/api_changes_3.5.0/deprecations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ Miscellaneous deprecations
282282
- The *format* parameter of ``dviread.find_tex_file`` is deprecated (with no
283283
replacement).
284284
- ``FancyArrowPatch.get_path_in_displaycoord`` and
285-
``ConnectionPath.get_path_in_displaycoord`` are deprecated. The path in
285+
``ConnectionPatch.get_path_in_displaycoord`` are deprecated. The path in
286286
display coordinates can still be obtained, as for other patches, using
287287
``patch.get_transform().transform_path(patch.get_path())``.
288288
- The ``font_manager.win32InstalledFonts`` and

doc/api/prev_api_changes/api_changes_3.7.0/removals.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ Miscellaneous removals
323323
- The *format* parameter of ``dviread.find_tex_file`` is removed (with no
324324
replacement).
325325
- ``FancyArrowPatch.get_path_in_displaycoord`` and
326-
``ConnectionPath.get_path_in_displaycoord`` are removed. The path in
326+
``ConnectionPatch.get_path_in_displaycoord`` are removed. The path in
327327
display coordinates can still be obtained, as for other patches, using
328328
``patch.get_transform().transform_path(patch.get_path())``.
329329
- The ``font_manager.win32InstalledFonts`` and

doc/devel/tag_guidelines.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Proposing new tags
6161
1. Review existing tag list, looking out for similar entries (i.e. ``axes`` and ``axis``).
6262
2. If a relevant tag or subcategory does not yet exist, propose it. Each tag is two
6363
parts: ``subcategory: tag``. Tags should be one or two words.
64-
3. New tags should be be added when they are relevant to existing gallery entries too.
64+
3. New tags should be added when they are relevant to existing gallery entries too.
6565
Avoid tags that will link to only a single gallery entry.
6666
4. Tags can recreate other forms of organization.
6767

doc/project/history.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Matplotlib logo (2008 - 2015).
157157

158158

159159
def add_math_background():
160-
ax = fig.add_axes([0., 0., 1., 1.])
160+
ax = fig.add_axes((0., 0., 1., 1.))
161161

162162
text = []
163163
text.append(
@@ -187,7 +187,7 @@ Matplotlib logo (2008 - 2015).
187187

188188

189189
def add_polar_bar():
190-
ax = fig.add_axes([0.025, 0.075, 0.2, 0.85], projection='polar')
190+
ax = fig.add_axes((0.025, 0.075, 0.2, 0.85), projection='polar')
191191

192192
ax.patch.set_alpha(axalpha)
193193
ax.set_axisbelow(True)

0 commit comments

Comments
 (0)