Open tamuri opened 4 years ago
Both commits appear to work fine - thanks. And I've seen the arrange_() warning, which as you say should disappear when plotly updates on CRAN.
I'm still getting the warnings: Warning: Specifying width/height in layout() is now deprecated. Please specify in ggplotly() or plot_ly()
Is it linked to the arrange() issue?
I'm still getting the warnings: Warning: Specifying width/height in layout() is now deprecated. Please specify in ggplotly() or plot_ly()
Yes, also from plotly but doesn't seem to be any fix for this yet. Mose added a note about this in the source code (multiple.R):
plotly::subplot(plots, nrows = plots_number, shareX = TRUE, titleY = TRUE) %>%
# This causes a warning to be issued, but this is really a bug in
# plotly that doesn't allow to set the size of a subplot in a sane
# way: https://github.com/ropensci/plotly/issues/1613
plotly::layout(autosize = TRUE, height = plots_number * 400)
Fixes #46.
The remaining
arrange_()
warning is from the plotly package. Their fix has been merged into plotly master but there hasn't been a new release on CRAN. I suggest waiting for the release and tolerating the warning for now.