Skip to content

End-of-outbreak probability plot #1227

Done

Description

@sbfnk-bot

End-of-outbreak probability plot: the end-of-outbreak probability over time is not drawn yet.

Left for later in #1224.

Activity

  1. self-assigned this
    on Nov 23, 2026
  2. sbfnk-bot commented on Nov 23, 2026

    @sbfnk-bot
    CollaboratorAuthor

    @sbfnk Which plotting backend should the end-of-outbreak probability plot use, and where should it live? The repository has no plotting code or plotting dependency. The core package, ext/ and docs/Project.toml contain none, and nothing in docs/src draws a figure. I see two options:

    1. A package extension for a plotting package (for example Makie) that adds a plot method for the probability over τ. This adds a weak dependency and a public interface.
    2. A figure drawn only in the end-of-outbreak section of the analytical tutorial. This adds a plotting package to the docs environment but no package API.

    Which should it be, and with which plotting package? If it is a plot method, should it also accept the cluster form (each case's τ and known secondary-case counts), or only the single-case form?

  3. sbfnk-bot commented on Nov 26, 2026

    @sbfnk-bot
    CollaboratorAuthor

    Relayed for @sbfnk:

    #1239 settled this: end_of_outbreak_plot is in the Makie extension, with the cluster form through end_of_outbreak_inputs, and CairoMakie is already in the docs environment. What's left is a figure. Add one end_of_outbreak_plot figure to the "End of outbreak" section of docs/src/tutorials/analytical.md, on a small simulated outbreak, then close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions