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

solara: Implement visualization for network grid #1767

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

rht
Copy link
Contributor

@rht rht commented Aug 17, 2023

Prioritizing this feature in case it is needed to visualize the AI town (25 agents).

2023-08-17-053747_1175x765_scrot

I will update the virus on network example once this is merged.

@codecov
Copy link

codecov bot commented Aug 17, 2023

Codecov Report

Patch coverage: 33.33% and project coverage change: -0.40% ⚠️

Comparison is base (1ee5cda) 80.68% compared to head (4a138cf) 80.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1767      +/-   ##
==========================================
- Coverage   80.68%   80.29%   -0.40%     
==========================================
  Files          15       15              
  Lines         870      878       +8     
  Branches      186      187       +1     
==========================================
+ Hits          702      705       +3     
- Misses        147      152       +5     
  Partials       21       21              
Files Changed Coverage Δ
mesa/experimental/jupyter_viz.py 20.45% <33.33%> (+1.09%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rht
Copy link
Contributor Author

rht commented Aug 17, 2023

It is remarkable that this only needs a few lines of code, compared to the hundreds LOC for the old viz method.

Copy link
Member

@tpike3 tpike3 left a comment

Choose a reason for hiding this comment

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

That is amazing how little code is needed!

@rht rht changed the title solara: Implement visualization for network solara: Implement visualization for network grid Aug 17, 2023
@rht rht merged commit 24a1df3 into projectmesa:main Aug 17, 2023
@rht rht deleted the solara_network branch August 17, 2023 12:45
@tpike3 tpike3 added this to the Release 2.1.2 milestone Sep 19, 2023
@bruce881225
Copy link

I noticed that mesa has been updated to version 2.1.2, and I am very interested in this example, will you release it?

@rht
Copy link
Contributor Author

rht commented Sep 25, 2023

It's already part of 2.1.2. You can try via projectmesa/mesa-examples#56.

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