code: def alt_triangle_coordinates(i, j, k):
      """
      Computes coordinates of the constituent triangles of a triangulation for the
      simplex. These triangles are parallel to the lower axis on the upper side.
  
      Parameters
      ----------
      i,j,k: enumeration of the desired triangle
  
      Returns
      -------
      A numpy array of coordinates of the hexagon (unprojected)
      """
  
      return [
          (i, j + 1, k - 1),
          (i + 1, j, k - 1),
          (i + 1, j + 1, k - 2),
      ]
  
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 4 for calling a global function with example usage: alt_triangle_coordinates(i, j, k) and returns: list