class_docstr: Constructs visualizer for specified vis_type.
  
  NOTE: If you modify arguments here then also sync VisArgs contructor.
code: def __init__(
      self,
      stream: Stream,
      vis_type: str = None,
      host: "Visualizer" = None,
      cell: "Visualizer" = None,
      title: str = None,
      clear_after_end=False,
      clear_after_each=False,
      history_len=1,
      dim_history=True,
      opacity=None,
      rows=2,
      cols=5,
      img_width=None,
      img_height=None,
      img_channels=None,
      colormap=None,
      viz_img_scale=None,
      # these image params are for hover on point for t-sne
      hover_images=None,
      hover_image_reshape=None,
      cell_width: str = None,
      cell_height: str = None,
      only_summary=False,
      separate_yaxis=True,
      xtitle=None,
      ytitle=None,
      ztitle=None,
      color=None,
      xrange=None,
      yrange=None,
      zrange=None,
      draw_line=True,
      draw_marker=False,
      # histogram
      bins=None,
      normed=None,
      histtype="bar",
      edge_color=None,
      linewidth=None,
      bar_width=None,
      # pie chart
      autopct=None,
      shadow=None,
      vis_args={},
      stream_vis_args={},
  ) -> None:
      cell = cell._host_base.cell if cell is not None else None
  
      if host:
          self._host_base = host._host_base
      else:
          self._host_base = self._get_vis_base(
              vis_type,
              cell,
              title,
              hover_images=hover_images,
              hover_image_reshape=hover_image_reshape,
              cell_width=cell_width,
              cell_height=cell_height,
              **vis_args,
          )
  
      self._host_base.subscribe(
          stream,
          show=False,
          clear_after_end=clear_after_end,
          clear_after_each=clear_after_each,
          history_len=history_len,
          dim_history=dim_history,
          opacity=opacity,
          only_summary=only_summary
          if vis_type is None or "summary" != vis_type
          else True,
          separate_yaxis=separate_yaxis,
          xtitle=xtitle,
          ytitle=ytitle,
          ztitle=ztitle,
          color=color,
          xrange=xrange,
          yrange=yrange,
          zrange=zrange,
          draw_line=draw_line
          if vis_type is not None and "scatter" in vis_type
          else True,
          draw_marker=draw_marker,
          rows=rows,
          cols=cols,
          img_width=img_width,
          img_height=img_height,
          img_channels=img_channels,
          colormap=colormap,
          viz_img_scale=viz_img_scale,
          bins=bins,
          normed=normed,
          histtype=histtype,
          edge_color=edge_color,
          linewidth=linewidth,
          bar_width=bar_width,
          autopct=autopct,
          shadow=shadow,
          **stream_vis_args,
      )
  
      stream.load()
  
file_path: tensorwatch/tensorwatch/visualizer.py
imports: from .stream import Stream
  from .vis_base import VisBase
  from .None import mpl
  from .None import plotly
label_desc: Use image node_id 1 to create a new Visualizer object  with example: obj = Visualizer(stream, vis_type, host, cell, title, clear_after_end, clear_after_each, history_len, dim_history, opacity, rows, cols, img_width, img_height, img_channels, colormap, viz_img_scale, hover_images, hover_image_reshape, cell_width, cell_height, only_summary, separate_yaxis, xtitle, ytitle, ztitle, color, xrange, yrange, zrange, draw_line, draw_marker, bins, normed, histtype, edge_color, linewidth, bar_width, autopct, shadow, vis_args, stream_vis_args)