Releases: plotly/plotly.py
Releases · plotly/plotly.py
v6.3.1
Updated
- Update Plotly.js from version 3.1.0 to version 3.1.1. See the Plotly.js release notes for more information. [#5357]. Notable changes include:
- Fix issue preventing Scattergl plots with text elements from rendering [plotly.js#7563]
- Use native legends when converting from matplotlib [#5312], with thanks to @robertoffmoura to the contribution!
- Allow
shared_yaxesto work with secondary axes [#5180], with thanks to @gmjw for the contribution!
Fixed
- Fix issue where width/height in plot layout were not respected during Kaleido image export [#5325]
- Fix typo in default argument to
_ternary_contour.py[#5315], with thanks to @Lexachoc for the contribution! - Fix incorrect
fig.show()behavior whenipythonis installed [#5258]
Full Changelog: v6.3.0...v6.3.1
v6.3.0
Updated
- Updated Plotly.js from version 3.0.1 to version 3.1.0. See the plotly.js release notes for more information. [#5318]
Added
- Exposed
plotly.io.get_chrome()as a function which can be called from within a Python script. [#5282]
Fixed
v6.2.0
Added
- Add SRI (Subresource Integrity) hash support for CDN script tags when using
include_plotlyjs='cdn'. This enhances security by ensuring browser verification of CDN-served plotly.js files [#5165] (with thanks to @ddworken)
Fixed
- Allow setting Plotly.js path via
pio.defaults[#5207]
Changed
- Refactor validation code to reduce bundle size [#5214] (with thanks to @bmaranville)
- Add deprecation warnings when using Kaleido v0 or deprecated image export features [#5177]
v6.1.2
v6.1.1
v6.1.0
Updated
- Add support for Kaleido>=v1.0.0 for image generation [#5062, #5177]
- Reduce package bundle size by 18-24% via changes to code generation [#4978]
Fixed
- Fix third-party widget display issues in v6 [#5102]
- Add handling for case where
jupyterlabornotebookis not installed [#5104] - Fix issue causing Plotly.js script to be embedded multiple times in Jupyter notebooks [#5112]
- Re-add MIME renderer JupyterLab extension with JupyterLab 4 support to reduce file sizes for offline notebooks [#5096]
- Fix issue preventing plots from rendering in HTML notebook export when using 'vscode+notebook' renderer [#5154]
v6.1.0rc0
Updated
- Add support for Kaleido>=v1.0.0 for image generation, and deprecate support for Kaleido<1 and Orca [#5062]
- Reduce package bundle size by 18-24% via changes to code generation [#4978]
Fixed
- Fix third-party widget display issues in v6 [#5102]
- Add handling for case where
jupyterlabornotebookis not installed [#5104] - Fix issue causing Plotly.js script to be embedded multiple times in Jupyter notebooks [#5112]
- Re-add MIME renderer JupyterLab extension with JupyterLab 4 support to reduce file sizes for offline notebooks [#5096]
- Fix issue preventing plots from rendering in HTML notebook export when using 'vscode+notebook' renderer [#5154]
v6.1.0b0
Updated
- Add support for Kaleido >= v1.0.0 for image generation, and deprecate support for Kaleido<1 and Orca [#5062]
Fixed
v6.0.1
Updated
- Updated Plotly.js from version 3.0.0 to version 3.0.1. See the plotly.js CHANGELOG for more information.
Fixed
v6.0.0
[6.0.0] - 2025-01-28
Added
- Add
plotly[express]extra for easily installing Plotly Express dependencies [#4644] - Add
subtitleattribute to all Plotly Express traces [#4830].
Removed
- Drop deprecated
pointcloudandheatmapgltraces from the API [#4815] - Drop
tenacitydependency [#4831] - Drop support for Jupyter Notebook version 6 and earlier [#4822]. The minimum supported version is now 7.0.0.
Updated
- Update Plotly.js from version 2.34.2 to version 3.0.0 See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated
plotly.graph_objectsmodule. Notable changes include:- Make offsetgroup work with barmode "stacked" and "relative" for bar traces [#7009]
- Drop support for deprecated attributes
titlefont,titleposition,titleside, andtitleoffset[#7212]. - Drop deprecated pointcloud and heatmapgl traces and gl2d subplots [#7213]
- Drop support for deprecated
bardirattribute (useorientationinstead) [#7214] - Drop support for deprecated
annotation.refattribute (useannotation.xrefandannotation.yrefinstead) [#7215] - Drop support for deprecated error bar
opacityattribute (use alpha channel of error barcolorattribute instead) [#7214] - Drop support for deprecated attribute
gl3d.cameraposition(usegl3d.camerainstead) [#7217] - Drop deprecated
plot3dPixelRatiofrom config [#7231] - Drop deprecated
zauto,zminandzmaxfrom the surface trace [#7234] - Drop deprecated
autotickattributes from cartesian axes [#7236] - Drop
transformsfrom the API [#7240, #7254]
- Deprecate Mapbox-based traces.[#4900]. See the MapLibre Migration page for details on migrating from Mapbox to Maplibre.
- Update plotly.py to use base64 encoding of typed arrays e.g. numpy in plotly JSON to keep precision intact and improve performance [#4470].
- Make plotly-express dataframe agnostic via Narwhals [#4790].
- Update
go.FigureWidgetto useanywidget[#4823] - Use modern native ES6 import to load plotly.js bundle instead of requirejs which is no longer under active development [#4736]