ValueError: dimensions ('chain', 'draw', 'y_dim_0') must have the same length as the number of data dimensions, ndim=2

Please provide a working example, a minimum working example if at all possible. Right now, you code is incomplete and won’t run, which makes it difficult to sort out where you’re problem is.