Plot of posteriors given a specific draw

I have generated quantities and the y_pred has around 2000 draws. I’m using the pystan, is there any way that I can plot a specific draw of my posterior in pystan. For example in R we have a useful package that can use a specific draw given the fit : yrep= posterior_predict(fit, draws=50))

Now I’m using this function : fit.plot(‘y_rep’); which returns all the 2000 draws. I only need the mean of all the draws in my plot.

It wasn’t clear what you’re asking here. Assuming you could find the draws in Python, then it’s just a matter of using the right Python plotting package.

We don’t have equivalents of R’s loo or bayesplot or shinystan in Python yet. But we’re looking for volunteers to build them!