

def layer_drawn(self, layer):
    return ((layer in self.client._artists) and all((a.visible for a in self.client._artists[layer])) and all(((len(a.artists) > 0) for a in self.client._artists[layer])))

dataset/ETHPy150Open glue-viz/glue/glue/viewers/histogram/tests/test_client.py TestHistogramClient.layer_drawn/original