code: def _format_html_base(self, html_base):
      height = self.scatterplot_structure._height_in_pixels
      (
          cellheight,
          cellheightshort,
      ) = cell_height_and_cell_height_short_from_height(height)
      return (
          html_base.replace(
              "{width}",
              str(self.scatterplot_structure._width_in_pixels),
          )
          .replace("{height}", str(height))
          .replace("{cellheight}", str(cellheight))
          .replace("{cellheightshort}", str(cellheightshort))
      )
  
imports: import pkgutil
  from typing import Tuple
  from scattertext.Common import DEFAULT_D3_URL, DEFAULT_D3_SCALE_CHROMATIC, DEFAULT_HTML_VIZ_FILE_NAME, AUTOCOMPLETE_CSS_FILE_NAME, SEARCH_FORM_FILE_NAME
  from scattertext.viz.ScatterplotStructure import InvalidProtocolException
label_desc: Use image node_id 3 for calling the BasicHTMLFromScatterplotStructure obj's underlying member method code with example usage: obj._format_html_base(html_base) and returns: html_base