Skip to content

Commit 64197d6

Browse files
committed
Adde pre-commit to pyproject.toml
1 parent 1efc9af commit 64197d6

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ dev = [
3030
"black",
3131
"isort",
3232
"jupyterlab",
33-
"nbstripout"
33+
"nbstripout",
34+
"pre-commit",
3435
]
3536
[project.urls]
3637
"Source" = "https://github.com/max-models/maxplotlib"

tutorials/tutorial_03.ipynb

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6-
"id": "5a83b8ed",
6+
"id": "0",
77
"metadata": {},
88
"outputs": [],
99
"source": [
@@ -13,7 +13,7 @@
1313
{
1414
"cell_type": "code",
1515
"execution_count": null,
16-
"id": "88c5ec37",
16+
"id": "1",
1717
"metadata": {},
1818
"outputs": [],
1919
"source": [
@@ -26,7 +26,7 @@
2626
" [0, 1, 2, 3], [0, 2, 3, 4], linestyle=\"dashed\", color=\"red\", label=\"Line 2\", layer=1\n",
2727
")\n",
2828
"# c.plot()\n",
29-
"c.savefig(layer_by_layer=True, filename=\"figures/tutorial_03_figure_01.pdf\")"
29+
"c.savefig(layer_by_layer=True, filename=\"tutorial_03_01.pdf\")"
3030
]
3131
}
3232
],
@@ -36,8 +36,22 @@
3636
"main_language": "python",
3737
"notebook_metadata_filter": "-all"
3838
},
39+
"kernelspec": {
40+
"display_name": "env_maxplotlib",
41+
"language": "python",
42+
"name": "python3"
43+
},
3944
"language_info": {
40-
"name": "python"
45+
"codemirror_mode": {
46+
"name": "ipython",
47+
"version": 3
48+
},
49+
"file_extension": ".py",
50+
"mimetype": "text/x-python",
51+
"name": "python",
52+
"nbconvert_exporter": "python",
53+
"pygments_lexer": "ipython3",
54+
"version": "3.13.3"
4155
}
4256
},
4357
"nbformat": 4,

0 commit comments

Comments
 (0)