def get_cache(self, viewer):
        if viewer in self._cache:
            cache = self._cache[viewer]
        else:
            cache = self._reset_cache(Bunch.Bunch())
            self._cache[viewer] = cache
        return cache
dataset/ETHPy150Open ejeschke/ginga/ginga/canvas/types/image.py/Image.get_cache/original