Skip to content

Releases: plotly/plotly.py

v5.8.1

08 Jun 14:42
Compare
Choose a tag to compare

(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

11 May 01:36
Compare
Choose a tag to compare

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

v5.7.0

05 Apr 16:31
Compare
Choose a tag to compare

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 to px.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 to scatter trace
    • Various JS-specific improvements such as MathJax 3.0 support

v5.6.0

09 Feb 18:43
Compare
Choose a tag to compare

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

v5.5.0

21 Dec 03:50
Compare
Choose a tag to compare

Added

  • text_auto argument 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_id argument to pio.to_html, pio.write_html, fig.to_html and fig.write_html to optionally make its IDs deterministic #3487 with thanks to @Skn0tt

Fixed

  • Fixed ValueError when ff.create_annotated_heatmap passes rgba() colors into to_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
    • texttemplate for histogram-like and heatmap-like traces

v5.4.0

15 Nov 14:40
Compare
Choose a tag to compare

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 smith that supports scattersmith trace types for visualizing data in the complex domain
    • Changes to Plotly.js packaging

v5.3.1

01 Sep 01:27
Compare
Choose a tag to compare

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

30 Aug 01:22
Compare
Choose a tag to compare
  • 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_objects module. Notable changes include:
    • Added legend.groupclick options
    • Provide bbox of hover items in event data

v5.2.2

23 Aug 19:15
Compare
Choose a tag to compare

Fixed

  • Fixed error when using the orjson engine with non-string keys #3351

v5.2.1

14 Aug 01:46
Compare
Choose a tag to compare

See the full release announcement here: https://community.plotly.com/t/announcing-plotly-py-5-2-1-trendlines-ecdf-plots-markers-on-lines-sharper-webgl-legend-group-titles/55681

Updated

  • Updated Plotly.js to from version 2.2.0 to version 2.3.1. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include:
    • new projections in geo subplots from a more recent version of d3-geo
    • new number-formatting directives from a more recent version of d3-format
    • Improve rendering of scattergl, splom and parcoords by implementing plotGlPixelRatio for those traces
    • performance improvements and bug fixes

Added

  • Extra flags were added to the gapminder and stocks dataset to facilitate testing, documentation and demos #3305
  • All line-like Plotly Express functions now accept markers argument to display markers, and all but line_mapbox accept symbol to map a field to the symbol attribute, similar to scatter-like functions #3326
  • px.scatter and px.density_contours now support new trendline types 'rolling', 'expanding' and 'ewm' #2997
  • px.scatter and px.density_contours now support new trendline_options argument to parameterize trendlines, with support for constant control and log-scaling in 'ols' and specification of the fraction used for 'lowess', as well as pass-through to Pandas for 'rolling', 'expanding' and 'ewm' #2997
  • px.scatter and px.density_contours now support new trendline_scope argument that accepts the value 'overall' to request a single trendline for all traces, including across facets and animation frames #2997
  • A new px.ecdf() function for Empirical Cumulative Distribution Functions #3330

Fixed

  • Fixed regression introduced in version 5.0.0 where pandas/numpy arrays with dtype of Object were being converted to list values when added to a Figure (#3292, #3293)
  • Better detection of Chrome and Chromium browsers in the Renderers framework, especially on Linux (#3278) with thanks to @c-chaitanya for the contribution