code: def scatter_single(ax, Y, *args, **kwargs):
      
      if 's' not in kwargs:
          kwargs['s'] = 2 if Y.shape[0] > 500 else 10
      if 'edgecolors' not in kwargs:
          kwargs['edgecolors'] = 'face'
      ax.scatter(Y[:, 0], Y[:, 1], **kwargs, rasterized=settings._vector_friendly)
      ax.set_xticks([])
      ax.set_yticks([])
docs: Plot scatter plot of data.
  
      Parameters
      ----------
      ax : matplotlib.axis
          Axis to plot on.
      Y : np.array
          Data array, data to be plotted needs to be in the first two columns.