code: def curve_locate(curve, point1, point2, point3):
      
      if NO_IMAGES:
          return
  
      ax = curve.plot(256)
      points = np.hstack([point1, point2, point3])
      ax.plot(
          points[0, :], points[1, :], color="black", linestyle="None", marker="o"
      )
      ax.axis("scaled")
      ax.set_xlim(-0.8125, 0.0625)
      ax.set_ylim(0.75, 2.0625)
      save_image(ax.figure, "curve_locate.png")
docs: Image for :meth`.Curve.locate` docstring.