Plotting posterior predictions from new data - shape mismatch

Any data you want to modify needs to either be created with a pm.Data(..., mutable=False) statement or, preferably, using pm.MutableData(). See here for details.