Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update intro_tutorial.ipynb #233

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions docs/tutorials/intro_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,27 @@
" (You can use the table of contents button on the left side of the interface to skip to any specific part)\n",
"\n",
"\n",
"Users can use Google Colab (Please ensure you run the Colab dependency import cell) \n",
"Users can use Google Colab\\* (Please ensure you run the Colab dependency import cell- below) \n",
"\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/projectmesa/mesa-geo/blob/main/docs/tutorials/intro_tutorial.ipynb)\n"
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/projectmesa/mesa-geo/blob/main/docs/tutorials/intro_tutorial.ipynb)\n",
"\n",
"\\*Based on a recent Google Colab update currently, Solara visuals are not rendering. However, the link still provides a easy way to download the jupyter file. \n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be informative to add the link to the issue widgetti/solara#323.

"\n",
"You can also [download the file directly from GitHub](https://github.com/projectmesa/mesa-geo/blob/main/docs/tutorials/intro_tutorial.ipynb)\n"
]
},
{
"cell_type": "raw",
"id": "c0c702b3-c307-4f00-9530-468e29f53184",
"cell_type": "code",
"execution_count": null,
"id": "0b0dc4bb-cf8a-4c21-82aa-4a1cc43f1871",
"metadata": {},
"outputs": [],
"source": [
"#Run this if in colab\n",
"#Run this if in colab or if you need to install mesa and mesa-geo in your local environment. \n",
"!pip install mesa --quiet\n",
"!pip install mesa-geo --quiet\n",
"!mkdir -p data\n",
"!wget -P data https://raw.githubusercontent.com/projectmesa/mesa-geo/tree/main/docs/tutorials/data/TorontoNeighbourhoods.geojson"
"!wget -P data https://raw.githubusercontent.com/projectmesa/mesa-geo/main/docs/tutorials/data/TorontoNeighbourhoods.geojson"
]
},
{
Expand Down