code: def plot_averaged_forecast(
      actual,
      predicted,
      first_column_act,
      last_column_act,
      first_column_pr,
      last_column_pr,
  ):
      """
      Function plot averaged forecasts and actual time series
  
      :param actual: time series with averaged actual values
      :param predicted: time series with averaged predicted values
      :param first_column_act: numpy array with actual first days
      :param last_column_act: numpy array with actual seventh days
      :param first_column_pr: numpy array with predicted first days
      :param last_column_pr: numpy array with predicted seventh days
      """
      plt.plot(actual, label="7-day moving average actual")
      plt.fill_between(
          range(0, len(actual)),
          first_column_act,
          last_column_act,
          alpha=0.4,
      )
      plt.plot(predicted, label="7-day moving average forecast")
      plt.fill_between(
          range(0, len(actual)),
          first_column_pr,
          last_column_pr,
          alpha=0.4,
      )
      plt.ylabel("River level, cm", fontsize=14)
      plt.xlabel("Time index", fontsize=14)
      plt.grid()
      plt.legend(fontsize=12)
      plt.show()
  
file_path: FEDOT/cases/multi_target_levels_forecasting.py
imports: import warnings
  import numpy
  from matplotlib import pyplot
  from sklearn.metrics import mean_absolute_error
  from fedot import Fedot
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.utils import fedot_project_root
label_desc: Use image node_id 1 for calling a global function with example usage: plot_averaged_forecast(actual, predicted, first_column_act, last_column_act, first_column_pr, last_column_pr) without return types