-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upsetjs and rmarkdown #27
Comments
there is not intentional limit. Can you provide a sample rmarkdown file such that I can test the bug, please |
Okay, I first tried to just do the venn in different code chunk but it rendered normally. So I imitated my document and added title upside all the code chunk and I englobed the title and the code chunk with "::: panel-tabset" et ":::" those enable a tabset view in quarto (https://quarto.org/docs/interactive/layout.html#tabset-panel). This time, I got the rendering error. Here the qmd file and the html document that was rendered from it. |
thx. it doesn't seem to be a problem of upsetjs but how the underlying htmlwidgets (https://quarto.org/docs/interactive/widgets/htmlwidgets.html) are implemented for tabset panel. Htmlwidgets have two methods for telling the widget (here upset) what the size is:
However, since the venn2 ... widgets are not visible by default, it will say during the creation that it should have a width and height of I would open an issue or vote on ramnathv/htmlwidgets#392 which seems like the underlying problem. |
Ok thank you. |
When I try to include more than two venn diagram with the upsetjs package, only the first two are created in the rendered document. If I try to create the venn from the code chunk in RStudio, every venn are create without error.
Is there a limit on the number of venn we can include in a single document? If so, is there a way to remove it?
To Reproduce
Expected behavior
The document should normally show all the different venn diagrams. But in my case, only the first two are created
Screenshots
Context
Additional context
The text was updated successfully, but these errors were encountered: