code: def draw(self, *args, **kwargs):
      plt.plot(self.X, self.Y, "r.", label="Ground truth")
      plt.plot(
          self.X, self.predict(self.model, self.X), "-", label="Model"
      )
      plt.title("Prediction")
      plt.legend(loc="lower right")
  
imports: import matplotlib.pyplot
  import numpy
  from matplotlib.colors import ListedColormap
label_desc: Use image node_id 3 for calling the Plot1D obj's underlying member method code with example usage: obj.draw() without return types