Skip to content

Commit 91e2fa5

Browse files
authored
Merge pull request #46 from fiddler-labs/examples/workshop_110923
Updating dependencies and Notebooks
2 parents e29d606 + 75e06d7 commit 91e2fa5

6 files changed

+346
-44
lines changed

examples/Custom_Evaluation.ipynb

+15-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,13 @@
8484
"outputs": [],
8585
"source": [
8686
"import os\n",
87-
"import getpass"
87+
"import getpass\n",
88+
"from IPython.display import HTML, display\n",
89+
"\n",
90+
"# Callback for word wrapping HTML reports in Google Colab\n",
91+
"def set_css(info):\n",
92+
" display(HTML('''<style>pre {white-space: pre-wrap;}</style>'''))\n",
93+
"get_ipython().events.register('pre_run_cell', set_css)"
8894
]
8995
},
9096
{
@@ -328,6 +334,14 @@
328334
")\n",
329335
"test_result"
330336
]
337+
},
338+
{
339+
"cell_type": "code",
340+
"execution_count": null,
341+
"id": "04075fb6-5e8c-4fd3-be07-a1f969a2a127",
342+
"metadata": {},
343+
"outputs": [],
344+
"source": []
331345
}
332346
],
333347
"metadata": {

examples/Custom_Transformation.ipynb

+7-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,13 @@
7373
"outputs": [],
7474
"source": [
7575
"import os\n",
76-
"import getpass"
76+
"import getpass\n",
77+
"from IPython.display import HTML, display\n",
78+
"\n",
79+
"# Callback for word wrapping HTML reports in Google Colab\n",
80+
"def set_css(info):\n",
81+
" display(HTML('''<style>pre {white-space: pre-wrap;}</style>'''))\n",
82+
"get_ipython().events.register('pre_run_cell', set_css)"
7783
]
7884
},
7985
{

0 commit comments

Comments
 (0)