def test_set_xlimits_out_of_data_range(self):
        self.client.add_layer(self.data)
        self.client.set_component(self.data.components[0])

        self.client.xlimits = 100, 200
        self.client.xlimits = -200, -100
Setting xlimits outside of range shouldn't crash
dataset/ETHPy150Open glue-viz/glue/glue/viewers/histogram/tests/test_client.py/TestHistogramClient.test_set_xlimits_out_of_data_range