lightkurve.LightCurve.errorbar#
- LightCurve.errorbar(linestyle='', **kwargs) matplotlib.axes._axes.Axes [source]#
Plots the light curve using Matplotlib’s
errorbar
method.- Parameters
- linestylestr
Connect the error bars using a line?
- columnstr
Name of data column to plot. Default
flux
.- ax
Axes
A matplotlib axes object to plot into. If no axes is provided, a new one will be generated.
- normalizebool
Normalize the lightcurve before plotting?
- xlabelstr
X axis label.
- ylabelstr
Y axis label.
- titlestr
Title shown at the top using matplotlib
set_title
.- stylestr
Path or URL to a matplotlib style file, or name of one of matplotlib’s built-in stylesheets (e.g. ‘ggplot’). Lightkurve’s custom stylesheet is used by default.
- show_colorbarboolean
Show the colorbar if colors are given using the
c
argument?- colorbar_labelstr
Label to show next to the colorbar (if
c
is given).- offsetfloat
Offset value to apply to the Y axis values before plotting. Use this to avoid light curves from overlapping on the same plot. By default, no offset is applied.
- kwargsdict
Dictionary of arguments to be passed to
matplotlib.pyplot.errorbar
.
- Returns
- ax
Axes
The matplotlib axes object.
- ax