In Prior and Posterior Predictive Checks, there is an example of visualizing the fit between observations and the posterior predictive samples:
This example combines the trace (as a pm.MultiTrace) and the posterior predictive samples (as a dict) into an arviz.InferenceData object and then passes that object to arviz.plot_ppc().
What if the trace is already an InferenceData object? Is there a way to combine a trace as an InferenceData and posterior predictive samples as a dict into a new InferenceData object? In the long list of ways to create an InferenceData, I could not find one that combines an existing InferenceData and a dict of samples. And az.from_pymc3() does not handle that case:
Or perhaps there is an easier approach to arrive at an InferenceData for arviz.plot_ppc()? (My trace is already an InferenceData thanks to the good advice of @OriolAbril on how to model an intervention.)

