Plotting Sample_Posterior_Predictive output with Arviz

what arviz and pymc versions are you using? Also, could you copy the output of posterior.posterior_predictive and posterior.observed_data here in a code block? (use print() if you get an html repr)