        if padding is not None:
            print('padding=', padding)
            p.min_border_top = padding[0]
            p.min_border_bottom = padding[1]
            p.min_border_left = padding[1]
            p.min_border_right = padding[2]

