rfwtools.visualize.scatterplot.scatterplot

rfwtools.visualize.scatterplot.scatterplot(data, x, y, title=None, figsize=None, drop_categories=True, **kwargs)[source]

Creates/displays a single standard scatterplot. Has extended marker set by default and external legend.

Parameters:
  • data (DataFrame) – A pandas DataFrame containing the data used in the scatter plot

  • x (str) – The column name of df that holds the x values of the scatterplot

  • y (str) – The column name of df that holds the y values of the scatterplot

  • title (Optional[str]) – Title applied to plot (if not None)

  • figsize (Optional[Tuple[float, float]]) – The two dimensions of the size of the figure. Passed to plt.figure.

  • drop_categories (bool) – Should unused categories be dropped from the hue and style columns (if categories)

  • **kwargs – All remaining named parameters are passed to seaborn.scatterplot

Return type:

None