docs: def view_overlaps(L, self_overlaps=False, normalize=True, colorbar=True):
      """Display an [m, m] matrix of overlaps"""
      L = L.todense() if sparse.issparse(L) else L
      G = _get_overlaps_matrix(L, normalize=normalize)
      if not self_overlaps:
          np.fill_diagonal(G, 0)  # Zero out self-overlaps
      plt.imshow(G, aspect="auto")
      plt.title("Overlaps")
      if colorbar:
          plt.colorbar()
      plt.show()