Skip to content

Commit

Permalink
fix image rendering in basic renewal model tutorial (#272)
Browse files Browse the repository at this point in the history
add plt.show
  • Loading branch information
sbidari authored Jul 16, 2024
1 parent a622187 commit 0219353
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/tutorials/basic_renewal_model.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ az.plot_trace(
coords={"Rt_dim_0": np.arange(10)},
compact=False,
)
plt.show()
```


Expand Down Expand Up @@ -305,6 +306,7 @@ axes.legend()
axes.set_title("Posterior Effective Reproduction Number", fontsize=10)
axes.set_xlabel("Time", fontsize=10)
axes.set_ylabel("$R_t$", fontsize=10)
plt.show()
```

and latent infections:
Expand Down Expand Up @@ -345,4 +347,5 @@ axes.legend()
axes.set_title("Posterior Latent Infections", fontsize=10)
axes.set_xlabel("Time", fontsize=10)
axes.set_ylabel("Latent Infections", fontsize=10)
plt.show()
```

0 comments on commit 0219353

Please sign in to comment.