Releases: plotly/plotly.py
v5.9.0
Added
- pattern_shapeoptions now available in- px.timeline()#3774
- facet_*and- category_ordersnow available in- px.pie()#3775
Performance
- pxmethods no longer call- groupbyon 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)
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 2pxare 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.Figuremethods, 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 minorticks to cartesian axes
- Add griddashoption 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_shapeoptions 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 fillpatternoptions toscattertrace
- 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 ticklabelstepto reduce labels on cartesian axes and colorbars
- Display the version of plotly.js when hovering over the modebar
 
- Implement 
v5.5.0
Added
- text_autoargument to- px.bar,- px.histogram,- px.density_heatmap,- px.imshow#3518
- Deprecated ff.create_annotated_heatmap,ff.create_county_choropleth,ff.create_gantt#3518
- div_idargument to- pio.to_html,- pio.write_html,- fig.to_htmland- fig.write_htmlto optionally make its IDs deterministic #3487 with thanks to @Skn0tt
Fixed
- Fixed ValueError when ff.create_annotated_heatmappassesrgba()colors intoto_rgb_color_list#3478 with thanks to @janosh
Updated
- Updated Plotly.js to from version 2.6.3 to version 2.8.3. See the plotly.js CHANGELOG for more information. Notable changes include:
- Horizontal color bars
- texttemplatefor histogram-like and heatmap-like traces
 
v5.4.0
Fixed
- Fixed error when serializing dict with mix of string and non-string keys #3380
Updated
- The JSON serialization engines no longer sort their keys #3380
- Updated Plotly.js to from version 2.4.2 to version 2.6.3. See the plotly.js CHANGELOG for more information. Notable changes include:
- New subplot type smiththat supportsscattersmithtrace types for visualizing data in the complex domain
- Changes to Plotly.js packaging
 
- New subplot type 
v5.3.1
Updated
Updated Plotly.js to from version 2.4.1 to version 2.4.2. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include:
- Bug fix for rendering unified hover labels in classic Jupyter Notebooks
v5.3.0
- Updated Plotly.js to from version 2.3.1 to version 2.4.1. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objectsmodule. Notable changes include:- Added legend.groupclickoptions
- Provide bbox of hover items in event data
 
- Added