

def setup_method(self, method):
    self.data = Data(x=[1, 2, 3, 2, 2, 3, 1])
    figure = MagicMock()
    self.collect = DataCollection()
    self.client = HistogramClient(self.collect, figure)
    self.axes = method.client.axes
    self.hub = self.collect.hub
    self.connect()

dataset/ETHPy150Open glue-viz/glue/glue/viewers/histogram/tests/test_client.py TestCommunication.setup_method/VarMisuse@68/73 `self`->`method`