You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Horizontal colorbar location changed to something broken in latest 3.3.0
Code for reproduction
Here is a minimal example in the exact way I am using it. Is there any quick fix/workaround? I really appreciate the improved 3D axis handling in v. 3.3!
This is not a bug with regular axes, so its some sort of mplot3d issue.
Its possible constrained_layout works w/ mplot3d sometimes, but its not tested with mplot3d. But I can't bisect the error sensibly, partially because the toolkits don't install in conda/pip the same way as the core library. So hopefully someone w/ a working mplot3d debug setup can at least bisect so we can see what change caused this.
Activity
chris-hld commentedon Jul 23, 2020
Possibly related to
constrained_layout.Output with

constrained_layout=FalseDon't use horizontal colorbar, broken in mpl3.3.0
Don't use horizontal colorbar, broken in mpl3.3.0
jklymak commentedon Jul 23, 2020
This is not a bug with regular axes, so its some sort of mplot3d issue.
Its possible
constrained_layoutworks w/ mplot3d sometimes, but its not tested with mplot3d. But I can't bisect the error sensibly, partially because the toolkits don't install in conda/pip the same way as the core library. So hopefully someone w/ a working mplot3d debug setup can at least bisect so we can see what change caused this.jklymak commentedon Jul 23, 2020
Note this would be closed by #17494
tacaswell commentedon Jul 23, 2020
To check, the problematic change is the colorbar floating to the top?
Assuming we don't want to backport the CL re-write for 3.3.x is there another workaround other than turning CL off ?
jklymak commentedon Jul 23, 2020
I don't know. I can't bisect mplot3d stuff to figure out what is going on.
jklymak commentedon Jul 23, 2020
This bisects to 4479a0f #16472
jklymak commentedon Jul 23, 2020
ok fixed #18038 as far as I can tell.
jklymak commentedon Jul 23, 2020
@chris-hld unfortunately I cannot think of a good workaround short of installing the 3.3.1 branch or downgrading to 3.2 until 3.3.1 is released.
chris-hld commentedon Jul 24, 2020
Thank you very much!
I just disable
constrained_layoutfor this particular one now and will revisit with 3.3.1!Update to matplotlib 3.3 (#14)