Skip to content

Releases: plotly/plotly.py

v6.7.0

09 Apr 20:32

Choose a tag to compare

Added

  • Add facet_row support to px.imshow for creating subplots along an additional dimension [#5445], with thanks to @FBumann for the contribution!

Fixed

  • Update numpy.percentile syntax to stop using deprecated alias [#5483], with thanks to @Mr-Neutr0n for the contribution!
    • numpy with a version less than 1.22 is no longer supported.
  • Handle empty px.histogram by skipping None label in hover template [#5535], with thanks to @tysoncung for the contribution!

Updated

  • Update plotly.js from version 3.4.0 to version 3.5.0. See the plotly.js release notes for more information. [#5565]. Notable changes include:
    • Add hoveranywhere and clickanywhere layout attributes to enable emitting hover and click events anywhere in the plot area, not just over traces [#7707]
    • Add displayNotifier configuration property to set the display of notifier in the top right area of the viewport [#7730]
    • Update USA location lookup for scattergeo and choropleth traces to use both location names and abbreviations [#7731]

v6.6.0

02 Mar 21:07

Choose a tag to compare

Fixed

  • Remove unneeded type="text/javascript" attribute from <style> tag [#5454], with thanks to @hannob for the contribution!
  • Remove global warning format side effect [#5481], with thanks to @emmanuel-ferdman for the contribution!
  • Fix spurious engine deprecation warning in write_image [#5517], with thanks to @mosh3eb for the contribution!

Updated

  • Update plotly.js from version 3.3.1 to version 3.4.0. See the plotly.js release notes for more information. [#5527]. Notable changes include:
    • Add support for clicking legend titles to toggle visibility of all traces in legend [#7698]
    • Add support for shapes to reference multiple axes [#7666]
    • Add support for dashed marker lines in scatter plots [#7673]
    • Increase axis autorange when bar charts have outside text labels, to avoid labels being clipped [#7675]

Full Changelog: v6.5.2...v6.6.0

v6.5.2

14 Jan 21:25

Choose a tag to compare

Fixed

  • Fix issue where pie trace legend, showlegend attributes don't accept array values [#5464 and #5465], with thanks to @my-tien for the contribution!

v6.5.1

07 Jan 16:34

Choose a tag to compare

Fixed

  • Fix issue where Plotly Express ignored trace-specific color sequences defined in templates via template.data.<trace_type> [#5437], with thanks to @antonymilne for the contribution!

Updated

  • Speed up validate_gantt function [#5386], with thanks to @misrasaurabh1 for the contribution!
  • Update plotly.js from version 3.3.0 to version 3.3.1. See the plotly.js release notes for more information. [#5456]. Notable changes include:
    • Add support for arrays for the pie properties showlegend and legend, so that these can be configured per slice. [#7580]

v6.5.0

17 Nov 18:37

Choose a tag to compare

Updated

  • Update plotly.js from version 3.2.0 to version 3.3.0. See the plotly.js release notes for more information. [#5421]. Notable changes include:
    • Add hovertemplate for candlestick and ohlc traces [#7619]

Fixed

  • Fix bug where numpy datetime contained in Python list was converted to integer [#5415]

Full Changelog: v6.4.0...v6.5.0

v6.4.0

04 Nov 17:53

Choose a tag to compare

Updated

  • Update plotly.js from version 3.1.1 to version 3.2.0. See the plotly.js release notes for more information. [#5357]. Notable changes include:
    • Add hovertemplatefallback and texttemplatefallback attributes [#7577]
    • Add "SI extended" formatting rule for tick exponents on axis labels, allowing values to be displayed with extended SI prefixes (e.g., femto, pico, atto) [#7249]

Deprecated

  • Deprecate create_hexbin_mapbox in favor of create_hexbin_map, update related function calls [5358], with thanks to @ajlien for the contribution!

v6.3.1

02 Oct 15:58

Choose a tag to compare

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_yaxes to 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 when ipython is installed [#5258]

Full Changelog: v6.3.0...v6.3.1

v6.3.0

12 Aug 20:24

Choose a tag to compare

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

  • Resolved issue causing extraneous engine deprecation warnings [#5287], with thanks to @jdbeel for the contribution!

v6.2.0

26 Jun 16:24

Choose a tag to compare

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

27 May 20:20

Choose a tag to compare

Fixed

  • Fix type checking and code highlighting for graph_objects classes [#5199]