Skip to content

Commit

Permalink
docs: fix syntax highlighting in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjholland committed Jan 12, 2025
1 parent 7ba7053 commit 9a724c7
Show file tree
Hide file tree
Showing 8 changed files with 73 additions and 7 deletions.
10 changes: 9 additions & 1 deletion docs/source/examples/analysing-GITT-data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@
"outputs": [],
"source": [
"%%capture\n",
"%pip install matplotlib\n",
"%pip install matplotlib"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import pyprobe\n",
"import matplotlib.pyplot as plt\n",
"\n",
Expand Down
10 changes: 9 additions & 1 deletion docs/source/examples/differentiating-voltage-data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@
"outputs": [],
"source": [
"%%capture\n",
"%pip install matplotlib\n",
"%pip install matplotlib"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import pyprobe\n",
"import matplotlib.pyplot as plt\n",
"\n",
Expand Down
10 changes: 9 additions & 1 deletion docs/source/examples/filtering-data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@
"outputs": [],
"source": [
"%%capture\n",
"%pip install matplotlib\n",
"%pip install matplotlib"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import pyprobe\n",
"import matplotlib.pyplot as plt\n",
"\n",
Expand Down
10 changes: 9 additions & 1 deletion docs/source/examples/getting-started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,15 @@
"outputs": [],
"source": [
"%%capture\n",
"%pip install matplotlib\n",
"%pip install matplotlib"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import pyprobe\n",
"from pprint import pprint\n",
"\n",
Expand Down
10 changes: 9 additions & 1 deletion docs/source/examples/ocv-fitting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,15 @@
"outputs": [],
"source": [
"%%capture\n",
"%pip install matplotlib\n",
"%pip install matplotlib"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import pyprobe\n",
"import polars as pl\n",
"from pyprobe.analysis import degradation_mode_analysis as dma\n",
Expand Down
10 changes: 9 additions & 1 deletion docs/source/examples/plotting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@
"outputs": [],
"source": [
"%%capture\n",
"%pip install matplotlib\n",
"%pip install matplotlib"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import pyprobe\n",
"import matplotlib.pyplot as plt\n",
"\n",
Expand Down
10 changes: 10 additions & 0 deletions docs/source/examples/sharing-data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
"First we will import some sample data:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%%capture\n",
"%pip install matplotlib"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
10 changes: 9 additions & 1 deletion docs/source/examples/working-with-pybamm-models.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,15 @@
"%%capture\n",
"%pip install pybamm\n",
"%pip install matplotlib\n",
"%pip install ipywidgets\n",
"%pip install ipywidgets"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import pyprobe\n",
"import pybamm\n",
"import matplotlib.pyplot as plt\n",
Expand Down

0 comments on commit 9a724c7

Please sign in to comment.