def select_fontsize(self, height, minsize=1, maxsize=12):
        if not self.heights:
            return maxsize if height > .01 else minsize

        from bisect import bisect_left

        i = bisect_left(self.heights, (height,))
        size = self.heights[1 - i][1] if i else minsize
        size = min(size, maxsize)
        return size
dataset/ETHPy150Open tanghaibao/jcvi/graphics/base.py/TextHandler.select_fontsize/swapped operands of `-`