code: def _post_add_subscription(self, stream_vis, **stream_vis_args):
      stream_vis.trace_history, stream_vis.cur_history_index = [], None
      self._add_trace_with_history(stream_vis)
      self._setup_layout(stream_vis)
  
      if not self.widget.layout.title:
          self.widget.layout.title = stream_vis.title
      # TODO: better way for below?
      if stream_vis.history_len > 1:
          self.widget.layout.showlegend = False
  
file_path: tensorwatch/tensorwatch/plotly/base_plotly_plot.py
imports: from ..vis_base import VisBase
  import time
  from abc import abstractmethod
  from ..None import utils
label_desc: Use image node_id 7 for calling the BasePlotlyPlot obj's underlying member method code with example usage: obj._post_add_subscription(stream_vis) without return types