You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If plotly graphs are printed inside a loop and not with subgroup, which is necessary if you have a lot of plots, then it just doesn't work.
Input
Consider this minimal working example:
The code for this is here. Sorry, there is no way to to syntax highlighting for .Rmd files so I cannot display it in this issue with the correct code.
Output
Only the second code chunk can yield outputs. The first plots just don't show up in the resulting .pdf file. Here is the resulting .pdf file: Untitled.pdf
Essentially, if I make a list of plotly objects and print them, knitr does not catch them, even with htmltools and all that. If I ust print them without looping, everything works.
The text was updated successfully, but these errors were encountered:
If plotly graphs are printed inside a loop and not with
subgroup
, which is necessary if you have a lot of plots, then it just doesn't work.Input
Consider this minimal working example:
The code for this is here. Sorry, there is no way to to syntax highlighting for
.Rmd
files so I cannot display it in this issue with the correct code.Output
Only the second code chunk can yield outputs. The first plots just don't show up in the resulting .pdf file. Here is the resulting .pdf file:
Untitled.pdf
Essentially, if I make a list of plotly objects and print them, knitr does not catch them, even with
htmltools
and all that. If I ust print them without looping, everything works.The text was updated successfully, but these errors were encountered: