

def test_set_nbins(self):
    self.client.add_layer(self.data)
    self.client.set_component(self.data.components[0])
    a.client.nbins = 100
    for a in self.client._artists[self.data]:
        assert (a.nbins == 100)
        assert (a.x.size == (100 + 1))

dataset/ETHPy150Open glue-viz/glue/glue/viewers/histogram/tests/test_client.py TestHistogramClient.test_set_nbins/VarMisuse@37/42 `self`->`a`