Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DX: remove figure_formats = ["svg"] statement #368

Merged
merged 3 commits into from
Dec 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/ComPWA/repo-maintenance
rev: 0.1.4
rev: 0.1.5
hooks:
- id: check-dev-files
args:
Expand Down
1 change: 0 additions & 1 deletion docs/usage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import os\n",
"\n",
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)"
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/amplitude.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import os\n",
"\n",
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)"
Expand Down Expand Up @@ -77,6 +76,7 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import sympy as sp\n",
"from IPython.display import Math\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/dynamics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import os\n",
"\n",
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)"
Expand Down Expand Up @@ -114,6 +113,7 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import logging\n",
"import warnings\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/dynamics/analytic-continuation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import os\n",
"\n",
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)"
Expand Down Expand Up @@ -109,6 +108,7 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import warnings\n",
"\n",
"import sympy as sp\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/dynamics/custom.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import os\n",
"\n",
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)"
Expand Down Expand Up @@ -77,6 +76,7 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"from __future__ import annotations\n",
"\n",
"import graphviz\n",
Expand Down
7 changes: 5 additions & 2 deletions docs/usage/dynamics/k-matrix.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import os\n",
"\n",
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)"
Expand Down Expand Up @@ -1135,6 +1134,7 @@
},
"tags": [
"hide-input",
"remove-output",
"scroll-input"
]
},
Expand Down Expand Up @@ -1787,7 +1787,9 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
"tags": [
"remove-output"
]
},
"outputs": [],
"source": [
Expand All @@ -1809,6 +1811,7 @@
"source_hidden": true
},
"tags": [
"full-width",
"remove-input"
]
},
Expand Down
1 change: 0 additions & 1 deletion docs/usage/helicity/formalism.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import os\n",
"\n",
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)"
Expand Down
1 change: 0 additions & 1 deletion docs/usage/helicity/spin-alignment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import os\n",
"\n",
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)"
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/interactive.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import os\n",
"\n",
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)"
Expand Down Expand Up @@ -480,6 +479,7 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import matplotlib.pyplot as plt\n",
"import mpl_interactions.ipyplot as iplt\n",
"\n",
Expand Down
1 change: 0 additions & 1 deletion docs/usage/kinematics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import os\n",
"\n",
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)"
Expand Down
1 change: 0 additions & 1 deletion docs/usage/modify.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import os\n",
"\n",
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)"
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/symplot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import os\n",
"\n",
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)"
Expand Down Expand Up @@ -189,6 +188,7 @@
},
"outputs": [],
"source": [
"%config InlineBackend.figure_formats = ['svg']\n",
"import matplotlib.pyplot as plt\n",
"import mpl_interactions.ipyplot as iplt\n",
"import numpy as np\n",
Expand Down
Loading