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
Version 4.9.0 does not display properly with Flexdashboard #1546
Comments
Here's the JS stacktrace -- This is very likely a plotly.js bug. We'll have to come up with a more minimal example before reporting to the plotly.js team (Update: see #1546 (comment) for a workaround) |
Are there news about this issue? I have the same problem in a complex dashboard, that unfortunately I cannot share at the moment. I have tried to manually update the plotly-latest,min.js file within the htmlwidgets, but this didn't change the behaviour. In particular, the dashboard I generate is fine when I open it. If I try to refresh the page, the error occurs and plots aren't rendered. |
I also have this issue... If I run the code, rather than knit, the interactive plot appears in the viewer and seems fine. However if I knit the code then the plotly plot does not appear at all. |
I have made a minimal example that show the problem. To note that if the geom_hex() in the 2nd page is replace by geom_line() or other 2d primitive everything is rendered properly. The problem is also fixed reverting to version 4.8. |
Here is another minimal example:
Please remove the terminal |
Looks like you can workaround this problem by adding |
This seems to affect not only heat maps, but any plot with polygons.
But that appears to break scrollable layouts? (Will try to provide an example), the axis scaling also breaks when you produce the "polygon" plots with
The 4.8 revert also fixes this. Have a nice day you all and thanks for your work, |
This issue should be fixed now in the dev version -- Also, a CRAN release will be coming by the end of next week |
Hi all, You can use the following Docker container for reproduction: Rendered the minimal example Rmd with The offered workaround is unfortunately not suitable for our purposes, because we cannot know if the flexdashboard component will be on the first page and if it will fill the full page. |
Workarounds, that work well for me:
If the flexdashboard uses Shiny (with I would be glad to see possible improvements and optimizations of the code. |
I guess it is still open? |
Version 4.9.0 does not display properly with Flexdashboard
Here you can find an example:
https://community.rstudio.com/t/plotly-does-not-display-in-flexdashboard-page/32696
I solved it by deleting the version 4.9.0 and by using the version 4.8.0
The text was updated successfully, but these errors were encountered: