plotly/plotly.js
 Watch   
 Star   
 Fork   
2 days ago
plotly.js

v3.1.0-rc.1

Added

  • Add modebardisable attribute to cartesian axes, to allow fine control over which buttons affect which axes [#7358]
  • Add unifiedhovertitle.text to format unified hover titles [#7439]
  • Add layout.hoverlabel.showarrow (and trace.hoverlabel.showarrow) attribute to allow hiding the triangular caret that appears on the hover label box [#7451]
  • Add minorloglabels to cartesian axes [#7468]
  • Make modebar keyboard-accessible via tabbing [#7492], with thanks to @davidangarita1 for the contribution!

Changed

  • Refactor files related to UN topojson [#7481]

Fixed

  • Fix hidden ticklabels taking up plot space [#7417]
  • Fix editable shapes (regression introduced in 2.34.0) [#7470], with thanks to @my-tien for the contribution!
10 days ago
plotly.js

v3.0.3

Removed

  • Remove detailed description of font options [7348]
12 days ago
plotly.js

v3.0.2

Fixed

  • Fix installing dependencies in node v22 [#7381], with thanks to @chaigh-uk for the contribution!
  • Fix Persian calendar leap year [#7456]
  • Fix scroll wheel zoom for geo subplots in Safari [#7474]
  • Add method to check for WebKit WebView user agent string [#7479]
  • Fix edit colorbar title [7487]
19 days ago
plotly.js

v3.1.0-rc.0

Added

  • Add property zerolinelayer to cartesian axes to allow drawing zeroline above traces [#7269]
  • Add pattern.path attribute as an alternative to the preset pattern.shape values, so you can use any SVG path string as a pattern fill. [#7280]
  • Allow configuration of horizontal legend max height [#7359]
  • Add support for ticklabelposition "inside"/"outside" for category axes with tickson set to "boundaries" [#7420], with thanks to @my-tien for the contribution!

Changed

  • Switch to United Nations (coastlines, countries, land, ocean) + Natural Earth (lakes, rivers, subunits) geodata for building topojson used in geo plot [#7334]
  • Make 'png' all caps [#7400]

Fixed

  • Fix installing dependencies in node v22 [#7381], with thanks to @chaigh-uk for the contribution!
  • Fix performance warning in scattergl traces, [#7390], with thanks to @MzyzzG for the contribution!
  • Move css-loader and other dependencies into devDependencies section [#7407]
  • Fix Persian calendar leap year [#7456]
2025-02-19 00:12:37
plotly.js

v3.0.1

Changed

  • Update color-rgba from 2.1.1 to 3.0.0 to fix hsl color conversion bug [#7325]

Fixed

  • Fix click event handling for plots in shadow DOM elements [#7357]
  • Fix hoverlabels and other text labels with null values templated in [#7360]
  • Fix importing plotly.js via require on pages with AMD [#7367]
  • Update Romanian locale [#7351]
  • Update Italian locale [#4425]
  • Update Turkish locale [#7352]
2025-01-28 02:03:56
plotly.js

v3.0.0

Removed

  • Drop support for passing a string to the title attribute, and drop support for deprecated attributes titlefont, titleposition, titleside, and titleoffset (use title.text, title.font, title.side, title.offset instead)[#7212]
  • Drop deprecated pointcloud and heatmapgl traces and gl2d subplots [#7213] Drop support for deprecated bardir attribute (use orientation instead) [#7214]
  • Drop support for deprecated annotation.ref attribute (use annotation.xref and annotation.yref instead) [#7215]
  • Drop support for deprecated error bar opacity attribute (use alpha channel of error bar color attribute instead) [#7214]
  • Drop support for deprecated attribute gl3d.cameraposition (use gl3d.camera instead) [#7217]
  • Drop deprecated plot3dPixelRatio from config [#7231]
  • Drop deprecated zauto, zmin and zmax from the surface trace [#7234]
  • Drop deprecated autotick attributes from cartesian axes [#7236]
  • Drop transforms from the API [#7240, #7254]
  • Drop jQuery events support [#7224]
  • Drop the AMD support from the bundle header [#7229]

Changed

  • Switch from webpack to esbuild for fast builds & testing as well as allowing modern JavaScript beyond es5 [#6909]
  • Make offsetgroup work with barmode "stacked" and "relative" for bar traces [#7009]
  • Node v18 required for development [#7116]
  • Cleanup remaining code that was there to support the Internet Explorer [#7251]
  • Deprecate mapbox traces and provide links to migration docs for plotly.js and plotly.py users [#7260]

Fixed

  • Remove inline styles that break plots in strict CSP setups [#7109], with thanks to @martian111 for the contribution!
  • Allow null or broken selection objects without throwing an error [#7164]
  • Render scatterternary traces correctly if they have the ids attribute [#7164]
  • Do not convert url-sourced layout images to data URI unless we're in staticPlot mode, to improve interactivity when images are changed with zoom/pan [#7199]
  • Fix source map of the mablibre dependency [#7204]
  • Fix years in license [#7205]
  • Maintain layout images element identity based on coordinates, for smoother updates when you add or remove images early in the list. [#7277]
  • Fix handling of new domain values given in the Plotly.react function to prevent loss of new domain values. [#7283]
  • Fix distortions in sankey diagram links loops [#7272], with thanks to @giuseppe-straziota for the contribution!
  • Performance improvement for scattergl traces with many points [#7301], with thanks to @giuseppe-straziota for the contribution!
  • Set height and width on the .plotly-container div to 100% to fix gl3d rendering in Dash Enterprise apps [#7313]
2024-12-17 03:02:20
plotly.js

v3.0.0-rc.2

Removed

  • Drop support for passing a string to the title attribute, and drop support for deprecated attributes titlefont, titleposition, titleside, and titleoffset (use title.text, title.font, title.side, title.offset instead)[#7212]
  • Drop deprecated pointcloud and heatmapgl traces and gl2d subplots [#7213] Drop support for deprecated bardir attribute (use orientation instead) [#7214]
  • Drop support for deprecated annotation.ref attribute (use annotation.xref and annotation.yref instead) [#7215]
  • Drop support for deprecated error bar opacity attribute (use alpha channel of error bar color attribute instead) [#7214]
  • Drop support for deprecated attribute gl3d.cameraposition (use gl3d.camera instead) [#7217]
  • Drop deprecated plot3dPixelRatio from config [#7231]
  • Drop deprecated zauto, zmin and zmax from the surface trace [#7234]
  • Drop deprecated autotick attributes from cartesian axes [#7236]
  • Drop transforms from the API [#7240, #7254]
  • Drop jQuery events support [#7224]
  • Drop the AMD support from the bundle header [#7229]

Changed

  • Switch from webpack to esbuild for fast builds & testing as well as allowing modern JavaScript beyond es5 [#6909]
  • Make offsetgroup work with barmode "stacked" and "relative" for bar traces [#7009]
  • Node v18 required for development [#7116]
  • Cleanup remaining code that was there to support the Internet Explorer [#7251]
  • Deprecate mapbox traces and provide links to migration docs for plotly.js and plotly.py users [#7260]

Fixed

  • Remove inline styles that break plots in strict CSP setups [#7109], with thanks to @martian111 for the contribution!
  • Allow null or broken selection objects without throwing an error [#7164]
  • Render scatterternary traces correctly if they have the ids attribute [#7164]
  • Do not convert url-sourced layout images to data URI unless we're in staticPlot mode, to improve interactivity when images are changed with zoom/pan [#7199]
  • Fix source map of the mablibre dependency [#7204]
  • Fix years in license [#7205]
  • Maintain layout images element identity based on coordinates, for smoother updates when you add or remove images early in the list. [#7277]
  • Fix handling of new domain values given in the Plotly.react function to prevent loss of new domain values. [#7283]
  • Fix distortions in sankey diagram links loops [#7272], with thanks to @giuseppe-straziota for the contribution!
  • Performance improvement for scattergl traces with many points [#7301], with thanks to @giuseppe-straziota for the contribution!
  • Set height and width on the .plotly-container div to 100% to fix gl3d rendering in Dash Enterprise apps [#7313]
2024-12-14 13:03:25
plotly.js

v2.35.3

Fixed

  • Set height and width on the .plotly-container div to 100% [#7314]
2024-11-28 01:14:38
plotly.js

3.0.0-rc.1

Removed

  • Drop support for passing a string to the title attribute, and drop support for deprecated attributes titlefont, titleposition, titleside, and titleoffset (use title.text, title.font, title.side, title.offset instead)[#7212]
  • Drop deprecated pointcloud and heatmapgl traces and gl2d subplots [#7213] Drop support for deprecated bardir attribute (use orientation instead) [#7214]
  • Drop support for deprecated annotation.ref attribute (use annotation.xref and annotation.yref instead) [#7215]
  • Drop support for deprecated error bar opacity attribute (use alpha channel of error bar color attribute instead) [#7214]
  • Drop support for deprecated attribute gl3d.cameraposition (use gl3d.camera instead) [#7217]
  • Drop deprecated plot3dPixelRatio from config [#7231]
  • Drop deprecated zauto, zmin and zmax from the surface trace [#7234]
  • Drop deprecated autotick attributes from cartesian axes [#7236]
  • Drop transforms from the API [#7240, #7254]
  • Drop jQuery events support [#7224]
  • Drop the AMD support from the bundle header [#7229]

Changed

  • Switch from webpack to esbuild for fast builds & testing as well as allowing modern JavaScript beyond es5 [#6909]
  • Make offsetgroup work with barmode "stacked" and "relative" for bar traces [#7009]
  • Node v18 required for development [#7116]
  • Cleanup remaining code that was there to support the Internet Explorer [#7251]
  • Deprecate mapbox traces and provide links to migration docs for plotly.js and plotly.py users [#7260]

Fixed

  • Remove inline styles that break plots in strict CSP setups [#7109], with thanks to @martian111 for the contribution!
  • Allow null or broken selection objects without throwing an error [#7164]
  • Render scatterternary traces correctly if they have the ids attribute [#7164]
  • Do not convert url-sourced layout images to data URI unless we're in staticPlot mode, to improve interactivity when images are changed with zoom/pan [#7199]
  • Fix source map of the mablibre dependency [#7204]
  • Fix years in license [#7205]
  • Maintain layout images element identity based on coordinates, for smoother updates when you add or remove images early in the list. [#7277]
  • Fix handling of new domain values given in the Plotly.react function to prevent loss of new domain values. [#7283]
2024-09-11 04:47:09
plotly.js

v2.35.2

Fixed

  • Fix require path to maplibre-gl.css (regression introduced in 2.35.1) [#7146], with thanks to @birkskyum for the contribution!