class_docstr: NOTE: Removed figsize and dynamix_x_axis.
class_docstr_tok: ["NOTE",":","Removed","figsize","and","dynamix_x_axis","."]
docstr: Args:
      ax: matplotlib Axes
      group_logs: list of log items per each group name
      group_name: group name
      x_label: label for the x axis
docstr_tok: ["Args",":","ax",":","matplotlib","Axes","group_logs",":","list","of","log","items","per","each","group","name","group_name",":","group","name","x_label",":","label","for","the","x","axis"]
code: def _draw_metric_subplot(
      self,
      ax: plt.Axes,
      group_logs: Dict[str, List[LogItem]],
      group_name: str,
      x_label: str,
  ):
      """
      Args:
          ax: matplotlib Axes
          group_logs: list of log items per each group name
          group_name: group name
          x_label: label for the x axis
      """
      # There used to be skip first part, but I skip it first
      if self.max_epoch is not None:
          ax.set_xlim(0, self.max_epoch)
  
      for name, logs in group_logs.items():
          if len(logs) > 0:
              xs = [log.step for log in logs]
              ys = [log.value for log in logs]
              ax.plot(xs, ys, label=name)
  
      self._after_subplot(ax, group_name, x_label)
  
file_path: livelossplot/livelossplot/outputs/matplotlib_plot.py
imports: import math
  from typing import Tuple, List, Dict, Optional, Callable
  import warnings
  import numpy
  import matplotlib
  import matplotlib.pyplot
  from IPython.display import clear_output
  from livelossplot.main_logger import MainLogger, LogItem
  from livelossplot.outputs.base_output import BaseOutput
label_desc: Use image node_id 6 for calling the MatplotlibPlot obj's underlying member method code with example usage: obj._draw_metric_subplot(ax, group_logs, group_name, x_label) without return types