def test_change_default_bins(self):
        self.client.add_layer(self.data)
        self.client.set_component(self.data.id['x'])
        assert self.client.nbins == 6
dataset/ETHPy150Open glue-viz/glue/glue/viewers/histogram/tests/test_client.py/TestCategoricalHistogram.test_change_default_bins/original