Skip to content

Commit 41f6366

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 724d367 commit 41f6366

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed

examples/_gen_images.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
garbo
33
"""
4+
45
from mpl_playback.record import record_file
56

67
# record_file("dynamic.py", "fig")

examples/dynamic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
so the ``mpl_playback`` sphinx-gallery scraper will be used to generate a gif
88
to embed in the gallery. Contrast this with :doc:`/gallery/static`
99
"""
10+
1011
import matplotlib.pyplot as plt
1112
import numpy as np
1213
from matplotlib.widgets import Button, Slider

examples/multifig.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
``record_file("multifig.py", ["slider_fig", "fig"])``
1010
1111
"""
12+
1213
import matplotlib.pyplot as plt
1314
import numpy as np
1415
from matplotlib.widgets import Slider

examples/static.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
does not have an associated playback file, so the scraper falls back to
88
the sphinx-gallery matplotlib scraper.
99
"""
10+
1011
import matplotlib.pyplot as plt
1112
import numpy as np
1213
from matplotlib.widgets import Button, Slider

mpl_playback/playback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
from __future__ import annotations
22

33
import json
4+
from contextlib import contextmanager
45
from pathlib import Path
56
from typing import Literal
67
from unittest import mock
7-
from contextlib import contextmanager
88

99
import matplotlib
1010
import numpy as np

mpl_playback/scraper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
file heavily based on/taken from the sphinx-gallery version
33
https://github.com/sphinx-gallery/sphinx-gallery/blob/ecd399e2e60557875d9312a6f5f8dbe4d0dd7a0e/sphinx_gallery/scrapers.py
44
"""
5+
56
from pathlib import Path
67
from warnings import filterwarnings
78

setup.cfg

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ url = https://github.com/ianhi/mpl-playback
77
author = Ian Hunt-Isaak
88
author_email = [email protected]
99
license = BSD-3-Clause
10-
license_file = LICENSE/LICENSE
10+
license_files = LICENSE/LICENSE
1111
classifiers =
1212
Framework :: Matplotlib
1313
Intended Audience :: Developers
@@ -17,8 +17,6 @@ classifiers =
1717
Programming Language :: Python
1818
Programming Language :: Python :: 3
1919
Programming Language :: Python :: 3 :: Only
20-
Programming Language :: Python :: 3.8
21-
Programming Language :: Python :: 3.9
2220
download_url = https://github.com/ianhi/mpl-playback
2321
keywords = matplotlib, gif
2422
project_urls =
@@ -29,15 +27,15 @@ project_urls =
2927
packages = find:
3028
install_requires =
3129
matplotlib>=3.3
32-
python_requires = >=3.8
30+
python_requires = >=3.9
3331

3432
[options.extras_require]
3533
docs =
3634
Sphinx>=1.5
3735
furo
38-
myst_nb
36+
myst-nb
3937
sphinx-copybutton
40-
sphinx_gallery
38+
sphinx-gallery
4139

4240
[options.package_data]
4341
* = *.pyi, py.typed

0 commit comments

Comments
 (0)