Modified test_bar to add log test

Modified test_pcolormesh to add axes (X and Y) case