Why I cannot plot with pymc3.traceplot or arviz.plot_trace?

az.plot_posterior is also unavailable.
Result is as follow:


Only array without pictures.

I wonder how can I find the plots to prove my views.

1 Like

I think you need to show it:

import matplotlib.pyplot as plt
import arviz as az

# build model and sample here

az.plot_posterior(my_trace)

plt.show()

Check out the documentation for usage details.

1 Like

Thank you. The usege of arviz is different from pymc3.traceplot.

1 Like