class_docstr: Utility class for managing a cache of ChainTransforms.
  
  This is an LRU cache; items are removed if they are not accessed after
  *max_age* calls to roll().
  
  Notes
  -----
  This class is used by SceneCanvas to ensure that ChainTransform instances
  are re-used across calls to draw_visual(). SceneCanvas creates one
  TransformCache instance for each top-level visual drawn, and calls
  roll() on each cache before drawing, which removes from the cache any
  transforms that were not accessed during the last draw cycle.
docstr: Get a transform from the cache that maps along *path*, which must
  be a list of Transforms to apply in reverse order (last transform is
  applied first).
  
  Accessed items have their age reset to 0.
docstr_tok: ["Get","a","transform","from","the","cache","that","maps","along","*","path","*",",","which","must","be","a","list","of","Transforms","to","apply","in","reverse","order","(","last","transform","is","applied","first",")",".","Accessed","items","have","their","age","reset","to","0","."]
code: def get(self, path):
      """Get a transform from the cache that maps along *path*, which must
      be a list of Transforms to apply in reverse order (last transform is
      applied first).
  
      Accessed items have their age reset to 0.
      """
      key = tuple(map(id, path))
      item = self._cache.get(key, None)
      if item is None:
          logger.debug("Transform cache miss: %s", key)
          item = [0, self._create(path)]
          self._cache[key] = item
      item[0] = 0  # reset age for this item
  
      # make sure the chain is up to date
      # tr = item[1]
      # for i, node in enumerate(path[1:]):
      #    if tr.transforms[i] is not node.transform:
      #        tr[i] = node.transform
  
      return item[1]
  
file_path: vispy/vispy/visuals/transforms/_util.py
imports: from __future__ import division
  import functools
  import numpy
  from ...util import logger
  from functools import wraps
label_desc: Use image node_id 2 for calling the TransformCache obj's underlying member method code with example usage: obj.get(path) and returns: item