code: def __init__(self, cmap, zrange=(0.0, 1.0), fpos=3, vpos=9, **kwargs):
      super(ZColormapFilter, self).__init__(
          fcode=self.FRAG_SHADER,
          fpos=fpos,
          vcode=self.VERT_SHADER,
          vpos=vpos,
          **kwargs,
      )
  
      if isinstance(cmap, str):
          cmap = colormap.get_colormap(cmap)
      self.cmap = Function(cmap.glsl_map)
      self.fshader["cmap"] = self.cmap
      self.fshader["zrange"] = zrange
      self.vshader["zval"] = Varying("v_zval", dtype="float")
      self.fshader["zval"] = self.vshader["zval"]
  
imports: from .base_filter import Filter
  from ..shaders import Function, Varying
  from ...color import colormap, Color
label_desc: Use image node_id 1 to create a new ZColormapFilter object from inherited base classes: Filter with example: obj = ZColormapFilter(cmap, zrange, fpos, vpos)