Skip to content

Commit ebde482

Browse files
jstacclaude
andauthored
Fix ar1_turningpts build: drop figsize from az.plot_trace (#930)
arviz 1.x dropped the figsize kwarg on plot_trace, which raises ValueError and fails notebook execution once the build cache is invalidated. Remove figsize from the az.plot_trace call (arviz uses its default size). Verified against arviz 1.2.0 that plot_trace(idata) and trace.posterior.rho access both still work. Closes #929 Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ce5c241 commit ebde482

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lectures/ar1_turningpts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def draw_from_posterior(sample):
328328
329329
# check condition
330330
with AR1_model:
331-
az.plot_trace(trace, figsize=(17, 6))
331+
az.plot_trace(trace)
332332
333333
rhos = trace.posterior.rho.values.flatten()
334334
sigmas = trace.posterior.sigma.values.flatten()

0 commit comments

Comments
 (0)