code: def curve_constructor(curve):
      
      if NO_IMAGES:
          return
  
      ax = curve.plot(256)
      line = ax.lines[0]
      nodes = curve._nodes
      ax.plot(
          nodes[0, :], nodes[1, :], color="black", linestyle="None", marker="o"
      )
      add_patch(ax, nodes, line.get_color())
      ax.axis("scaled")
      ax.set_xlim(-0.125, 1.125)
      ax.set_ylim(-0.0625, 0.5625)
      save_image(ax.figure, "curve_constructor.png")
docs: Image for :class`.Curve` docstring.