class_docstr: Widget for ipython and jupyter notebooks.
  
  Shows where the live points are currently in parameter space.
docstr: Set up and display widget.
  
  Parameters
  ----------
  paramnames: list of str
      Parameter names
  width: int
      number of html table columns.
docstr_tok: ["Set","up","and","display","widget",".","Parameters","--","--","--","--","--","paramnames",":","list","of","str","Parameter","names","width",":","int","number","of","html","table","columns","."]
code: def initialize(self, paramnames, width):
      """Set up and display widget.
  
      Parameters
      ----------
      paramnames: list of str
          Parameter names
      width: int
          number of html table columns.
  
      """
      from ipywidgets import HTML, VBox, Layout, GridspecLayout
      from IPython.display import display
  
      grid = GridspecLayout(len(paramnames), width + 3)
      self.laststatus = []
      for a, paramname in enumerate(paramnames):
          self.laststatus.append("*" * width)
          htmlcode = (
              "<div style='background-color:#6E6BF4;'>&nbsp;</div>"
          )
          for b in range(width):
              grid[a, b + 2] = HTML(htmlcode, layout=Layout(margin="0"))
          htmlcode = "<div style='background-color:#FFB858; font-weight:bold; padding-right: 2em;'>%s</div>"
          grid[a, 0] = HTML(
              htmlcode % html_escape(paramname),
              layout=Layout(margin="0"),
          )
          grid[a, 1] = HTML("...", layout=Layout(margin="0"))
          grid[a, -1] = HTML("...", layout=Layout(margin="0"))
      self.grid = grid
  
      self.label = HTML()
      box = VBox(children=[self.label, grid])
      display(box)
  
file_path: ultranest/ultranest/viz.py
imports: from __future__ import print_function, division
  import sys
  import shutil
  from numpy import log10
  import numpy
  import string
  from xml.sax.saxutils import escape
label_desc: Use image node_id 2 for calling the LivePointsWidget obj's underlying member method code with example usage: obj.initialize(paramnames, width) without return types