scatter
- comparison_scatter(ax: Axes, x: ndarray, y: ndarray, **scatter_kwargs) PathCollection[source]
Scatter plot with diagonal line behind it. Shuffles the data to avoid overplotting.
- Parameters:
ax (
plt.Axes) – Axes object to plot onx (
np.ndarray) – x valuesy (
np.ndarray) – y values**scatter_kwargs – Keyword arguments for the scatter plot. Defaults to marker=’.’, s=1.
- Returns:
The PathCollection of the scatter plot.
- Return type:
PathCollection