solarwindpy.plotting.scatter.Scatterο
- class Scatter(x, y, z=None, clip_data=False)[source]ο
Bases:
PlotWithZdata,CbarMakerCreate a scatter plot.
Notes
- __init__(x, y, z=None, clip_data=False)[source]ο
Initialize scatter plot data.
- Parameters:
x (pd.Series) β Data defining (x, y) coordinates.
y (pd.Series) β Data defining (x, y) coordinates.
z (pd.Series, optional) β If not None, used to specify the color for each point.
clip_data (bool) β If True, remove extreme values at the 0.001 and 0.999 percentitles.
- make_plot(ax=None, cbar=True, cbar_kwargs=None, **kwargs)[source]ο
Make a scatter plot on ax using ax.scatter.
- property clipο
- property dataο
- property labelsο
- property logο
- property loggerο
- property pathο
Path for saving figure.
- set_data(x, y, z=None, clip_data=False)ο
- 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.