code: def _histplot_bins(column, bins=100):
      
      col_min = np.min(column)
      col_max = np.max(column)
      return range(col_min, col_max + 2, max((col_max - col_min) // bins, 1))
docs: Helper to get bins for histplot.