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

Visualize whole tree of infections #55

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Visualize whole tree of infections #55

wants to merge 9 commits into from

Conversation

afmagee42
Copy link
Contributor

@afmagee42 afmagee42 commented Dec 23, 2024

Resolves #24 and #15. Solves #53 along the way because the broken plots that led to were driving me crazy.

Code lives in ringvax.plot, and I'm rather tempted to wrap it all up into a plotting object since that would avoid a lot of unneeded passing of objects around (the simulation, plotting parameters, and the plot itself).

Colors and styles can and probably should be argued over. I strove to keep things clean and visible first and foremost, but also to use our color palette and keep things accessible. I think this is mostly achieved, except perhaps marking detections which is a bit ugly. I tried delineating detection types by color, instead of shape, but I ran out of colors that were both easy to see on both latent and exposed backgrounds and which were truly distinctive from each other.

To keep some of the plotting-induced post-processing sane, I added infection attributes: the id and the infectees.

@afmagee42 afmagee42 requested a review from swo December 23, 2024 22:15
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.

Infection-level view outout (tab?)
1 participant