

def test_tick_labels(self):
    self.client.add_layer(self.data)
    self.client.set_component(self.data.id['x'])
    correct_labels = ['a', 'b', 'c', 'd', 'e', 'f']
    formatter = self.client.axes.xaxis.get_major_formatter()
    xlabels = [formatter.format_data(correct_labels) for pos in range(6)]
    assert (correct_labels == xlabels)

dataset/ETHPy150Open glue-viz/glue/glue/viewers/histogram/tests/test_client.py TestCategoricalHistogram.test_tick_labels/VarMisuse@74/99 `pos`->`correct_labels`