Releases: plotly/plotly.py
Releases · plotly/plotly.py
v5.14.1
v5.14.0
Updated
- Updated Plotly.js from version 2.18.2 to version 2.20.0. See the plotly.js CHANGELOG for more information. Notable changes include:
- Add
title.automarginto enable automatic top and bottom margining for both container and paper referenced titles [#6428],
with thanks to Gamma Technologies for sponsoring the related development. - Add
labelattribute to shapes [#6454], with thanks to the Volkswagen Center of Excellence for Battery Systems for sponsoring development! - Add
labelaliasto various axes namely cartesian, gl3d, polar, smith, ternary, carpet,
indicator and colorbar [#6481],
this feature was anonymously sponsored: thank you to our sponsor!
- Add
- Key errors no longer precalculated when performing updates on plots [#4101]
Fixed
- Fixed an issue with characters displaying incorrectly, by adding
charset="utf-8"to scripts into_html[#4114] - Added
packagingto install requirements, fixing aNo module named 'packagingerror on Python 3.6 [#4113]
Added
- Added option to allow passing a column name as a
strinhover_dataandcustom_datainplotly.express[4083]
v5.13.1
Updated
- Updated Plotly.js to from version 2.18.0 to version 2.18.2. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated
plotly.graph_objectsmodule. - Updated distutils.Version to packaging.Version #3897] and #4055]
v5.13.0
See the full release announcement with graphical examples on the forum: https://community.plotly.com/t/announcing-plotly-py-5-13-0-grouped-scatter-new-markers-and-marker-angles-sankey-links-with-arrows/72205
Updated
- Updated Plotly.js to from version 2.17.1 to version 2.18.0. See the plotly.js CHANGELOG for more information. Notable changes include:
- Add
synctickmode option [#6356, #6443], with thanks to @filipesantiagoAM and @VictorBezak for the contribution!
- Add
- Build process now uses Node 18.x and version 2 lockfile (should be an invisible change for users) [#4034]
Fixed
v5.12.0
Updated
- Support for ipywidgets 8 [#3930]
- Updated Plotly.js to from version 2.16.1 to version 2.17.1. See the plotly.js CHANGELOG for more information. Notable changes include:
- Add
shiftandautoshiftto cartesian y axes to help avoid overlapping of multiple axes [#6334],
with thanks to Gamma Technologies for sponsoring the related development! - Introduce group attributes for
scattertrace i.e.alignmentgroup,offsetgroup,scattermodeandscattergap[#6381],
this feature was anonymously sponsored: thank you to our sponsor! - Add
marker.cornerradiusattribute totreemaptrace [#6351]
- Add
Fixed
- Fixed the usage of some deprecated NumPy types which were removed in NumPy 1.24 [#3997]
- Fixed bug for trendlines with datetime axes [#3683]
marker.angleattribute now accepts iterables where appropriate [#4013]selector=0now correctly returns the first trace in.select_traces()and related methods [#3817]
v5.11.0
Updated
- Updated Plotly.js to from version 2.14.0 to version 2.16.1. See the plotly.js CHANGELOG for more information. Notable changes include:
- Add clustering options to
scattermapbox[#5827],
with thanks to @elben10 for the contribution! - Add bounds to mapbox suplots [6339]
- Add
angle,anglerefandstandofftomarkerand addbackofftoline; also introduce new arrow symbols to facilitate drawing networks [#6297] - Add
minreducedwidthandminreducedheightto layout for increasing control over automargin [#6307] - Add
entrywidthandentrywidthmodeto legend [#6202, #6324]
- Add clustering options to
v5.10.0
Updated
- Updated Plotly.js to from version 2.12.1 to version 2.14.0. See the plotly.js CHANGELOG for more information. Notable changes include:
- Add support for
sankeylinks with arrows - Add
selections,newselectionandactiveselectionlayout attributes to have persistent and editable selections over cartesian subplots - Add
unselected.line.colorandunselected.line.opacityoptions toparcoordstrace - Display Plotly's new logo in the modebar
- Add support for
v5.9.0
Added
pattern_shapeoptions now available inpx.timeline()#3774facet_*andcategory_ordersnow available inpx.pie()#3775
Performance
pxmethods no longer callgroupbyon the input dataframe when the result would be a single group, and no longer groups by a lambda, for significant speedups #3765 with thanks to @jvdd
Updated
- Allow non-string extras in
flaglistattributes, to support upcoming changes toax.automarginin plotly.js plotly.js#6193, #3749
v5.8.2
v5.8.1
(no changes in this release due a build-process error, please see https://github.com/plotly/plotly.py/releases/tag/v5.8.2 for the changes that were initially reported to be in this build)

