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

Remove or update outdated visualisation from examples #154

Open
EwoutH opened this issue Aug 11, 2024 · 3 comments
Open

Remove or update outdated visualisation from examples #154

EwoutH opened this issue Aug 11, 2024 · 3 comments

Comments

@EwoutH
Copy link
Member

EwoutH commented Aug 11, 2024

Currently a lot of our examples still use the old, now removed visualisation. We should either remove, or even better, replace those visualisations with the new SolaraViz visualisation.

All old server.py visualisations should be replaced with app.py files in which SolaraViz is used.

Resources

For reference, these examples currently already use the updated visualisation:

We should also start to

@EwoutH
Copy link
Member Author

EwoutH commented Aug 27, 2024

With projectmesa/mesa#2214 merged and Mesa 3.0.0a2 released, you can now also specify “shapes” in a portrayal for SolaraViz.

@wang-boyu
Copy link
Member

wang-boyu commented Sep 3, 2024

This applies to gis examples too. Need to convert old visualizations to Solara:

  • AgentsAndNetworks
  • GeoSchelling
  • GeoSchellingPoints
  • GeoSIR (either remove or copy over from mesa-geo introductory tutorial)
  • Population
  • Rainfall
  • UrbanGrowth

@EwoutH
Copy link
Member Author

EwoutH commented Sep 4, 2024

@wang-boyu do you and maybe @tpike3 want to pick that up? Then I will see if I can make the, testable in CI.

EwoutH pushed a commit that referenced this issue Oct 17, 2024
This PR updates the remaining three gis examples to use Solara viz, partly addressing #154. It depends on projectmesa/mesa-geo#254 to be released, as these examples use raster layers.

Also made some small adjustments in ordering components to account for the grid layout, instead of the previous column layout in Solara viz.
wang-boyu added a commit to wang-boyu/mesa-examples that referenced this issue Oct 17, 2024
This PR updates the remaining three gis examples to use Solara viz, partly addressing projectmesa#154. It depends on projectmesa/mesa-geo#254 to be released, as these examples use raster layers.

Also made some small adjustments in ordering components to account for the grid layout, instead of the previous column layout in Solara viz.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants