Skip to content

Commit 0f81b78

Browse files
committed
Add tutorials to docs
1 parent d548e74 commit 0f81b78

6 files changed

+12
-12
lines changed

docs/source/tutorials/00_api_basics.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"import pandas as pd\n",
103103
"import matplotlib.pyplot as plt\n",
104104
"\n",
105-
"lineapy.options.set(\"is_demo\", True)"
105+
"lineapy.tag(\"API Basics Demo\")"
106106
]
107107
},
108108
{
@@ -1499,7 +1499,7 @@
14991499
"name": "python",
15001500
"nbconvert_exporter": "python",
15011501
"pygments_lexer": "ipython3",
1502-
"version": "3.10.3"
1502+
"version": "3.9.7"
15031503
}
15041504
},
15051505
"nbformat": 4,

docs/source/tutorials/01_refactor_code.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"import matplotlib.pyplot as plt\n",
6363
"from sklearn.linear_model import LinearRegression\n",
6464
"\n",
65-
"lineapy.options.set(\"is_demo\", True)"
65+
"lineapy.tag(\"Refactoring Code Demo\")"
6666
]
6767
},
6868
{
@@ -1063,7 +1063,7 @@
10631063
"name": "python",
10641064
"nbconvert_exporter": "python",
10651065
"pygments_lexer": "ipython3",
1066-
"version": "3.10.3"
1066+
"version": "3.9.7"
10671067
}
10681068
},
10691069
"nbformat": 4,

docs/source/tutorials/02_build_pipelines.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"import matplotlib.pyplot as plt\n",
7171
"from sklearn.linear_model import LinearRegression\n",
7272
"\n",
73-
"lineapy.options.set(\"is_demo\", True)"
73+
"lineapy.tag(\"Refactoring Code Demo\")"
7474
]
7575
},
7676
{
@@ -1208,7 +1208,7 @@
12081208
"name": "python",
12091209
"nbconvert_exporter": "python",
12101210
"pygments_lexer": "ipython3",
1211-
"version": "3.10.3"
1211+
"version": "3.9.7"
12121212
}
12131213
},
12141214
"nbformat": 4,

docs/source/tutorials/03_parametrize_pipelines.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"source": [
6262
"# NBVAL_IGNORE_OUTPUT\n",
6363
"import lineapy\n",
64-
"lineapy.options.set(\"is_demo\", True)"
64+
"lineapy.tag(\"Building Parameterized Pipelines Demo\")"
6565
]
6666
},
6767
{
@@ -428,7 +428,7 @@
428428
"name": "python",
429429
"nbconvert_exporter": "python",
430430
"pygments_lexer": "ipython3",
431-
"version": "3.10.3"
431+
"version": "3.9.7"
432432
}
433433
},
434434
"nbformat": 4,

docs/source/tutorials/04a_adding_library_annotations.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"# NBVAL_SKIP\n",
5757
"import pyperclip\n",
5858
"import lineapy\n",
59-
"lineapy.options.set(\"is_demo\", True)"
59+
"lineapy.tag(\"Adding Library Annotations Demo A\")"
6060
]
6161
},
6262
{
@@ -252,7 +252,7 @@
252252
"name": "python",
253253
"nbconvert_exporter": "python",
254254
"pygments_lexer": "ipython3",
255-
"version": "3.10.3"
255+
"version": "3.9.7"
256256
}
257257
},
258258
"nbformat": 4,

docs/source/tutorials/04b_adding_custom_annotations.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"from .sample_user_class import MyClass\n",
3535
"\n",
3636
"import lineapy\n",
37-
"lineapy.options.set(\"is_demo\", True)"
37+
"lineapy.tag(\"Adding Library Annotations Demo B\")"
3838
]
3939
},
4040
{
@@ -282,7 +282,7 @@
282282
"name": "python",
283283
"nbconvert_exporter": "python",
284284
"pygments_lexer": "ipython3",
285-
"version": "3.10.3"
285+
"version": "3.9.7"
286286
}
287287
},
288288
"nbformat": 4,

0 commit comments

Comments
 (0)