diff --git a/notebooks/chapter_1_introduction/start_here.ipynb b/notebooks/chapter_1_introduction/start_here.ipynb index 40c5f77..de7b864 100644 --- a/notebooks/chapter_1_introduction/start_here.ipynb +++ b/notebooks/chapter_1_introduction/start_here.ipynb @@ -96,6 +96,16 @@ "\n", "_setup_colab.setup(\"howtofit\")" ] + }, + { + "cell_type": "code", + "metadata": {}, + "source": [ + "\n", + "from autofit import setup_notebook; setup_notebook()" + ], + "outputs": [], + "execution_count": null } ], "metadata": { diff --git a/notebooks/chapter_1_introduction/tutorial_1_models.ipynb b/notebooks/chapter_1_introduction/tutorial_1_models.ipynb index b9fd4f2..fd4d8ee 100644 --- a/notebooks/chapter_1_introduction/tutorial_1_models.ipynb +++ b/notebooks/chapter_1_introduction/tutorial_1_models.ipynb @@ -116,6 +116,8 @@ "cell_type": "code", "metadata": {}, "source": [ + "\n", + "from autofit import setup_notebook; setup_notebook()\n", "\n", "import numpy as np\n", "import matplotlib.pyplot as plt\n", diff --git a/scripts/chapter_1_introduction/start_here.py b/scripts/chapter_1_introduction/start_here.py index e2d4d5e..7b68652 100644 --- a/scripts/chapter_1_introduction/start_here.py +++ b/scripts/chapter_1_introduction/start_here.py @@ -53,3 +53,5 @@ alongside the larger `autofit_workspace_developer/projects/cosmology/` example. These depend on astronomy-specific datasets that only live in the developer workspace. """ + +# from autofit import setup_notebook; setup_notebook() diff --git a/scripts/chapter_1_introduction/tutorial_1_models.py b/scripts/chapter_1_introduction/tutorial_1_models.py index 85a8453..ee92d05 100644 --- a/scripts/chapter_1_introduction/tutorial_1_models.py +++ b/scripts/chapter_1_introduction/tutorial_1_models.py @@ -69,6 +69,8 @@ performed by PyAutoFit. """ +# from autofit import setup_notebook; setup_notebook() + import numpy as np import matplotlib.pyplot as plt diff --git a/start_here.ipynb b/start_here.ipynb index 54a3356..a445285 100644 --- a/start_here.ipynb +++ b/start_here.ipynb @@ -96,6 +96,8 @@ "cell_type": "code", "metadata": {}, "source": [ + "\n", + "from autofit import setup_notebook; setup_notebook()\n", "\n", "print(__doc__)\n" ], diff --git a/start_here.py b/start_here.py index 3966f50..3619637 100644 --- a/start_here.py +++ b/start_here.py @@ -49,4 +49,6 @@ Open `scripts/chapter_1_introduction/start_here.py` (or the `.ipynb` equivalent) and start there. """ +# from autofit import setup_notebook; setup_notebook() + print(__doc__)