v4.9.0 - Kaleido for static image export, Hexbin Tile Maps, and Timelines
See the full announcement at https://community.plotly.com/t/announcing-plotly-py-4-9-kaleido-for-static-image-export-hexbin-tile-maps-and-timelines/42524
Added
- Added image export support using Kaleido. The image export backend can be configured using the new
engineargument toplotly.io.to_imageandplotly.io.write_image. Theengineargument may be set to"kaleido","orca", or"auto". The default isengine="auto", in which case the Kaleido backend is enabled if thekaleidopackage from PyPI is installed, otherwise Orca is used. (#2613). plotly.express.timeline()added as an official alternative toplotly.figure_factories.create_gantt()(#2626)create_hexbin_mapbox()added to Figure Factories, with thanks to @RenaudLN for the impressive contribution!facet_row_spacingandfacet_col_spacingadded to Plotly Express cartesian 2d functions (#2614)baseadded to Plotly Expressbarandbar_polarfunctions (#2626)px.NO_COLORconstant to override wide-form color assignment in Plotly Express (#2614)
Fixed
- trendline traces are now of type
scatterglwhenrender_mode="webgl"in Plotly Express (#2614) - regression from 4.8.1 whereby
"parent"was not accepted as part ofpathforpx.sunburst()andpx.treemap()(#2640) create_dendrogram()figure factory now works correctly withscipy1.5.1 (#2627)
Updated
- Updated Plotly.js to version 1.54.6. See the plotly.js CHANGELOG for more information.
- Added all cartesian-2d Plotly Express functions, plus
imshow, to Pandas backend withkindoption (#2541) plotly.express.imshownow uses data frame index and columns names and values to populate axis parameters by default (#2539)- Javascript extensions are now build using Node 12, and have an updated
package-lock.jsonwith many fewer security warnings (#2636)