Order plotted variables by value

I’m using a forest plot, plotting several variables a[0], a[1], a[2], ..., a[j], and b[0], ..., b[k]. I have an InferenceData object (via arviz.from_pymc3() and I’m wondering how to reorder the items in the plot in the order of increasing value – within each variable (so all the as are together and the bs are together).

1 Like