From b8a0d717363c637d875c33c337bf41c86848cf6c Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Tue, 8 Oct 2024 18:26:12 +0200 Subject: [PATCH] fix Miyake example notebook by adding Colab header cell (#1398) --- .../Miyake_et_al_1968/fig_19.ipynb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/examples/PySDM_examples/Miyake_et_al_1968/fig_19.ipynb b/examples/PySDM_examples/Miyake_et_al_1968/fig_19.ipynb index d9fe16ae1..b5b6919ec 100644 --- a/examples/PySDM_examples/Miyake_et_al_1968/fig_19.ipynb +++ b/examples/PySDM_examples/Miyake_et_al_1968/fig_19.ipynb @@ -24,6 +24,25 @@ "- different diffusivity ratios used for different isotopes (with D_heavy/D approximated with D_heavy/D_light), visible but insignificant differences" ] }, + { + "cell_type": "code", + "execution_count": 1, + "id": "xyz", + "metadata": { + "ExecuteTime": { + "end_time": "2023-12-29T11:46:48.050378Z", + "start_time": "2023-12-29T11:46:48.039915Z" + } + }, + "outputs": [], + "source": [ + "import sys\n", + "if 'google.colab' in sys.modules:\n", + " !pip --quiet install open-atmos-jupyter-utils\n", + " from open_atmos_jupyter_utils import pip_install_on_colab\n", + " pip_install_on_colab('PySDM-examples')" + ] + }, { "cell_type": "code", "execution_count": 5,