

def setup_subset(self):
    ax = MagicMock()
    d = Data(x=[1, 2, 3])
    s = d.new_subset()
    s.subset_state = (self.id['x'] > 1)
    self.artist = HistogramLayerArtist(s, ax)

dataset/ETHPy150Open glue-viz/glue/glue/viewers/histogram/tests/test_client.py TestHistogramLayerArtist.setup_subset/VarMisuse@44/49 `d`->`self`