New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

plotly.js

Package Overview
Dependencies
Maintainers
10
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plotly.js - npm Package Versions

23
27

3.0.1

Diff

Changelog

Source

[3.0.1] -- 2025-02-18

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]
alexcjohnson
published 3.0.0 •

Changelog

Source

[3.0.0-rc.2] -- 2024-12-16

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]
archmoj
published 3.0.0-rc.2 •

archmoj
published 2.35.3 •

Changelog

Source

[2.35.3] -- 2024-12-13

Fixed

  • Set height and width on the .plotly-container div to 100% to fix gl3d rendering in Dash Enterprise apps [#7313]
archmoj
published 3.0.0-rc.1 •

Changelog

Source

[3.0.0-rc.1] -- 2024-11-27

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]
archmoj
published 3.0.0-rc.0 •

Changelog

Source

[3.0.0-rc.0] -- 2024-11-11

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]
archmoj
published 2.35.2 •

Changelog

Source

[2.35.2] -- 2024-09-10

Fixed

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

Changelog

Source

[2.35.1] -- 2024-09-09

Fixed

  • Fix rendering traces with zorder on overlayed subplots case of multiple traces in each subplot [#7141]
  • Fix missing CSS for map(maplibre) subplots when used offline [#7140], with thanks to @birkskyum for the contribution!
archmoj
published 2.35.0 •

Changelog

Source

[2.35.0] -- 2024-08-29

Added

  • Add new traces: scattermap, choroplethmap and densitymap and map subplots which use maplibre to render maps [#7015, #7060, #7085, #7088, #7090, #7092, #7094, #7134], with thanks to @birkskyum for the contribution!

Changed

  • Deprecate mapbox traces and mapbox subplot [#7087]
  • Drop obsolete npm v6 installation [#7095]
  • Use Node.js v18 and npm v10 in development [#7078]
  • Update npm lockfile to v3 [#7099]
  • Update turf to v7 [#7116]

Fixed

  • Fix centroid calculation in turf [#7115], with thanks to @birkskyum for the contribution!
  • Fix missing cursor for Ternary Plot[#7057], with thanks to @Lexachoc for the contribution!
  • Elaborate on the Custom Bundle guide [#7101]
archmoj
published 2.34.0 •

Changelog

Source

[2.34.0] -- 2024-07-18

Added

  • Add subtitle attribute to layout.title to enable adding subtitles to plots [#7012]
  • Introduce "u" and "s" pseudo html tags to add partial underline and strike-through styles to SVG text elements [#7043]
  • Add geometric mean functionality and 'geometric mean ascending' + 'geometric mean descending' to category_order on cartesian axes [#6223], with thanks to @acxz and @prabhathc for the contribution!
  • Add axis property ticklabelindex for drawing the label for each minor tick n positions away from a major tick, with thanks to @my-tien for the contribution! [#7036]
  • Add property ticklabelstandoff and ticklabelshift to cartesian axes to adjust positioning of tick labels, with thanks to @my-tien for the contribution! [#7006]
  • Add x0shift, x1shift, y0shift, y1shift to shapes to add control over positioning of shape vertices on (multi-)category axes, with thanks to @my-tien for the contribution! [#7005]

Fixed

  • Fix displaying scattergl traces while zooming or panning (regression introduced in 2.26.0) [#7018], with thanks to @eiriklv for the contribution!
  • Fix for excessive hoverlabel removal and overlap for plots with both scatter and bar traces [#6954], with thanks to @mbant for the contribution!
  • Fix adding cartesian "togglehover" when included in modebar.add [#5879], with thanks to @Sizurka for the contribution!
  • Handle zorder between overlaying cartesian subplots [#7032], This feature was anonymously sponsored: thank you to our sponsor!
23
27
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc