def assert_autoscaled(self):
        yra = self.client.axes.get_ylim()
        datara = [99999, -99999]
        for a in self.client._artists:
            if a.y.size != 0:
                datara[0] = min(datara[0], a.y.min())
                datara[1] = max(datara[1], a.y.max())

        assert yra[0] <= datara[0]
        assert yra[1] >= datara[1]
dataset/ETHPy150Open glue-viz/glue/glue/viewers/histogram/tests/test_client.py/TestHistogramClient.assert_autoscaled/operator `>` -> `!=`