Overlapping graphs of az.plot_trace()

constrained_layout is the recommended method by matplotlib devs (over tight_layout). You can set it as @jessegrabowski already explained.

constrained_layout is set to True if you use any of the styles provided by ArviZ, for instance az.style.use("arviz-doc"), Other available styles are listed here Matplotlib styles — ArviZ 0.19.0 documentation or you can define your own style.

3 Likes