re-added lines to make sure that `bottom` and `left` are not None in
the case of `log=True`.  If this is not done, there will be type
exceptions.

Issue #1882
simplified logic related to bottom=None and log in `bar`
Merge pull request #1889 from tacaswell/log_bar_regression

Fixed handling of `bar(.., bottom=None, log=True)`