Skip to content

Pass full tpar list to draw_facet_window#481

Merged
grantmcdermott merged 3 commits intomainfrom
tpars-pass
Sep 17, 2025
Merged

Pass full tpar list to draw_facet_window#481
grantmcdermott merged 3 commits intomainfrom
tpars-pass

Conversation

@grantmcdermott
Copy link
Copy Markdown
Owner

@grantmcdermott grantmcdermott commented Sep 17, 2025

Follow up to #475

Upon further investigation, I realised that several other graphical parameters (not just dynmar) weren't being realised correctly during non-interactive calls.

For example, the grid lines in this example on the website are not showing up correctly, while the axes themselves are slightly too thick (and thus visible in comparison to the plot box):

Screenshot 2025-09-16 at 5 09 48 PM

This PR effectively sidesteps the problem by passing the entire tpar() list as part of the recordGraphics(draw_facet_window, list(..., tpars = tpar()) call. I also adjusted some ancillary function to make them compatible with this change.

@grantmcdermott grantmcdermott merged commit c21a235 into main Sep 17, 2025
3 checks passed
@grantmcdermott grantmcdermott deleted the tpars-pass branch September 17, 2025 00:15
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