File tree Expand file tree Collapse file tree 7 files changed +10
-7
lines changed Expand file tree Collapse file tree 7 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
"""
2
2
garbo
3
3
"""
4
+
4
5
from mpl_playback .record import record_file
5
6
6
7
# record_file("dynamic.py", "fig")
Original file line number Diff line number Diff line change 7
7
so the ``mpl_playback`` sphinx-gallery scraper will be used to generate a gif
8
8
to embed in the gallery. Contrast this with :doc:`/gallery/static`
9
9
"""
10
+
10
11
import matplotlib .pyplot as plt
11
12
import numpy as np
12
13
from matplotlib .widgets import Button , Slider
Original file line number Diff line number Diff line change 9
9
``record_file("multifig.py", ["slider_fig", "fig"])``
10
10
11
11
"""
12
+
12
13
import matplotlib .pyplot as plt
13
14
import numpy as np
14
15
from matplotlib .widgets import Slider
Original file line number Diff line number Diff line change 7
7
does not have an associated playback file, so the scraper falls back to
8
8
the sphinx-gallery matplotlib scraper.
9
9
"""
10
+
10
11
import matplotlib .pyplot as plt
11
12
import numpy as np
12
13
from matplotlib .widgets import Button , Slider
Original file line number Diff line number Diff line change 1
1
from __future__ import annotations
2
2
3
3
import json
4
+ from contextlib import contextmanager
4
5
from pathlib import Path
5
6
from typing import Literal
6
7
from unittest import mock
7
- from contextlib import contextmanager
8
8
9
9
import matplotlib
10
10
import numpy as np
Original file line number Diff line number Diff line change 2
2
file heavily based on/taken from the sphinx-gallery version
3
3
https://github.com/sphinx-gallery/sphinx-gallery/blob/ecd399e2e60557875d9312a6f5f8dbe4d0dd7a0e/sphinx_gallery/scrapers.py
4
4
"""
5
+
5
6
from pathlib import Path
6
7
from warnings import filterwarnings
7
8
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ url = https://github.com/ianhi/mpl-playback
7
7
author = Ian Hunt-Isaak
8
8
9
9
license = BSD-3-Clause
10
- license_file = LICENSE/LICENSE
10
+ license_files = LICENSE/LICENSE
11
11
classifiers =
12
12
Framework :: Matplotlib
13
13
Intended Audience :: Developers
@@ -17,8 +17,6 @@ classifiers =
17
17
Programming Language :: Python
18
18
Programming Language :: Python :: 3
19
19
Programming Language :: Python :: 3 :: Only
20
- Programming Language :: Python :: 3.8
21
- Programming Language :: Python :: 3.9
22
20
download_url = https://github.com/ianhi/mpl-playback
23
21
keywords = matplotlib, gif
24
22
project_urls =
@@ -29,15 +27,15 @@ project_urls =
29
27
packages = find:
30
28
install_requires =
31
29
matplotlib>=3.3
32
- python_requires = >=3.8
30
+ python_requires = >=3.9
33
31
34
32
[options.extras_require]
35
33
docs =
36
34
Sphinx>=1.5
37
35
furo
38
- myst_nb
36
+ myst-nb
39
37
sphinx-copybutton
40
- sphinx_gallery
38
+ sphinx-gallery
41
39
42
40
[options.package_data]
43
41
* = *.pyi, py.typed
You can’t perform that action at this time.
0 commit comments