code: def create_fractal(min_x, max_x, min_y, max_y, image, iters):
      height = image.shape[0]
      width = image.shape[1]
  
      pixel_size_x = (max_x - min_x) / width
      pixel_size_y = (max_y - min_y) / height
      for x in range(width):
          real = min_x + x * pixel_size_x
          for y in range(height):
              imag = min_y + y * pixel_size_y
              color = mandel(real, imag, iters)
              image[y, x] = color
  
      return image
  
file_path: holoviews/examples/gallery/apps/bokeh/mandelbrot.py
imports: import numpy
  import holoviews
  from holoviews import opts
  from holoviews.streams import RangeXY
  from numba import jit
label_desc: Use image node_id 2 for calling a global function with example usage: create_fractal(min_x, max_x, min_y, max_y, image, iters) and returns: image