Skip to content

Commit

Permalink
add missing Colab header-cell to advection-diffusion-2d.ipynb (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo authored Sep 22, 2024
1 parent 64ab78d commit 52b1d08
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,24 @@
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/open-atmos/PyMPDATA/blob/main/examples/PyMPDATA_examples/advection_diffusion_2d/advection-diffusion-2d.ipynb)"
]
},
{
"cell_type": "code",
"id": "e333666d",
"execution_count": null,
"metadata": {
"pycharm": {
"name": "#%%\n"
}
},
"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('PyMPDATA-examples')"
]
},
{
"cell_type": "code",
"id": "43d2893d-f472-43ac-ad5b-bf342a3783b9",
Expand Down

0 comments on commit 52b1d08

Please sign in to comment.