code: def init_graph(self, datum, options, index=0, is_geo=False, **kwargs):
      if is_geo:
          trace = {
              "type": "scattermapbox",
              "mode": "lines",
              "showlegend": False,
              "hoverinfo": "skip",
          }
          trace.update(datum, **options)
  
          # Turn on self fill if a fillcolor is specified
          if options.get("fillcolor", None):
              trace["fill"] = "toself"
  
          return dict(traces=[trace])
      else:
          shape = dict(type=self._shape_type, **dict(datum, **options))
          return dict(shapes=[shape])
  
imports: import numpy
  import param
  from ...element import HLine, HSpan, Tiles, VLine, VSpan
  from ..mixins import GeomMixin
  from .element import ElementPlot
label_desc: Use image node_id 1 for calling the ShapePlot obj's underlying member method code with example usage: obj.init_graph(datum, options, index, is_geo) and returns: dict, dict