I am trying to split my plots in different subplots.. What I want to achieve is to put a colorbar for a subplot in a different subplot. Right now I am using:
# fi
I believe you should use ax instead of cax.
# colorbar axes = plt.subplot2grid((4, 2), (0, 1), rowspan=3) plt.colorbar(pc, ax=axes)