How do I adjust (offset) colorbar title in matplotlib August 20, 2023 by Tarik cb.set_label("Foo", labelpad=-1) Negative labelpad values will move closer to the bar, positive away.