code: def create_image_plot(
      image_src,
      title,
      width=640,
      height=480,
      series=None,
      comment=None,
      layout_config=None,
  ):
      image_plot = {
          "data": [],
          "layout": {
              "xaxis": {"visible": False, "range": [0, width]},
              "yaxis": {
                  "visible": False,
                  "range": [0, height],
                  "scaleanchor": "x",
              },
              # "width": width,
              # "height": height,
              "margin": {"l": 0, "r": 0, "t": 64, "b": 0},
              "images": [
                  {
                      "sizex": width,
                      "sizey": height,
                      "xref": "x",
                      "yref": "y",
                      "opacity": 1.0,
                      "x": 0,
                      "y": height,
                      # "xanchor": "left",
                      # "yanchor": "bottom",
                      "sizing": "contain",
                      "layer": "below",
                      "source": image_src,
                  }
              ],
              "showlegend": False,
              "title": title
              if not comment
              else (title + "<br><sup>" + comment + "</sup>"),
              "name": series,
          },
      }
  
      if layout_config:
          image_plot["layout"] = merge_dicts(
              image_plot["layout"], layout_config
          )
  
      return image_plot
  
imports: import json
  import numpy
  from ..errors import UsageError
  from ..utilities.dicts import merge_dicts
  from attr import attrs, attrib
label_desc: Use image node_id 8 for calling a global function with example usage: create_image_plot(image_src, title, width, height, series, comment, layout_config) and returns: image_plot