code: def init_stream_plot(
      self,
      stream_vis,
      autopct=None,
      colormap=None,
      color=None,
      shadow=None,
      **stream_vis_args,
  ):
      # add main subplot
      stream_vis.autopct, stream_vis.shadow = (
          autopct,
          True if shadow is None else shadow,
      )
      stream_vis.ax = self.get_main_axis()
      stream_vis.series = []
      stream_vis.wedge_artists = []  # stores previously drawn bars
  
      stream_vis.cmap = image_utils.get_cmap(name=colormap or "Dark2")
      if color is None:
          if not self.is_3d:
              color = stream_vis.cmap(
                  (len(self._stream_vises) % stream_vis.cmap.N)
                  / stream_vis.cmap.N
              )  # pylint: disable=no-member
      stream_vis.color = color
  
file_path: tensorwatch/tensorwatch/mpl/pie_chart.py
imports: from .base_mpl_plot import BaseMplPlot
  from ..None import image_utils
  from ..None import utils
  import numpy
label_desc: Use image node_id 1 for calling the PieChart obj's underlying member method code with example usage: obj.init_stream_plot(stream_vis, autopct, colormap, color, shadow) without return types