From 202da1939fbe0df9656d931abe8d76bada3b0d21 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 19:14:18 +0000 Subject: [PATCH 1/3] Bump the actions group with 3 updates Bumps the actions group with 3 updates: [github/codeql-action](https://github.com/github/codeql-action), [actions/cache](https://github.com/actions/cache) and [j178/prek-action](https://github.com/j178/prek-action). Updates `github/codeql-action` from 4.35.1 to 4.35.2 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/c10b8064de6f491fea524254123dbe5e09572f13...95e58e9a2cdfd71adc6e0353d5c52f41a045d225) Updates `actions/cache` from 5.0.4 to 5.0.5 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/668228422ae6a00e4ad889ee87cd7109ec5666a7...27d5ce7f107fe9357f9df03efb73ab90386fccae) Updates `j178/prek-action` from 2.0.1 to 2.0.2 - [Release notes](https://github.com/j178/prek-action/releases) - [Commits](https://github.com/j178/prek-action/compare/53276d8b0d10f8b6672aa85b4588c6921d0370cc...cbc2f23eb5539cf20d82d1aabd0d0ecbcc56f4e3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.35.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: actions/cache dependency-version: 5.0.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: j178/prek-action dependency-version: 2.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/cygwin.yml | 6 +++--- .github/workflows/linting.yml | 2 +- .github/workflows/tests.yml | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 83f47a0e27bf..9a7b40ccac10 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -34,7 +34,7 @@ jobs: persist-credentials: false - name: Initialize CodeQL - uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 + uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2 with: languages: ${{ matrix.language }} @@ -45,4 +45,4 @@ jobs: pip install --user -v . - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 + uses: github/codeql-action/analyze@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2 diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index bd9ec07de39f..4b790ea52a7d 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -141,21 +141,21 @@ jobs: # FreeType build fails with bash, succeeds with dash - name: Cache pip - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: C:\cygwin\home\runneradmin\.cache\pip key: Cygwin-py3.${{ matrix.python-minor-version }}-pip-${{ hashFiles('pyproject.toml') }} restore-keys: ${{ matrix.os }}-py3.${{ matrix.python-minor-version }}-pip- - name: Cache ccache - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: C:\cygwin\home\runneradmin\.ccache key: Cygwin-py3.${{ matrix.python-minor-version }}-ccache-${{ hashFiles('src/*') }} restore-keys: Cygwin-py3.${{ matrix.python-minor-version }}-ccache- - name: Cache Matplotlib - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: | C:\cygwin\home\runneradmin\.cache\matplotlib diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index e73165c504d8..32a3f0439b7f 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.x" - - uses: j178/prek-action@53276d8b0d10f8b6672aa85b4588c6921d0370cc # v2.0.1 + - uses: j178/prek-action@cbc2f23eb5539cf20d82d1aabd0d0ecbcc56f4e3 # v2.0.2 with: extra_args: --hook-stage manual --all-files diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 80fb7ed124fd..a3a9def4bd40 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -186,7 +186,7 @@ jobs: esac - name: Cache pip - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 if: startsWith(runner.os, 'Linux') with: path: ~/.cache/pip @@ -196,7 +196,7 @@ jobs: restore-keys: | ${{ matrix.os }}-py${{ matrix.python-version }}-pip- - name: Cache pip - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 if: startsWith(runner.os, 'macOS') with: path: ~/Library/Caches/pip @@ -204,7 +204,7 @@ jobs: restore-keys: | ${{ matrix.os }}-py${{ matrix.python-version }}-pip- - name: Cache ccache - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: | ~/.ccache @@ -212,7 +212,7 @@ jobs: restore-keys: | ${{ matrix.os }}-py${{ matrix.python-version }}-ccache- - name: Cache Matplotlib - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: | ~/.cache/matplotlib From 5a011377bba6ac0197e519270afb5c1447711de4 Mon Sep 17 00:00:00 2001 From: Ruth Comer <10599679+rcomer@users.noreply.github.com> Date: Fri, 17 Apr 2026 18:42:01 +0100 Subject: [PATCH 2/3] DOC: add tags to tick locator and formatter examples --- galleries/examples/ticks/date_formatters_locators.py | 2 ++ galleries/examples/ticks/tick-formatters.py | 3 +++ galleries/examples/ticks/tick-locators.py | 2 ++ 3 files changed, 7 insertions(+) diff --git a/galleries/examples/ticks/date_formatters_locators.py b/galleries/examples/ticks/date_formatters_locators.py index 8d4922931323..bc5f1994cd74 100644 --- a/galleries/examples/ticks/date_formatters_locators.py +++ b/galleries/examples/ticks/date_formatters_locators.py @@ -100,3 +100,5 @@ def plot_axis(ax, locator=None, xmax='2002-02-01', fmt=None, formatter=None): # - `matplotlib.dates.DateFormatter` # - `matplotlib.dates.AutoDateFormatter` # - `matplotlib.dates.ConciseDateFormatter` +# +# .. tags:: component: ticks, purpose: reference diff --git a/galleries/examples/ticks/tick-formatters.py b/galleries/examples/ticks/tick-formatters.py index 543aec57e4d2..ecb0749a12d7 100644 --- a/galleries/examples/ticks/tick-formatters.py +++ b/galleries/examples/ticks/tick-formatters.py @@ -103,3 +103,6 @@ def fmt_two_digits(x, pos): axs2[6].xaxis.set_major_formatter(ticker.PercentFormatter(xmax=5)) plt.show() + +# %% +# .. tags:: component: ticks, purpose: reference diff --git a/galleries/examples/ticks/tick-locators.py b/galleries/examples/ticks/tick-locators.py index 6cf4afaf22d7..b203f75c1172 100644 --- a/galleries/examples/ticks/tick-locators.py +++ b/galleries/examples/ticks/tick-locators.py @@ -91,3 +91,5 @@ def setup(ax, title): # - `matplotlib.ticker.AutoLocator` # - `matplotlib.ticker.MaxNLocator` # - `matplotlib.ticker.LogLocator` +# +# .. tags:: component: ticks, purpose: reference From 1a97bf8612f50f22f10a4c461ba73a8cdd4b84f4 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Thu, 16 Apr 2026 22:01:51 -0400 Subject: [PATCH 3/3] Document that `TimedAnimation` is abstract And also similarly change `Animation`. Fixes #30831 --- lib/matplotlib/animation.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/matplotlib/animation.py b/lib/matplotlib/animation.py index f20928d0abc2..c9f2d292f78f 100644 --- a/lib/matplotlib/animation.py +++ b/lib/matplotlib/animation.py @@ -853,10 +853,7 @@ def finish(self): class Animation: """ - A base class for Animations. - - This class is not usable as is, and should be subclassed to provide needed - behavior. + Abstract base class for Animations. .. note:: @@ -1421,7 +1418,7 @@ def resume(self): class TimedAnimation(Animation): """ - `Animation` subclass for time-based animation. + Abstract `Animation` subclass for time-based animation. A new frame is drawn every *interval* milliseconds.