simplified logic related to bottom=None and log in `bar`