Skip to content

Figure copy-edits: rename, regenerate (600 dpi) & standardize all book figures#222

Merged
RaphaelS1 merged 29 commits into
mainfrom
figures-copyedits
Jun 14, 2026
Merged

Figure copy-edits: rename, regenerate (600 dpi) & standardize all book figures#222
RaphaelS1 merged 29 commits into
mainfrom
figures-copyedits

Conversation

@adibender

Copy link
Copy Markdown
Collaborator

Per-chapter copy-edit pass over every figure in the book.

What changed

  • Naming: all figures + their sources renamed to the fig-pXcY-<name> convention (png/svg/drawio + R/Python generators + qmd ids/refs).
  • Regenerated at 600 dpi; every figure has a tracked editable source (R/Python script or .drawio).
  • On-page sizing: width= + fig-align="center" per panel type (square single-panel 60–70%, multi-panel/wide 90–100%); white export margins trimmed.
  • Consistency: time x-axes read "Time", survival y-axes read "Survival Probability"; the complications colour legend is titled "Complications" with no/yes entries (palette #0072B2 / #D55E00).
  • drawio infographics reworked (borderless boxes + drop shadows, steel-blue scheme, proper math subscripts) and re-exported.
  • Dropped externally-sourced / CC-attributed figures (e.g. nested-resampling) in favour of originals or in-text description.

Merge

Merged current main (chapter-file renumbering + Part II/III text edits). Conflicts resolved by keeping main's text combined with the new figure naming/attributes; all @fig refs verified to resolve.

Review notes

  • Figure ids still encode the old chapter numbers (fig-p3c15-*) while chapters are now numbered (e.g. SVM → ch. 13). Refs resolve correctly, but the prefix no longer matches the new numbering — flagging in case you want to re-scheme.
  • Editorial conflict resolutions span 13 chapters — worth a skim of the qmd diffs.

adibender and others added 29 commits June 4, 2026 14:57
Hand-authored editable .drawio (native mxGraph XML) versions of the
14 non-script-generated figures, saved alongside their SVG/PNG:

- survival: illness-death-model, multi-state-prothr-states, recurrent-events
- introduction: ml-sa-pipeline
- forests: cars, cars-prediction-path, lung
- reductions: sa-reductions-pipeline, cr/ms reduction pipeline+stacked,
  tab-standard, tab-ped4

Each was reconstructed from the SVG and visually verified against a
faithful render of the original.
# Conflicts:
#	book/01-introduction.qmd
#	book/02-machine-learning.qmd
#	book/03-survival-analysis.qmd
#	book/05-survival-task.qmd
#	book/06-discrimination.qmd
#	book/07-calibration.qmd
#	book/08-scoring-rules.qmd
#	book/11-core-models.qmd
#	book/12-random-forests.qmd
#	book/13-support-vector-machines.qmd
#	book/15-neural-networks.qmd
#	book/19-pseudo-value-reductions.qmd
#	book/21-event-history-reduction.qmd
#	book/Figures/classical/compare.png
#	book/Figures/classical/dogs.png
#	book/Figures/classical/km_test.png
#	book/Figures/svm/survival.png
Signed-off-by: Raphael Sonabend <raphaelsonabend@gmail.com>
Signed-off-by: Raphael Sonabend <raphaelsonabend@gmail.com>
Signed-off-by: Raphael Sonabend <raphaelsonabend@gmail.com>
@RaphaelS1
RaphaelS1 merged commit 8ceab39 into main Jun 14, 2026
1 check passed
@RaphaelS1
RaphaelS1 deleted the figures-copyedits branch June 17, 2026 15:41
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.

2 participants