lightkurve.LightCurveCollection.plot#
- LightCurveCollection.plot(ax=None, offset=0.0, **kwargs) matplotlib.axes._axes.Axes [source]#
Plots all light curves in the collection on a single plot.
- Parameters
- ax
Axes
A matplotlib axes object to plot into. If no axes is provided, a new one will be created.
- offsetfloat
Offset to add to targets with different labels, to prevent light curves from being plotted on top of each other. For example, if the collection contains light curves with unique labels “A”, “B”, and “C”, light curves “A” will have
0*offset
added to their flux, light curves “B” will have1*offset
offset added, and “C” will have2*offset
added.- **kwargsdict
Dictionary of arguments to be passed to
LightCurve.plot
.
- ax
- Returns
- ax
Axes
The matplotlib axes object.
- ax