Commit c437362
Add amsfonts to LaTeX preamble so \mathbb renders under usetex
The upstream rewrite introduced \mathbb{E}[...] notation in plot titles
and labels; the CJK-adapted preamble carried only CJKutf8+amsmath, so
under text.usetex=True the \mathbb control sequence was undefined and
fig.tight_layout() raised RuntimeError (latex failed). Upstream's own
preamble is amsmath,amsfonts; this restores amsfonts alongside the
zh-specific CJKutf8 adaptation.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 75e1e8a commit c437362
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
0 commit comments