reassesslib.plotting.plot_scatter

reassesslib.plotting.plot_scatter(x_values, y_values, labels, title='', x_label='', y_label='')

Create a scatter plot with different colors for different labels.

Parameters:
  • x_values (list or numpy.ndarray) – The X-axis values.

  • y_values (list or numpy.ndarray) – The Y-axis values.

  • labels (list) – The labels for each point to color the points.

  • title (str) – The plot title (optional).

  • x_label (str) – The X-axis label (optional).

  • y_label (str) – The Y-axis label (optional).

Returns:

None