Skip to content

Manually handle rgl plots. #1857

Merged
jjallaire merged 1 commit into
quarto-dev:mainfrom
dmurdoch:patches
Aug 13, 2022
Merged

Manually handle rgl plots. #1857
jjallaire merged 1 commit into
quarto-dev:mainfrom
dmurdoch:patches

Conversation

@dmurdoch
Copy link
Copy Markdown
Contributor

This partially fixes #1800, by adding the rgl:::sew.rglRecordedplot method to the list of explicit methods.

Notes:

  • It gets scroll bars when displayed in the HTML output (not in RStudio). Presumably this could be adjusted somehow. rgl canvases use fig.width*dpi/fig.retina and fig.height*dpi/fig.retina to set the set the size, but I don't know what the adjustment should be to avoid the scroll bars.
  • As far as I can see from a slightly outdated copy of CRAN, no other CRAN packages set sew methods, so this might be the only change needed.

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.

rgl plots don't display in quarto

2 participants