Trace plots Hierarchical Models

You may have inconsistent versions of PyMC3 and ArviZ. How did you install them?

Also can you try the functions native in ArviZ

import arviz as az
az.summary()
az.plot_trace()