When you want to create or adjust the legend in matplotlib, things can get dirty. Legendkit may solve your headache. Features Easy title placement and alignment Easy colorbar with shape Layout for multiple legends and colorbar* Installation pip install legendkit