Plotting Prior vs Posterior in PyMC3

What is the best way to plot prior and posterior distributions on the same plot per variable?

Is there a standard way? I cannot find anything :confused:


1 Like


You may want to check out the plot_dist_comparison() function from arviz. Does that give you what you want?