fixed colorbar issue when not specifying mappable
Merge pull request #1112 from esc24/plt_colorbar

fixed colorbar issue