def contains(self, x, y):
        obj1, obj2 = self.objects
        return obj2.contains(x, y) and numpy.logical_not(obj1.contains(x, y))
Containment test.
dataset/ETHPy150Open ejeschke/ginga/ginga/canvas/types/astro.py/AnnulusMixin.contains