code: def highlight_selection(
      self,
      activations,
      text,
      file_="resources/data/highlight.html",
      n=10,
  ):
      ix = numpy.random.default_rng().choice(
          activations.shape[1], size=n
      )
  
      rendered = ""
  
      for i in ix:
          rendered += self.highlight(activations[:, i], text)
  
      with open(file_, "w") as f:
          f.write(rendered)
  
imports: import numpy
label_desc: Use image node_id 3 for calling the Highlighter obj's underlying member method code with example usage: obj.highlight_selection(activations, text, file_, n) without return types