

def test_update_subset_ignored_if_not_present(self):
    self.collect.append(self.data)
    self.client.add_layer(self.data)
    sub = self.data.new_subset()
    self.client.remove_layer(self)
    ct0 = self.draw_count()
    sub.style.color = 'blue'
    assert (self.draw_count() == ct0)

dataset/ETHPy150Open glue-viz/glue/glue/viewers/histogram/tests/test_client.py TestCommunication.test_update_subset_ignored_if_not_present/VarMisuse@48/58 `sub`->`self`