code: def generate_hexagon_deltas():
      """
      Generates a dictionary of the necessary additive vectors to generate the
      hexagon points for the hexagonal heatmap.
      """
  
      zero = np.array([0, 0, 0])
      alpha = np.array([-1.0 / 3, 2.0 / 3, 0])
      deltaup = np.array([1.0 / 3, 1.0 / 3, 0])
      deltadown = np.array([2.0 / 3, -1.0 / 3, 0])
      i_vec = np.array([0, 1.0 / 2, -1.0 / 2])
      i_vec_down = np.array([1.0 / 2, -1.0 / 2, 0])
      deltaX_vec = np.array([1.0 / 2, 0, -1.0 / 2])
  
      d = dict()
      # Corner Points
      d["100"] = [zero, -deltaX_vec, -deltadown, -i_vec_down]
      d["010"] = [zero, i_vec_down, -alpha, -i_vec]
      d["001"] = [zero, i_vec, deltaup, deltaX_vec]
      # On the Edges
      d["011"] = [i_vec, deltaup, deltadown, -alpha, -i_vec]
      d["101"] = [-deltaX_vec, -deltadown, alpha, deltaup, deltaX_vec]
      d["110"] = [i_vec_down, -alpha, -deltaup, -deltadown, -i_vec_down]
      # Interior point
      d["111"] = [
          alpha,
          deltaup,
          deltadown,
          -alpha,
          -deltaup,
          -deltadown,
      ]
  
      return d
  
file_path: python-ternary/ternary/heatmapping.py
imports: import functools
  import numpy
  from matplotlib import pyplot
  from .helpers import unzip, normalize, simplex_iterator, permute_point, project_point
  from .colormapping import get_cmap, colormapper, colorbar_hack
label_desc: Use image node_id 5 for calling a global function with example usage: generate_hexagon_deltas() and returns: d