code: def _squash_plots_properties(data: List) -> Dict:
      configs = [last(group) for group in data]
      resolved: Dict = {}
      for config in reversed(configs):
          resolved = {**resolved, **config}
      return resolved
  
file_path: dvc/dvc/render/match.py
imports: import os
  from collections import defaultdict
  from typing import TYPE_CHECKING, DefaultDict, Dict, List, NamedTuple, Optional
  import dpath
  import dpath.options
  from funcy import get_in, last
  from dvc.log import logger
  from dvc.repo.plots import _normpath, infer_data_sources
  from dvc.utils.plots import group_definitions_by_id
  from .convert import _get_converter
label_desc: Use image node_id 1 for calling a global function with example usage: _squash_plots_properties(data) and returns: resolved