histo¶
- gdt.core.plot.lib.histo(bins, ax, color='C0', edges_to_zero=False, **kwargs)[source]¶
Plot a rate histogram either lightcurves or count spectra.
- Parameters:
bins (
TimeBinsorEnergyBins) – The lightcurve or count spectrum histogramsax (
matplotlib.axes) – The axis on which to plot.color (str, optional) – The color of the histogram. Default is ‘C0’
edges_to_zero (bool, optional) – If True, then the farthest edges of the histogram will drop to zero. Default is True.
**kwargs – Other plotting options
- Returns:
(list of matplotlib.lines.Line2D)