code: def draw_plot(self, metrics, labels=None, ylabel=""):
          
          metrics = metrics if isinstance(metrics, list) else [metrics]
          # Loop through metrics
          title = ""
          for i, m in enumerate(metrics):
              label = labels[i] if labels else m.name
              # TODO: use a standard formating function for values
              title += ("   " if title else "") + "{}: {}".format(label, m.data[-1])
              self.ax.plot(m.formatted_steps, m.data, label=label)
          self.ax.set_title(title)
          self.ax.set_ylabel(ylabel)
          self.ax.legend()
          self.ax.set_xlabel("Steps")
          self.ax.xaxis.set_major_locator(plt.AutoLocator())
docs: metrics: One or more metrics parameters. Each represents the history
              of one metric.