code: def __init__(
      self,
      ax,
      x,
      opens,
      closes,
      volumes,
      colorup="k",
      colordown="r",
      edgeup=None,
      edgedown=None,
      edgeshading=-5,
      edgeadjust=0.05,
      width=1,
      alpha=1.0,
      **kwargs,
  ):
      # Manage the up/down colors
      r, g, b = mcolors.colorConverter.to_rgb(colorup)
      self.colorup = r, g, b, alpha
      r, g, b = mcolors.colorConverter.to_rgb(colordown)
      self.colordown = r, g, b, alpha
  
      # Prepare the edge colors
      if not edgeup:
          self.edgeup = shade_color(self.colorup, edgeshading)
      else:
          r, g, b = mcolors.colorConverter.to_rgb(edgeup)
          self.edgeup = r, g, b, alpha
  
      if not edgedown:
          self.edgedown = shade_color(self.colordown, edgeshading)
      else:
          r, g, b = mcolors.colorConverter.to_rgb(edgedown)
          self.edgedown = r, g, b, alpha
  
      corners = (0, 0), (len(closes), max(volumes))
      ax.update_datalim(corners)
      ax.autoscale_view()
  
      self.barcol = self.barcollection(
          x,
          opens,
          closes,
          volumes,
          width=width,
          edgeadjust=edgeadjust,
          **kwargs,
      )
  
      # add to axes
      ax.add_collection(self.barcol)
  
      # Add a legend handler for this object
      mlegend.Legend.update_default_handler_map({self.barcol: self})
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from ..utils.py3 import range, zip
  import matplotlib.collections
  import matplotlib.colors
  import matplotlib.legend
  import matplotlib.lines
  from .utils import shade_color
label_desc: Use image node_id 1 to create a new VolumePlotHandler object from inherited base classes: object with example: obj = VolumePlotHandler(ax, x, opens, closes, volumes, colorup, colordown, edgeup, edgedown, edgeshading, edgeadjust, width, alpha)