code: def init_stream_plot(
      self,
      stream_vis,
      xtitle="",
      ytitle="",
      ztitle="",
      colormap=None,
      color=None,
      edge_color=None,
      linewidth=None,
      align=None,
      bar_width=None,
      opacity=None,
      **stream_vis_args,
  ):
      # add main subplot
      stream_vis.align, stream_vis.linewidth = align, (linewidth or 2)
      stream_vis.bar_width = bar_width or 1
      stream_vis.ax = self.get_main_axis()
      stream_vis.series = {}
      stream_vis.bars_artists = []  # stores previously drawn bars
  
      stream_vis.cmap = image_utils.get_cmap(colormap or "Set3")
      if color is None:
          if not self.is_3d:
              stream_vis.cmap(
                  (len(self._stream_vises) % stream_vis.cmap.N)
                  / stream_vis.cmap.N
              )  # pylint: disable=no-member
      stream_vis.color = color
      stream_vis.edge_color = "black"
      stream_vis.opacity = opacity
      stream_vis.ax.set_xlabel(xtitle)
      stream_vis.ax.xaxis.label.set_style("italic")
      stream_vis.ax.set_ylabel(ytitle)
      stream_vis.ax.yaxis.label.set_color(color)
      stream_vis.ax.yaxis.label.set_style("italic")
      if self.is_3d:
          stream_vis.ax.set_zlabel(ztitle)
          stream_vis.ax.zaxis.label.set_style("italic")
  
file_path: tensorwatch/tensorwatch/mpl/bar_plot.py
imports: from .base_mpl_plot import BaseMplPlot
  from ..None import utils
  from ..None import image_utils
  import numpy
  from itertools import groupby
  import operator
label_desc: Use image node_id 1 for calling the BarPlot obj's underlying member method code with example usage: obj.init_stream_plot(stream_vis, xtitle, ytitle, ztitle, colormap, color, edge_color, linewidth, align, bar_width, opacity) without return types