pypomp.PanelPomp.plot_simulations

PanelPomp.plot_simulations(key: Array, nsim: int = 20, mode: str = 'lines', theta: PanelParameters | None = None, show: bool = True) Any

Simulate and plot observations against real data.

Parameters:
  • key (jax.Array) – JAX random key.

  • nsim (int, optional) – Number of simulations to run per replicate. Defaults to 20.

  • mode ({"lines", "quantiles"}, optional) – Plotting style. Defaults to "lines".

  • theta (PanelParameters or None, optional) – Parameters to simulate from. If None, defaults to self.theta.

  • show (bool, optional) – Whether to display the plot immediately. Defaults to True.

Returns:

The generated figure object.

Return type:

plotly.graph_objects.Figure