lightkurve.periodogram.Periodogram.plot

Periodogram.plot(scale='linear', ax=None, xlabel=None, ylabel=None, title='', style='lightkurve', view=None, unit=None, **kwargs)[source]

Plots the Periodogram.

Parameters
scale: str

Set x,y axis to be “linear” or “log”. Default is linear.

axAxes

A matplotlib axes object to plot into. If no axes is provided, a new one will be generated.

xlabelstr

Plot x axis label

ylabelstr

Plot y axis label

titlestr

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

viewstr

{‘frequency’, ‘period’}. Default ‘frequency’. If ‘frequency’, x-axis units will be frequency. If ‘period’, the x-axis units will be period and ‘log’ scale.

kwargsdict

Dictionary of arguments to be passed to matplotlib.pyplot.plot.

Returns
axAxes

The matplotlib axes object.