code: def test_scale_color_manual():
      num_rows = 4
      colors = set(["red", "blue"])
      ht = hl.utils.range_table(num_rows)
      fig = (
          ggplot(ht, aes(x=ht.idx, y=ht.idx, color=hl.str(ht.idx % 2)))
          + geom_point()
          + scale_color_manual(values=list(colors))
      )
      pfig = fig.to_plotly()
  
      assert (
          set([scatter.marker.color for scatter in pfig.data]) == colors
      )
  
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 7 for calling a global function with example usage: test_scale_color_manual() without return types