code: def test_default_scale_no_repeat_colors():
      num_rows = 20
      ht = hl.utils.range_table(num_rows)
      fig = (
          ggplot(ht, aes(x=ht.idx, y=ht.idx, color=hl.str(ht.idx)))
          + geom_point()
      )
      pfig = fig.to_plotly()
  
      scatter_colors = [
          scatter["marker"]["color"] for scatter in pfig["data"]
      ]
      num_unique_colors = len(set(scatter_colors))
      assert num_unique_colors == num_rows
  
file_path: hail/hail/python/test/hail/ggplot/test_ggplot.py
imports: import hail
  from hail.ggplot import *
  import numpy
  import math
label_desc: Use image node_id 6 for calling a global function with example usage: test_default_scale_no_repeat_colors() without return types