How to update PyMC model with counterfactuals?

In case it’s useful, there are a number of example notebooks with counterfactual here PyMC Example Gallery — PyMC example gallery