Skip to content

plotly 4.10.0

Compare
Choose a tag to compare
@cpsievert cpsievert released this 12 Oct 13:52
· 95 commits to master since this release

Breaking changes in JavaScript API

  • This version of the R package upgrades the version of the underlying plotly.js library from v1.57.1 to v2.5.1. This includes many breaking changes, bug fixes, and improvements to the underlying JavaScript library. Most of the breaking changes are summarized in this announcement of the 2.0 release, but see here for the full changelog.

Breaking changes in R API

  • ggplotly() now uses the layout.legend.title (instead of layout.annotations) plotly.js API to convert guides for discrete scales. (#1961)
  • renderPlotly() now uses Plotly.react() (instead of Plotly.newPlot()) to redraw when layout(transition = ) is specified. This makes it possible/easier to implement a smooth transitions when renderPlotly() gets re-executed. (#2001)

New Features

  • Added new functions for static image exporting via the kaleido python package, namely save_image() and kaleido(). See help(save_image, package = "plotly") for installation info and example usage. (#1971)

Improvements

  • ggplotly() now better positions axis titles for facet_wrap()/facet_grid(). (#1975)