code: def newton_refine2(s_vals, curve1, curve2):
      
      if NO_IMAGES:
          return
  
      ax = curve1.plot(256)
      ax.lines[-1].zorder = 1
      curve2.plot(256, ax=ax)
      ax.lines[-1].zorder = 1
      points = curve1.evaluate_multi(np.asfortranarray(s_vals))
      colors = seaborn.dark_palette("blue", 5)
      ax.scatter(
          points[0, :], points[1, :], c=colors, s=20, alpha=0.75, zorder=2
      )
      ax.axis("scaled")
      ax.set_xlim(0.0, 1.0)
      ax.set_ylim(0.0, 1.0)
      save_image(ax.figure, "newton_refine2.png")
docs: Image for :func:`.newton_refine` docstring.