Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1941 +/- ##
==========================================
- Coverage 79.92% 79.31% -0.62%
==========================================
Files 15 15
Lines 1270 1276 +6
Branches 277 282 +5
==========================================
- Hits 1015 1012 -3
- Misses 216 225 +9
Partials 39 39 ☔ View full report in Codecov by Sentry. |
Contributor
Author
8b90487 to
becd723
Compare
Member
|
This looks very useful! |
Corvince
approved these changes
Jan 9, 2024
Member
|
This is still in the experimental space right? If so, go ahead! |
Fixes mesa#1821. This provides a declarative interface to plotting multiple lines in 1 chart. Example usage for virus on network ```python page = JupyterViz( VirusOnNetwork, model_params, measures=[ # This is subject to change, as it could have been # {"Infected": {"color": "tab:red"}}, but let's keep it simple. {"Infected": "tab:red", "Susceptible": "tab:green", "Resistant": "tab:gray"}, # Alternatively, if you don't want to manually specify colors: # ["Infected", "Susceptible", "Resistant"], make_text(get_resistant_susceptible_ratio), ], name="Virus Model", agent_portrayal=agent_portrayal, ```
Contributor
Author
|
Rebased. |
Contributor
|
Great thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes #1821.
This provides a declarative interface to plotting multiple lines in 1 chart.
Example usage for virus on network