Skip to content

Commit 99c4881

Browse files
committed
🔖 Add tags to hide cell input and outputs in case study jupyter notebooks
1 parent 1440faf commit 99c4881

File tree

2 files changed

+285
-57
lines changed

2 files changed

+285
-57
lines changed

‎docs/vuegen_basic_case_study.ipynb‎

Lines changed: 60 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@
7474
{
7575
"cell_type": "code",
7676
"execution_count": null,
77-
"metadata": {},
77+
"metadata": {
78+
"tags": [
79+
"hide-cell"
80+
]
81+
},
7882
"outputs": [],
7983
"source": [
8084
"import os\n",
@@ -85,7 +89,11 @@
8589
{
8690
"cell_type": "code",
8791
"execution_count": null,
88-
"metadata": {},
92+
"metadata": {
93+
"tags": [
94+
"hide-cell"
95+
]
96+
},
8997
"outputs": [],
9098
"source": [
9199
"# Set working directory\n",
@@ -101,7 +109,11 @@
101109
{
102110
"cell_type": "code",
103111
"execution_count": null,
104-
"metadata": {},
112+
"metadata": {
113+
"tags": [
114+
"hide-cell"
115+
]
116+
},
105117
"outputs": [],
106118
"source": [
107119
"# Optional library to launch a streamlit app from colab\n",
@@ -119,7 +131,11 @@
119131
{
120132
"cell_type": "code",
121133
"execution_count": null,
122-
"metadata": {},
134+
"metadata": {
135+
"tags": [
136+
"hide-cell"
137+
]
138+
},
123139
"outputs": [],
124140
"source": [
125141
"# Imports\n",
@@ -160,7 +176,11 @@
160176
{
161177
"cell_type": "code",
162178
"execution_count": null,
163-
"metadata": {},
179+
"metadata": {
180+
"tags": [
181+
"hide-output"
182+
]
183+
},
164184
"outputs": [],
165185
"source": [
166186
"# Generate the report\n",
@@ -175,7 +195,11 @@
175195
{
176196
"cell_type": "code",
177197
"execution_count": null,
178-
"metadata": {},
198+
"metadata": {
199+
"tags": [
200+
"hide-output"
201+
]
202+
},
179203
"outputs": [],
180204
"source": [
181205
"run_streamlit = False\n",
@@ -210,7 +234,11 @@
210234
{
211235
"cell_type": "code",
212236
"execution_count": null,
213-
"metadata": {},
237+
"metadata": {
238+
"tags": [
239+
"hide-output"
240+
]
241+
},
214242
"outputs": [],
215243
"source": [
216244
"# Generate the report\n",
@@ -239,7 +267,11 @@
239267
{
240268
"cell_type": "code",
241269
"execution_count": null,
242-
"metadata": {},
270+
"metadata": {
271+
"tags": [
272+
"hide-output"
273+
]
274+
},
243275
"outputs": [],
244276
"source": [
245277
"vuegen_logo_path = \"https://raw.githubusercontent.com/Multiomics-Analytics-Group/vuegen/main/docs/images/vuegen_logo.svg\"\n",
@@ -266,7 +298,11 @@
266298
{
267299
"cell_type": "code",
268300
"execution_count": null,
269-
"metadata": {},
301+
"metadata": {
302+
"tags": [
303+
"hide-output"
304+
]
305+
},
270306
"outputs": [],
271307
"source": [
272308
"# Update the description for the EDA section\n",
@@ -294,7 +330,11 @@
294330
{
295331
"cell_type": "code",
296332
"execution_count": null,
297-
"metadata": {},
333+
"metadata": {
334+
"tags": [
335+
"hide-output"
336+
]
337+
},
298338
"outputs": [],
299339
"source": [
300340
"# Define new plot with a URL as the file path\n",
@@ -344,7 +384,11 @@
344384
{
345385
"cell_type": "code",
346386
"execution_count": null,
347-
"metadata": {},
387+
"metadata": {
388+
"tags": [
389+
"hide-output"
390+
]
391+
},
348392
"outputs": [],
349393
"source": [
350394
"run_streamlit = False\n",
@@ -379,7 +423,11 @@
379423
{
380424
"cell_type": "code",
381425
"execution_count": null,
382-
"metadata": {},
426+
"metadata": {
427+
"tags": [
428+
"hide-output"
429+
]
430+
},
383431
"outputs": [],
384432
"source": [
385433
"# Test the changes by generarating the report from the modified YAML file\n",

0 commit comments

Comments
 (0)