Work around mpl 1.2.1 regression re bar log plot GH3298, GH3254

#3298, #3254

added tests and Tested visually on 1.2.0 and 1.2.1.