code: def iframe():
      """Embed a map as an iframe on a page."""
      m = folium.Map()
  
      # set the iframe width and height
      m.get_root().width = "800px"
      m.get_root().height = "600px"
      iframe = m.get_root()._repr_html_()
  
      return render_template_string(
          """
              <!DOCTYPE html>
              <html>
                  <head></head>
                  <body>
                      <h1>Using an iframe</h1>
                      {{ iframe|safe }}
                  </body>
              </html>
          """,
          iframe=iframe,
      )
  
imports: from flask import Flask, render_template_string
  import folium
label_desc: Use image node_id 2 for calling a global function with example usage: iframe() and returns: render_template_string