

def setup_hist_scale_counter(self):
    self.setup_subset()
    m = MagicMock()
    m.artist._scale_histogram = m
    self.artist._calculate_histogram = MagicMock()
    return m

dataset/ETHPy150Open glue-viz/glue/glue/viewers/histogram/tests/test_client.py TestHistogramLayerArtist.setup_hist_scale_counter/VarMisuse@22/28 `self`->`m`