Surprising alignment of (multiple) colorbars with constrained layout active #10627
Labels
topic: geometry manager
LayoutEngine, Constrained layout, Tight layout
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug summary
The new experimental layout manager seems to produce a rather surprising alignment of two colorbars when one is shared by several
Axes
instances, and another one is simply stealing space from a singleAxes
instance. It seems like @jklymak might have a fix in mind, but he also have a day-job ^^: milestoning for 2.2 just in case he manages to have a shot in time for it.NB: originally from Gitter.
Code for reproduction
@jklymak I know, I know, it is not really “minimal”, but I was originally planning to show a use case rather than a MWE. And at least, it is a standalone example 😈.
Actual outcome
Expected outcome
Something closer to

Workaround
The figure in the Expected outcome section was produced by passing the supplementary parameter “pad=-12” in the relevant line:
Matplotlib version
Edit: English
The text was updated successfully, but these errors were encountered: