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

Plot PDF/CDF have misleading x-axis label for offspring distribution #309

Closed
DxChen0126 opened this issue May 16, 2024 · 1 comment
Closed
Assignees
Milestone

Comments

@DxChen0126
Copy link

At the current version, no matter what kind of distribution was input, plot PDF/CDF only provide plots with x-axis with label "Time since infection", which is not correct for offspring distribution.

Please include a brief description of the problem with a code example:

# insert reprex here

@joshwlambert
Copy link
Member

Thank you for raising this issue @DxChen0126. I have addressed this in PR #315 and the plotting function should now use the name of the epidemiological distribution and the time units as the x-axis label. For example "Serial Interval (Days)". For the offspring distribution, no units are given so the x-axis just states "Offspring Distribution".

I hope this addresses your issue, if not please feel free to reopen this issue and we can discuss a better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants