Skip to content

Commit

Permalink
Modify quickstart to keep widget
Browse files Browse the repository at this point in the history
  • Loading branch information
atharva-2001 committed Nov 11, 2024
1 parent 8ec0f1a commit 45bdd32
Showing 1 changed file with 44 additions and 5 deletions.
49 changes: 44 additions & 5 deletions docs/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@
"metadata": {},
"outputs": [],
"source": [
"from tardis import run_tardis"
"from tardis import run_tardis\n",
"from tardis.io.logger import logger_widget"
]
},
{
Expand All @@ -115,8 +116,8 @@
},
"outputs": [],
"source": [
"from tardis.io.logger import logger_widget\n",
"logger_widget"
"# Uncommend below line to see live logs from the widget\n",
"# logger_widget"
]
},
{
Expand All @@ -133,7 +134,16 @@
]
},
{
"attachments": {},
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Only required when building documentation\n",
"logger_widget.embed()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
Expand Down Expand Up @@ -210,7 +220,36 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.3"
"version": "3.12.4"
},
"varInspector": {
"cols": {
"lenName": 16,
"lenType": 16,
"lenVar": 40
},
"kernels_config": {
"python": {
"delete_cmd_postfix": "",
"delete_cmd_prefix": "del ",
"library": "var_list.py",
"varRefreshCmd": "print(var_dic_list())"
},
"r": {
"delete_cmd_postfix": ") ",
"delete_cmd_prefix": "rm(",
"library": "var_list.r",
"varRefreshCmd": "cat(var_dic_list()) "
}
},
"types_to_exclude": [
"module",
"function",
"builtin_function_or_method",
"instance",
"_Feature"
],
"window_display": false
}
},
"nbformat": 4,
Expand Down

0 comments on commit 45bdd32

Please sign in to comment.