Skip to content

[mix_model] Add figure captions and use CDF#982

Merged
jstac merged 1 commit into
mainfrom
mix-captions
Jul 19, 2026
Merged

[mix_model] Add figure captions and use CDF#982
jstac merged 1 commit into
mainfrom
mix-captions

Conversation

@jstac

@jstac jstac commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Follow-up style polish after the JAX conversion (#773) merged.

Figure captions

Adds mystnb figure captions (rendered as "Fig N. caption") to the six body figures:
fig-lottery-draws, fig-pi-seq-1, fig-pi-seq-2, fig-kl, fig-kl-limit, fig-posterior-alpha.

The two figures inside the exercise solution are intentionally left uncaptioned — a caption wraps the image in a LaTeX float, which breaks the PDF build (Not in outer par mode).

CDF

Changes the two c.d.f. occurrences to CDF, consistent with the IID convention.

Both conventions are being added to the style manual in QuantEcon/QuantEcon.manual#112.

Verified the lecture still runs end-to-end (JAX cells + numpyro MCMC) on CPU.

🤖 Generated with Claude Code

Follow-up style polish now that the JAX conversion has merged:

- caption the six body figures via mystnb metadata (rendered as
  'Fig N. caption'); the two figures inside the exercise solution are
  left uncaptioned, since a caption's LaTeX float breaks the PDF build
- write CDF instead of c.d.f., consistent with the IID convention

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

📖 Netlify Preview Ready!

Preview URL: https://pr-982--sunny-cactus-210e3e.netlify.app

Commit: 77c5b75

📚 Changed Lectures


Build Info

@jstac
jstac merged commit ebb81e7 into main Jul 19, 2026
1 check passed
@jstac
jstac deleted the mix-captions branch July 19, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant