histo_errorbars

gdt.core.plot.lib.histo_errorbars(bins, ax, color='C0', **kwargs)[source]

Plot errorbars for lightcurves or count spectra.

Parameters:
  • bins (TimeBins or EnergyBins) – The lightcurve or count spectrum histograms

  • ax (matplotlib.axes) – The axis on which to plot

  • color (str, optional) – The color of the errorbars. Default is ‘C0’

  • **kwargs – Other plotting options

Returns:

(list of matplotlib.container.ErrorbarContainer)