layout="constrained"
Also written: constrained layout, tight_layout
A figure option that makes matplotlib fit titles, labels and legends inside the figure without overlaps, and keep doing so as you add things. It replaces `plt.tight_layout()`.
Also written: constrained layout, tight_layout
A figure option that makes matplotlib fit titles, labels and legends inside the figure without overlaps, and keep doing so as you add things. It replaces `plt.tight_layout()`.