code: def _build_error_frame(msg):
      error_template = r"""
      <style>
      .center {{
          position: absolute;
          left: 50%;
          top: 50%;
          -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
      }}
      </style>
      <div class='center'><h1>{}</h1></div>
      """
      html_str = error_template.format(msg)
      return _build_base64_frame_src(html_str)
  
file_path: interpret/python/interpret-core/interpret/visual/_inline.py
imports: import os
  import time
  import uuid
  from plotly.io import to_json
  from plotly import graph_objs
  import sys
  import json
  import base64
  import logging
label_desc: Use image node_id 1 for calling a global function with example usage: _build_error_frame(msg) and returns: _build_base64_frame_src