4fb00229644a14226db9028e63e8caba9a0158f2,examples/forestplot.py,,,#,9
Before Change
az.style.use("arviz-darkgrid")
trace = az.utils.load_trace("data/centered_eight_trace.gzip")
az.forestplot(trace, varnames=("theta__0", "theta__1", "theta__2"))
After Change
centered_data = az.load_data("data/centered_eight.nc")
non_centered_data = az.load_data("data/non_centered_eight.nc")
fig, axes = az.forestplot([centered_data, non_centered_data],
model_names=["Centered", "Non Centered"],
var_names=["mu"])
axes[0].set_title("Estimated theta for eight schools model")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: arviz-devs/arviz
Commit Name: 4fb00229644a14226db9028e63e8caba9a0158f2
Time: 2018-07-08
Author: ColCarroll@users.noreply.github.com
File Name: examples/forestplot.py
Class Name:
Method Name:
Project Name: arviz-devs/arviz
Commit Name: dea4912d8cfe863418c450e12bcee29407776af6
Time: 2018-06-26
Author: colcarroll@gmail.com
File Name: examples/densityplot.py
Class Name:
Method Name:
Project Name: arviz-devs/arviz
Commit Name: a07276c70c42e7f9a2aed2fd81f825032dc92af5
Time: 2018-07-17
Author: ColCarroll@users.noreply.github.com
File Name: examples/jointplot.py
Class Name:
Method Name: