Releases: plotly/plotly.py
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
sync
tickmode 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
shift
andautoshift
to 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
scatter
trace i.e.alignmentgroup
,offsetgroup
,scattermode
andscattergap
[#6381],
this feature was anonymously sponsored: thank you to our sponsor! - Add
marker.cornerradius
attribute totreemap
trace [#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.angle
attribute now accepts iterables where appropriate [#4013]selector=0
now 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
,angleref
andstandoff
tomarker
and addbackoff
toline
; also introduce new arrow symbols to facilitate drawing networks [#6297] - Add
minreducedwidth
andminreducedheight
to layout for increasing control over automargin [#6307] - Add
entrywidth
andentrywidthmode
to 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
sankey
links with arrows - Add
selections
,newselection
andactiveselection
layout attributes to have persistent and editable selections over cartesian subplots - Add
unselected.line.color
andunselected.line.opacity
options toparcoords
trace - Display Plotly's new logo in the modebar
- Add support for
v5.9.0
Added
pattern_shape
options now available inpx.timeline()
#3774facet_*
andcategory_orders
now available inpx.pie()
#3775
Performance
px
methods no longer callgroupby
on 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
flaglist
attributes, to support upcoming changes toax.automargin
in 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)
v5.8.0
See the full release announcement on the forum at https://community.plotly.com/t/announcing-plotly-py-5-8-0-better-autocompletions-with-type-hints-minor-ticks/64002 !
Fixed
- Improve support for type checking and IDE auto-completion by bypassing lazy-loading when type checking. #3425 with thanks to @JP-Ellis
- line dash-style validators are now correctly used everywhere so that values like
10px 2px
are accepted #3722 - Resolved various deprecation warning messages and compatibility issues with upstream dependencies and Python 3.11, plus removed dependency on
six
, with thanks to @maresb, @hugovk, @tirkarthi, @martinRenou, and @BjoernLudwigPTB - Better support for MathJax 3 #3706
Added
- Type annotations for Plotly Express functions and chainable
go.Figure
methods, for better IDE auto-completion #3708
Updated
- Updated Plotly.js to from version 2.11.1 to version 2.12.1. See the plotly.js CHANGELOG for more information. Notable changes include:
- Add
minor
ticks to cartesian axes - Add
griddash
option to most axes
- Add
v5.7.0
See the full release announcement here: https://community.plotly.com/t/announcing-plotly-py-5-7-0-text-on-histograms-and-heatmaps-patterns-on-areas-plotly-js-version-number-access-smith-charts/62735
Added
- added
pattern_shape
options topx.area()
#3668
Updated
- Updated Plotly.js to from version 2.9.0 to version 2.11.1. See the plotly.js CHANGELOG for more information. Notable changes include:
- Add
fillpattern
options toscatter
trace - Various JS-specific improvements such as MathJax 3.0 support
- Add
v5.6.0
Updated
- Updated Plotly.js to from version 2.8.3 to version 2.9.0. See the plotly.js CHANGELOG for more information. Notable changes include:
- Implement
ticklabelstep
to reduce labels on cartesian axes and colorbars - Display the version of plotly.js when hovering over the modebar
- Implement