code: def horizontal_line(ax, scale, i, **kwargs):
      """
      Draws the i-th horizontal line parallel to the lower axis.
  
      Parameters
      ----------
      ax: Matplotlib AxesSubplot
          The subplot to draw on.
      scale: float, 1.0
          Simplex scale size.
      i: float
          The index of the line to draw
      kwargs: Dictionary
          Any kwargs to pass through to Matplotlib.
      """
  
      p1 = (0, i, scale - i)
      p2 = (scale - i, i, 0)
      line(ax, p1, p2, **kwargs)
  
file_path: python-ternary/ternary/lines.py
imports: from numpy import arange
  from matplotlib.lines import Line2D
  from .helpers import project_point
label_desc: Use image node_id 2 for calling a global function with example usage: horizontal_line(ax, scale, i) without return types