code: def line(ax, p1, p2, permutation=None, **kwargs):
      
  
      pp1 = project_point(p1, permutation=permutation)
      pp2 = project_point(p2, permutation=permutation)
      ax.add_line(Line2D((pp1[0], pp2[0]), (pp1[1], pp2[1]), **kwargs))
docs: Draws a line on `ax` from p1 to p2.
  
      Parameters
      ----------
      ax: Matplotlib AxesSubplot, None
          The subplot to draw on.
      p1: 2-tuple
          The (x,y) starting coordinates
      p2: 2-tuple
          The (x,y) ending coordinates
      kwargs:
          Any kwargs to pass through to Matplotlib.