code: def _create_trace(self, stream_vis):
      stream_vis.separate_yaxis = stream_vis.stream_vis_args.get(
          "separate_yaxis", True
      )
      stream_vis.xtitle = stream_vis.stream_vis_args.get("xtitle", None)
      stream_vis.ytitle = stream_vis.stream_vis_args.get("ytitle", None)
      stream_vis.ztitle = stream_vis.stream_vis_args.get("ztitle", None)
      stream_vis.color = stream_vis.stream_vis_args.get("color", None)
      stream_vis.xrange = stream_vis.stream_vis_args.get("xrange", None)
      stream_vis.yrange = stream_vis.stream_vis_args.get("yrange", None)
      stream_vis.zrange = stream_vis.stream_vis_args.get("zrange", None)
      draw_line = stream_vis.stream_vis_args.get("draw_line", True)
      draw_marker = stream_vis.stream_vis_args.get("draw_marker", True)
      draw_marker_text = stream_vis.stream_vis_args.get(
          "draw_marker_text", False
      )
      hoverinfo = stream_vis.stream_vis_args.get("hoverinfo", None)
      marker = stream_vis.stream_vis_args.get("marker", {})
      line = stream_vis.stream_vis_args.get("line", {})
      utils.set_default(
          line,
          "color",
          stream_vis.color
          or BasePlotlyPlot.get_pallet_color(stream_vis.index),
      )
  
      mode = "lines" if draw_line else ""
      if draw_marker:
          mode = ("" if mode == "" else mode + "+") + "markers"
      if draw_marker_text:
          mode = ("" if mode == "" else mode + "+") + "text"
  
      if self.is_3d:
          return self._create_3d_trace(
              stream_vis, mode, hoverinfo, marker, line
          )
      else:
          return self._create_2d_trace(
              stream_vis, mode, hoverinfo, marker, line
          )
  
file_path: tensorwatch/tensorwatch/plotly/line_plot.py
imports: from .base_plotly_plot import BasePlotlyPlot
  from ..lv_types import EventData
  from ..None import utils
label_desc: Use image node_id 4 for calling the LinePlot obj's underlying member method code with example usage: obj._create_trace(stream_vis) and returns: self, self