Skip to content

Commit da8bc30

Browse files
committed
🐛 add 'save' tag to ensure that altair plots can be exported
1 parent b8df80a commit da8bc30

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

pyproject.toml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ streamlit-aggrid = "*"
1717
quarto-cli = "*"
1818
plotly = "5.15.0"
1919
pyvis = "^0.3.2"
20-
pandas = {extras = ["parquet"], version = "^2.2.3"}
20+
pandas = { extras = ["parquet"], version = "^2.2.3" }
2121
openpyxl = "^3.1.5"
2222
xlrd = "^2.0.1"
2323
nbformat = "^5.10.4"
2424
nbclient = "^0.10.0"
2525
matplotlib = "^3.9.2"
26-
altair = "*"
26+
altair = { extras = ["save"], version = "*" }
2727
itables = "^2.2.2"
2828
kaleido = "0.2.0"
2929
vl-convert-python = "^1.7.0"
@@ -33,20 +33,20 @@ pyyaml = "^6.0.2"
3333

3434
# optional doc depencencies, follow approach as described here:
3535
# https://github.com/python-poetry/poetry/issues/2567#issuecomment-646766059
36-
sphinx = {version="*", optional=true}
37-
sphinx-book-theme = {version="*", optional=true}
38-
myst-nb = {version="*", optional=true}
39-
ipywidgets = {version="*", optional=true}
40-
sphinx-new-tab-link = {version = "!=0.2.2", optional=true}
41-
jupytext = {version="*", optional=true}
42-
customtkinter = {version="*", optional=true}
36+
sphinx = { version = "*", optional = true }
37+
sphinx-book-theme = { version = "*", optional = true }
38+
myst-nb = { version = "*", optional = true }
39+
ipywidgets = { version = "*", optional = true }
40+
sphinx-new-tab-link = { version = "!=0.2.2", optional = true }
41+
jupytext = { version = "*", optional = true }
42+
customtkinter = { version = "*", optional = true }
4343

4444
[tool.poetry.group.dev.dependencies]
45-
ipykernel = {version="^6.29.5", optional=true}
45+
ipykernel = { version = "^6.29.5", optional = true }
4646

4747
[tool.poetry.requires-plugins]
4848
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }
49-
49+
5050
[tool.poetry-dynamic-versioning]
5151
enable = true
5252

@@ -56,7 +56,14 @@ build-backend = "poetry_dynamic_versioning.backend"
5656

5757
# https://stackoverflow.com/a/60990574/9684872
5858
[tool.poetry.extras]
59-
docs = ["sphinx", "sphinx-book-theme", "myst-nb", "ipywidgets", "sphinx-new-tab-link", "jupytext"]
59+
docs = [
60+
"sphinx",
61+
"sphinx-book-theme",
62+
"myst-nb",
63+
"ipywidgets",
64+
"sphinx-new-tab-link",
65+
"jupytext",
66+
]
6067
gui = ["customtkinter"]
6168

6269
[tool.poetry.scripts]

0 commit comments

Comments
 (0)