code: def 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 lower side.
  
      Parameters
      ----------
      i,j,k: enumeration of the desired triangle
  
      Returns
      -------
      A numpy array of coordinates of the hexagon (unprojected)
      """
  
      return [(i, j, k), (i + 1, j, k - 1), (i, j + 1, k - 1)]
  
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 3 for calling a global function with example usage: triangle_coordinates(i, j, k) and returns: list