code: def _plotly_scatter_layout_dict(
      title="Scatter",
      xaxis_title="X",
      yaxis_title="Y",
      series=None,
      comment=None,
  ):
      return {
          "data": [],
          "layout": {
              "title": title
              if not comment
              else (title + "<br><sup>" + comment + "</sup>"),
              "xaxis": {
                  "title": xaxis_title,
                  "showspikes": True,
                  "spikethickness": 1,
                  "spikesnap": "cursor",
                  "spikemode": "toaxis+across",
              },
              "yaxis": {
                  "title": yaxis_title,
                  "showspikes": True,
                  "spikethickness": 1,
                  "spikesnap": "cursor",
                  "spikemode": "toaxis+across",
              },
              "name": series,
          },
      }
  
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 12 for calling a global function with example usage: _plotly_scatter_layout_dict(title, xaxis_title, yaxis_title, series, comment) and returns: dict