docs: def finalize(self, **kwargs):
          """
          Add the title, legend, and other visual final touches to the plot.
          """
  
          # Set the title of the figure
          self.set_title('Cross Validation Scores for {}'.format(self.name))
  
          # Add the legend
          loc = kwargs.pop("loc", "best")
          edgecolor = kwargs.pop("edgecolor", "k")
          self.ax.legend(frameon=True, loc=loc, edgecolor=edgecolor)
  
          # set spacing between the x ticks
          self.ax.xaxis.set_major_locator(ticker.MultipleLocator(1))
  
          # Set the axis labels
          self.ax.set_xlabel('Training Instances')
          self.ax.set_ylabel('Score')