Skip to content

Use wide=True for wide figures and add a subpanel example - #17

Merged
Andrew-S-Rosen merged 4 commits into
mainfrom
docs/subpanel-example
Sep 17, 2026
Merged

Andrew-S-Rosen merged 4 commits into
mainfrom
docs/subpanel-example

Conversation

@Andrew-S-Rosen

@Andrew-S-Rosen Andrew-S-Rosen commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

Replace the paper columns argument with the keyword-only boolean wide in paper_size, settings, use, and context. wide=False retains the 3.25-inch paper canvas and wide=True selects 7 inches; square=True still makes height equal width. Presentation sizing remains unchanged. This is an API rename: existing callers using columns=2 should use wide=True.

Add a reproducible 2×2 paper example with panel labels, shared axes, distinct line/marker encodings, and PNG/PDF output. Embed its PNG in the README and include it in the existing example builder. Document canvas sizing and the distinction between figure width and subplot arrangement.

Validation: the 7 existing tests pass locally with the Agg backend, and Ruff checks pass. The full README figure builder was run successfully and the four-panel rendering was visually inspected. No new regression tests are included; existing tests are adjusted only for the API rename and removal of the obsolete column-count validation.

@Andrew-S-Rosen Andrew-S-Rosen changed the title Add and verify a multiple-subpanel figure example Use wide=True for wide figures and add a subpanel example Sep 17, 2026
Removed detailed instructions and notes about the complete example and image regeneration.
@Andrew-S-Rosen
Andrew-S-Rosen merged commit 8d89c27 into main Sep 17, 2026
3 checks passed
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