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

gis: update four examples to use solara viz #211

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wang-boyu
Copy link
Member

@wang-boyu wang-boyu commented Sep 28, 2024

Partly addresses #154.

Update the following four gis examples to use the new solara visualization:

  • agents_and_networks
  • geo_schelling
  • geo_schelling_points
  • geo_sir

Update their dependency of mesa-geo to v0.9.0a0.

Also update the folder structure of the geo_sir model from

geo_sir
├── agents.py
├── model.py
├── app.py
├── ...

to

geo_sir
├── geo_sir
│   ├── __init__.py
│   ├── agents.py
│   └── model.py
├── app.py
├── ...

to be consistent with other gis examples.

@EwoutH
Copy link
Member

EwoutH commented Sep 28, 2024

Awesome work!

If others don’t get to it, I will review Monday.

```

Then open your browser to [http://127.0.0.1:8521/](http://127.0.0.1:8521/) and press `Start`.
Then open your browser to [http://127.0.0.1:8765/](http://127.0.0.1:8765/) and press `Start`.
Copy link
Contributor

Choose a reason for hiding this comment

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

There is no "Start" button anymore. It is "▶".

Copy link
Member Author

Choose a reason for hiding this comment

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

You're right! Fixed now.

@wang-boyu wang-boyu force-pushed the gis/solara-viz branch 2 times, most recently from 14872eb to ad1e606 Compare September 28, 2024 14:49
@wang-boyu
Copy link
Member Author

Also updated the agents_networks example model. Won't update any other examples in this PR.

@wang-boyu wang-boyu changed the title gis: update three examples to use solara viz gis: update four examples to use solara viz Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants