Re: [Matplotlib-users] how to prevent colorbar from taking space from axes

2014-12-12 Thread Slavin, Jonathan
Hi Ben, Thanks for those tips. I ended up giving a list of axes to the ax argument of colorbar as you suggested. That took care of the misalignment of the top plots and bottom plots but then the colorbar extended the full vertical height of both rows of axes. Fiddling with the shrink and

Re: [Matplotlib-users] how to prevent colorbar from taking space from axes

2014-12-12 Thread Eric Firing
On 2014/12/12, 5:11 AM, Slavin, Jonathan wrote: Hi Ben, Thanks for those tips. I ended up giving a list of axes to the ax argument of colorbar as you suggested. That took care of the misalignment of the top plots and bottom plots but then the colorbar extended the full vertical height of

[Matplotlib-users] how to prevent colorbar from taking space from axes

2014-12-11 Thread Slavin, Jonathan
Hi, I'm trying to make a plot with four panes (2x2). The two on top are images, created with pcolormesh, while the ones on the bottom are line plots. I'd like to the axes to line up -- which they do -- but when I add a colorbar to the top right, it steals space from the image plot. I only need