<!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--> <!--You can feel free to delete the sections that do not apply.--> ### Bug report **Bug summary** ImageGrid seems to be broken on 3.0.0? **Code for reproduction** <!--A minimum code snippet required to reproduce the bug, also minimizing the number of dependencies required--> ```python f = plt.figure() grid = ImageGrid(f, 111, nrows_ncols=(2, 2), direction='column', label_mode="L", cbar_location="right", cbar_mode="single", cbar_size="5%", cbar_pad="3%" ) axarr = np.array(grid).reshape(2, 2) for ax in axarr.flatten(): m = ax.imshow(np.random.random(15**2).reshape((15, 15))+0.5, norm=LogNorm(vmax=2, vmin=0.5), cmap='coolwarm') plt.colorbar(m, cax=grid.cbar_axes[0], format=FormatStrFormatter('%.2f')) ``` **Actual outcome**  **Expected outcome** From 2.2.2  Note: if I remove all colorbar-related code, it again looks weird, but in a different way: ```python f = plt.figure() grid = ImageGrid(f, 111, nrows_ncols=(2, 2), direction='column', label_mode="L", ) axarr = np.array(grid).reshape(2, 2) for ax in axarr.flatten(): m = ax.imshow(np.random.random(15**2).reshape((15, 15))+0.5, norm=LogNorm(vmax=2, vmin=0.5), cmap='coolwarm') ```  Seems like maybe all axes take up the whole figure, and so cover the rest?.. Just a guess. **Matplotlib version** <!--Please specify your platform and versions of the relevant libraries you are using:--> * Operating system: Ubuntu 16.04 * Matplotlib version: 3.0.0 * Matplotlib backend (`print(matplotlib.get_backend())`): inline * Python version: 3.5.2 * Jupyter version (if applicable): Jupyter Lab 0.33.6 <!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--> <!--If you installed from conda, please specify which channel you used if not the default-->
Activity
tacaswell commentedon Oct 12, 2018
attn @jklymak
jklymak commentedon Oct 12, 2018
Duplicate #12355. See fix in #12363
tacaswell commentedon Oct 12, 2018
Great! Just merged #12363