code: def plot_figures(self, prev_subplot_map=None):
      subplot_map = {}
      for idx, (environment, full_file_path) in enumerate(
          self.environments
      ):
          environment = (
              environment.split("level")[1]
              .split("-")[1]
              .split("Deterministic")[0][1:]
          )
          if prev_subplot_map:
              # skip on environments which were not plotted before
              if environment not in prev_subplot_map.keys():
                  continue
              subplot_idx = prev_subplot_map[environment]
          else:
              subplot_idx = idx + 1
          print(environment)
          axis = plt.subplot(self.rows, self.cols, subplot_idx)
          subplot_map[environment] = subplot_idx
          signals = SignalsFile(full_file_path)
          signals.change_averaging_window(
              self.smoothness, force=True, signals=[self.signal_to_plot]
          )
          steps = signals.bokeh_source.data[self.x_axis]
          rewards = signals.bokeh_source.data[self.signal_to_plot]
  
          yloc = plt.MaxNLocator(4)
          axis.yaxis.set_major_locator(yloc)
          axis.ticklabel_format(style="sci", axis="x", scilimits=(0, 0))
          plt.title(environment, fontsize=10, y=1.08)
          plt.plot(steps, rewards, self.color, linewidth=0.8)
          plt.subplots_adjust(hspace=2.0, wspace=0.4)
  
      return subplot_map
  
file_path: coach/rl_coach/plot_atari.py
imports: import argparse
  import os
  import matplotlib
  import matplotlib.pyplot
  from rl_coach.dashboard_components.signals_file import SignalsFile
label_desc: Use image node_id 4 for calling the FigureMaker obj's underlying member method code with example usage: obj.plot_figures(prev_subplot_map) and returns: subplot_map