solarwindpy.solar_activity.plots.SSNPlot

class SSNPlot(indicator, **kwargs)[source]

Bases: IndicatorPlot

Plotter specialised for sunspot number.

__init__(indicator, **kwargs)[source]
property clip
property data
property indicator
property labels
property log
property logger
make_plot(ax=None)
property path

Path for saving figure.

property plasma_index
property plot_data
set_data(indicator, ykey, plasma_index)
set_labels(**kwargs)

Set or update x, y, or z labels. Any label not specified in kwargs.

is propagated from self.labels.<x, y, or z>.

set_log(x=None, y=None)
set_path(new, add_scale=True)

Build the plot save path.

Parameters:
  • new (str or Path) – If str and == β€œauto”, then build path from self.labels. Otherwise, assume parameter specifies the desired path and use Path(new).

  • add_scale (bool) – If True, add information about the axis scales to the end of the path.

property ykey