Open pvernant opened 4 years ago
This used to work with older versions of matplotlib. It seems some things have changed in the meantime. I'll have a fix soon. Sorry about that, and thanks for the report!
@pvernant I found a work around to this.... it involved adding a separate axis for the colorbar into the plot
cbaxes = fig.add_axes([0.05, 0.2, 0.02, 0.6]) #Add additional axis for colorbar plt.colorbar(cbname, cax = cbaxes, shrink = 0.8)
See the original answer at this link... https://stackoverflow.com/questions/13310594/positioning-the-colorbar
Hi,
When adding a colorbar, the annotations around the grid try to encompass the grid and the colorbar leading to something strange. Am I missing something ?
Thanks. Phil