py21cmfast.plotting.plot_global_history

py21cmfast.plotting.plot_global_history(lightcone: LightCone, kind: str | None = None, ylabel: str | None = None, ylog: bool = False, ax: matplotlib.axes._axes.Axes | None = None)[source]

Plot the global history of a given quantity from a lightcone.

Parameters:
  • lightcone (LightCone instance) – The lightcone containing the quantity to plot.

  • kind (str, optional) – The quantity to plot. Must be in the global_quantities dict in the lightcone. By default, will choose the first entry in the dict.

  • ylabel (str, optional) – A y-label for the plot. If None, will use kind.

  • ax (Axes, optional) – The matplotlib Axes object on which to plot. Otherwise, created.