def prune(self, threshold):
        return self._merge_by_size(threshold)
Prune the tree by recursively merging small leaf nodes into larger
dataset/ETHPy150Open CoAxLab/DeBaCl/debacl/level_set_tree.py/LevelSetTree.prune