code: def render_for_colab(html_str, iframe_height):
      from IPython.display import HTML, Javascript  # noqa
  
      js_height_snippet = f"google.colab.output.setIframeHeight({iframe_height}, true, {{minHeight: {iframe_height}}})"
      display(Javascript(js_height_snippet))  # noqa
      display(HTML(html_str))
  
file_path: deck.gl/bindings/pydeck/pydeck/io/html.py
imports: import html
  import os
  from os.path import realpath, join, dirname
  import sys
  import time
  import warnings
  import webbrowser
  import jinja2
  from ..frontend_semver import DECKGL_SEMVER
label_desc: Use image node_id 7 for calling a global function with example usage: render_for_colab(html_str, iframe_height) without return types