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
This version of the R package upgrades the version of the underlying plotly.js library from v2.5.1 to v2.11.1. This includes many bug fixes and improvements. The plotly.js release page has the full list of changes.
New features
plotlyOutput() gains a new fill parameter. When TRUE (the default), the widget's container element is allowed to grow/shrink to fit it's parent container so long as that parent is opinionated about its height and has been marked with htmltools::bindFillRole(x, container = TRUE). (#2198)
highlight() now supports on="plotly_selecting", enabling client-side linked brushing via mouse click+drag (no mouse-up event required, as with on="plotly_selected"). (#1280)
raster2uri() supports nativeRaster objects. This enables nativeRaster support for
the annotation_raster() geom (#2174, @zeehio).
Bug fixes
ggplotly() now converts stat_ecdf() properly. (#2065)
ggplotly() now correctly handles geom_tile() with no fill aesthetic. (#2063)
ggplotly() now respects guide(aes = "none") (e.g., guide(fill = "none")) when constructing legend entries. (#2067)
Fixed an issue with translating GGally::ggcorr() via ggplotly(). (#2012)
Fixed an issue where clearing a crosstalk filter would raise an error in the JS console (#2087)
Fixed an issue where map_color() would throw an error on R 4.2 (#2131)
Improvements
ggplotly() does not issue warnings with options(warnPartialMatchArgs = TRUE) any longer. (#2046, thanks @bersbersbers)
ggplotly() does not issue warnings related to use of deprecated tidyr::gather_() in internals. (#2125, thanks @simonpcouch)