cax added using make_axes_locatable shows up at the middle of the image, instead of bottom while saving figures. I have tried .png and .pdf . The output from plt.show() is correct.
python 3.6.6 :: Anaconda custom (64-bit)
numpy version 1.15.3
matplotlib version 3.0.0
Here's a minimal script, which reproduces the result
changed the title [-]make_axes_locatable : Colorbar in the middle instead of bottom while saving a pdf.[/-][+]make_axes_locatable : Colorbar in the middle instead of bottom while saving a pdf,png.[/+]on Oct 25, 2018
changed the title [-]make_axes_locatable : Colorbar in the middle instead of bottom while saving a pdf,png.[/-][+]make_axes_locatable : Colorbar in the middle instead of bottom while saving a pdf, png.[/+]on Oct 25, 2018
Activity
jklymak commented on Oct 25, 2018
This has already been reported and will be fixed 3.0.1. To avoid until 3.0.1 is released don’t use tight layout or revert to 2.2.3.
Thanks and sorry for the bother.
navdeeprana commented on Oct 25, 2018
Thank you for the information. I tried searching if it was already reported or not. I found similar issues but not the same.
jklymak commented on Oct 25, 2018
I can confirm that this seems to work fine in the just-tagged v.3.0.1... This was closed by #12363