grantmcdermott · GitHub

Copy link Copy Markdown

Owner

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.

Read the original on github.com ↗