lightkurve.LightCurve.scatter#

LightCurve.scatter(colorbar_label='', show_colorbar=True, **kwargs) matplotlib.axes._axes.Axes[source]#

Plots the light curve using Matplotlib’s scatter method.

Parameters
columnstr

Name of data column to plot. Default flux.

axAxes

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.scatter.

Returns
axAxes

The matplotlib axes object.