

def test_add_subset_auto_adds_data(self):
    subset = self.data.new_subset()
    self.client.add_layer(subset)
    assert self.layer_present(self.data)
    assert self.layer_present(subset)
    self.client.set_component(self.data.components[0])
    assert self.layer_drawn(self.data)

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