How do I control the limits and intervals in graphical outputs like plot_posterior and traceplot? I understand from the doc that it can take plt.plot arguments. Unfortunately, naive attempts such as set_xlim(a,b) do not have any effect. Many thanks!
Gregory
pm.traceplot returns an array of matplotlib axes objects, and you can call set_xlim on them.
axes = pm.traceplot()
axes[0,0].set_xlim(a,b)
Thanks for your reply. I was able to follow your advice and modify the plots.
1 Like