'The color should be the same after a full recompute of the tree.'

def test_keep_colors_on_sizing_change(self):

    self.send_signal('Random    forest', self.titanic)
    colors = []
    tree_index = self.widget.grid_items.index(random.choice(self.get_grid_items()))
    def _callback():
        colors.append([sq.brush().color() for sq in self._get_visible_squares(self.get_tree_widgets()[tree_index])])
    simulate.combobox_run_through_all(self.widget.ui_size_calc_combo, callback=_callback)
    colors_same = [self._check_all_same(x) for x in zip(*colors)]
    self.assertTrue(all(colors_same))
