Skip to content

Commit

Permalink
Fix HTML in example notebook (ipynb)
Browse files Browse the repository at this point in the history
  • Loading branch information
augustebaum committed Sep 16, 2024
1 parent 1baa2a9 commit 9e77191
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions notebooks/basic_usage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import numpy as np\n",
"# ruff: noqa\n",
"\n",
"import altair as alt\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"import pandas as pd\n",
"import PIL\n",
"\n",
"from sklearn.datasets import load_diabetes\n",
"from sklearn.linear_model import Lasso\n",
"from sklearn.pipeline import Pipeline\n",
"from sklearn.preprocessing import StandardScaler\n",
"\n",
"from skore import load"
]
},
Expand Down Expand Up @@ -299,7 +299,7 @@
"project.put(\n",
" \"my_string_2\",\n",
" (\n",
" \"\"\"Hello world!, **bold**, *italic*, `code` \n",
" \"\"\"Hello world!, **bold**, *italic*, `code`\n",
"\n",
"```python\n",
"def my_func(x):\n",
Expand Down Expand Up @@ -656,7 +656,7 @@
"source": [
"project.put_item(\n",
" \"my_comment_2\",\n",
" MediaItem.factory(\"<p><h2>Integers</h1></p>\", media_type=\"text/html\"),\n",
" MediaItem.factory(\"<p><h2>Integers</h2></p>\", media_type=\"text/html\"),\n",
")"
]
},
Expand All @@ -668,7 +668,7 @@
"outputs": [],
"source": [
"project.put_item(\n",
" \"my_comment_3\", MediaItem.factory(\"<p><h2>Strings</h1></p>\", media_type=\"text/html\")\n",
" \"my_comment_3\", MediaItem.factory(\"<p><h2>Strings</h2></p>\", media_type=\"text/html\")\n",
")"
]
},
Expand All @@ -681,7 +681,7 @@
"source": [
"project.put_item(\n",
" \"my_comment_4\",\n",
" MediaItem.factory(\"<p><h2>Many kinds of data</h1></p>\", media_type=\"text/html\"),\n",
" MediaItem.factory(\"<p><h2>Many kinds of data</h2></p>\", media_type=\"text/html\"),\n",
")"
]
},
Expand All @@ -694,7 +694,7 @@
"source": [
"project.put_item(\n",
" \"my_comment_5\",\n",
" MediaItem.factory(\"<p><h2>Altair plots</h1></p>\", media_type=\"text/html\"),\n",
" MediaItem.factory(\"<p><h2>Altair plots</h2></p>\", media_type=\"text/html\"),\n",
")"
]
},
Expand All @@ -708,7 +708,7 @@
"project.put_item(\n",
" \"my_comment_6\",\n",
" MediaItem.factory(\n",
" \"<p><h2>Scikit-learn models and pipelines</h1></p>\", media_type=\"text/html\"\n",
" \"<p><h2>Scikit-learn models and pipelines</h2></p>\", media_type=\"text/html\"\n",
" ),\n",
")"
]
Expand All @@ -723,7 +723,7 @@
"project.put_item(\n",
" \"my_comment_7\",\n",
" MediaItem.factory(\n",
" \"<p><h2>Manipulating the skore dashboard</h1></p>\", media_type=\"text/html\"\n",
" \"<p><h2>Manipulating the skore dashboard</h2></p>\", media_type=\"text/html\"\n",
" ),\n",
")"
]
Expand Down

0 comments on commit 9e77191

Please sign in to comment.