code: def plotly_scatter3d_layout_dict(
      title="Scatter",
      xaxis_title="X",
      yaxis_title="Y",
      zaxis_title="Z",
      series=None,
      show_legend=True,
      comment=None,
      layout_config=None,
  ):
      plotly_object = {
          "data": [],
          "layout": {
              "showlegend": show_legend,
              "title": title
              if not comment
              else (title + "<br><sup>" + comment + "</sup>"),
              "scene": {
                  "xaxis": {"title": xaxis_title},
                  "yaxis": {"title": yaxis_title},
                  "zaxis": {"title": zaxis_title},
              },
              "name": series,
          },
      }
  
      if layout_config:
          plotly_object["layout"] = merge_dicts(
              plotly_object["layout"], layout_config
          )
  
      return plotly_object
  
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 13 for calling a global function with example usage: plotly_scatter3d_layout_dict(title, xaxis_title, yaxis_title, zaxis_title, series, show_legend, comment, layout_config) and returns: plotly_object