Skip to content

Commit cf33df5

Browse files
committed
Merge branch 'master' into patch-3
2 parents 4eaf495 + 24478b5 commit cf33df5

File tree

84 files changed

+344
-14238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+344
-14238
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 2.1
22
orbs:
3-
browser-tools: circleci/browser-tools@1.4.8
3+
browser-tools: circleci/browser-tools@1.5.1
44

55
# Inspired by:
66
# https://github.com/CircleCI-Public/circleci-demo-workflows/blob/workspace-forwarding/.circleci/config.yml

CHANGELOG.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To see all merged commits on the master branch that will be part of the next plo
99

1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

12-
## [3.0.0-rc.2] -- 2024-12-16
12+
## [3.0.0] -- 2025-01-27
1313

1414
### Removed
1515
- 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](https://github.com/plotly/plotly.js/pull/7212)]
@@ -639,7 +639,7 @@ Drop support for deprecated `bardir` attribute (use `orientation` instead) [[#72
639639
## [2.15.1] -- 2022-10-11
640640

641641
### Fixed
642-
- Fix latest version of plotly.js main module on npm
642+
- Fix latest version of plotly.js main module on npm
643643

644644

645645
## [2.15.0] -- 2022-10-06
@@ -658,9 +658,9 @@ Drop support for deprecated `bardir` attribute (use `orientation` instead) [[#72
658658
- Fix automargin to update axis titles in redraws [[#6312](https://github.com/plotly/plotly.js/pull/6312)]
659659
- Fix exporting patterns with transparent color [[#6318](https://github.com/plotly/plotly.js/pull/6318)]
660660
- Fix exporting text on empty slices [[#6335](https://github.com/plotly/plotly.js/pull/6335)]
661-
- Disable interactions for `treemap`, `icicle`, `sunburst`, `pie`, `funnelarea`,
661+
- Disable interactions for `treemap`, `icicle`, `sunburst`, `pie`, `funnelarea`,
662662
`parcats`, `parcoords` and `sankey` traces when `staticPlot` is set to true [[#6296](https://github.com/plotly/plotly.js/pull/6296)]
663-
663+
664664

665665
## [2.14.0] -- 2022-08-10
666666

CITATION.cff

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors:
99
- family-names: "Samimi"
1010
given-names: "Mojtaba"
1111
title: "Open source Plotly charting library"
12-
version: 3.0.0-rc.2
12+
version: 3.0.0
1313
doi: 10.5281/zenodo.13964707
14-
date-released: 2024-09-10
14+
date-released: 2025-01-27
1515
url: "https://github.com/plotly/plotly.js"

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
6262
6363
```html
6464
<head>
65-
<script src="https://cdn.plot.ly/plotly-3.0.0-rc.2.min.js" charset="utf-8"></script>
65+
<script src="https://cdn.plot.ly/plotly-3.0.0.min.js" charset="utf-8"></script>
6666
</head>
6767
<body>
6868
<div id="gd"></div>
@@ -79,7 +79,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
7979
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
8080
```html
8181
<script type="module">
82-
import "https://cdn.plot.ly/plotly-3.0.0-rc.2.min.js"
82+
import "https://cdn.plot.ly/plotly-3.0.0.min.js"
8383
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
8484
</script>
8585
```
@@ -89,7 +89,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
8989
### Un-minified versions are also available on CDN
9090
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
9191
```html
92-
<script src="https://cdn.plot.ly/plotly-3.0.0-rc.2.js" charset="utf-8"></script>
92+
<script src="https://cdn.plot.ly/plotly-3.0.0.js" charset="utf-8"></script>
9393
```
9494

9595
> Please note that as of v2 the "plotly-latest" outputs (e.g. https://cdn.plot.ly/plotly-latest.min.js) will no longer be updated on the CDN, and will stay at the last v1 patch v1.58.5. Therefore, to use the CDN with plotly.js v2 and higher, you must specify an exact plotly.js version.

dist/README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
4646
| 10.3 MB | 4.4 MB | 1.4 MB | 10.6 MB |
4747

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-3.0.0-rc.2.js
49+
> https://cdn.plot.ly/plotly-3.0.0.js
5050
51-
> https://cdn.plot.ly/plotly-3.0.0-rc.2.min.js
51+
> https://cdn.plot.ly/plotly-3.0.0.min.js
5252
5353

5454
#### npm packages
@@ -94,9 +94,9 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
9494
| 2.6 MB | 1008.8 kB | 349.3 kB |
9595

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-3.0.0-rc.2.js
97+
> https://cdn.plot.ly/plotly-basic-3.0.0.js
9898
99-
> https://cdn.plot.ly/plotly-basic-3.0.0-rc.2.min.js
99+
> https://cdn.plot.ly/plotly-basic-3.0.0.min.js
100100
101101

102102
#### npm packages
@@ -117,9 +117,9 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
117117
| 3.3 MB | 1.3 MB | 446.5 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-3.0.0-rc.2.js
120+
> https://cdn.plot.ly/plotly-cartesian-3.0.0.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-3.0.0-rc.2.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-3.0.0.min.js
123123
124124

125125
#### npm packages
@@ -140,9 +140,9 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
140140
| 2.9 MB | 1.1 MB | 398.8 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-3.0.0-rc.2.js
143+
> https://cdn.plot.ly/plotly-geo-3.0.0.js
144144
145-
> https://cdn.plot.ly/plotly-geo-3.0.0-rc.2.min.js
145+
> https://cdn.plot.ly/plotly-geo-3.0.0.min.js
146146
147147

148148
#### npm packages
@@ -163,9 +163,9 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
163163
| 4.1 MB | 1.5 MB | 513.8 kB |
164164

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-3.0.0-rc.2.js
166+
> https://cdn.plot.ly/plotly-gl3d-3.0.0.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-3.0.0-rc.2.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-3.0.0.min.js
169169
170170

171171
#### npm packages
@@ -186,9 +186,9 @@ The `gl2d` partial bundle contains trace modules `parcoords`, `scatter`, `scatte
186186
| 3.4 MB | 1.3 MB | 469.1 kB |
187187

188188
#### CDN links
189-
> https://cdn.plot.ly/plotly-gl2d-3.0.0-rc.2.js
189+
> https://cdn.plot.ly/plotly-gl2d-3.0.0.js
190190
191-
> https://cdn.plot.ly/plotly-gl2d-3.0.0-rc.2.min.js
191+
> https://cdn.plot.ly/plotly-gl2d-3.0.0.min.js
192192
193193

194194
#### npm packages
@@ -209,9 +209,9 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
209209
| 4.4 MB | 1.8 MB | 564.4 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-mapbox-3.0.0-rc.2.js
212+
> https://cdn.plot.ly/plotly-mapbox-3.0.0.js
213213
214-
> https://cdn.plot.ly/plotly-mapbox-3.0.0-rc.2.min.js
214+
> https://cdn.plot.ly/plotly-mapbox-3.0.0.min.js
215215
216216

217217
#### npm packages
@@ -232,9 +232,9 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
232232
| 2.8 MB | 1.1 MB | 383 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-3.0.0-rc.2.js
235+
> https://cdn.plot.ly/plotly-finance-3.0.0.js
236236
237-
> https://cdn.plot.ly/plotly-finance-3.0.0-rc.2.min.js
237+
> https://cdn.plot.ly/plotly-finance-3.0.0.min.js
238238
239239

240240
#### npm packages
@@ -255,9 +255,9 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
255255
| 11.1 MB | 4.8 MB | 1.4 MB |
256256

257257
#### CDN links
258-
> https://cdn.plot.ly/plotly-strict-3.0.0-rc.2.js
258+
> https://cdn.plot.ly/plotly-strict-3.0.0.js
259259
260-
> https://cdn.plot.ly/plotly-strict-3.0.0-rc.2.min.js
260+
> https://cdn.plot.ly/plotly-strict-3.0.0.min.js
261261
262262

263263
#### npm packages

dist/plotly-basic.js

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* plotly.js (basic) v3.0.0-rc.2
3-
* Copyright 2012-2024, Plotly, Inc.
2+
* plotly.js (basic) v3.0.0
3+
* Copyright 2012-2025, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
66
*/
@@ -38,7 +38,7 @@ var Plotly = (() => {
3838
var require_version = __commonJS({
3939
"src/version.js"(exports) {
4040
"use strict";
41-
exports.version = "3.0.0-rc.2";
41+
exports.version = "3.0.0";
4242
}
4343
});
4444

@@ -12768,11 +12768,14 @@ var Plotly = (() => {
1276812768
var style = document.getElementById(id);
1276912769
if (style) removeElement(style);
1277012770
}
12771-
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle) {
12771+
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle, element) {
1277212772
var activeStyleParts = activeStyle.split(":");
1277312773
var inactiveStyleParts = inactiveStyle.split(":");
1277412774
var eventAddedAttrName = "data-btn-style-event-added";
12775-
document.querySelectorAll(selector).forEach(function(el) {
12775+
if (!element) {
12776+
element = document;
12777+
}
12778+
element.querySelectorAll(selector).forEach(function(el) {
1277612779
if (!el.getAttribute(eventAddedAttrName)) {
1277712780
el.addEventListener("mouseenter", function() {
1277812781
var childEl = this.querySelector(childSelector);
@@ -13734,10 +13737,10 @@ var Plotly = (() => {
1373413737
}
1373513738
});
1373613739

13737-
// stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
13740+
// stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
1373813741
var maplibre_gl_exports = {};
1373913742
var init_maplibre_gl2 = __esm({
13740-
"stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
13743+
"stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
1374113744
init_maplibre_gl();
1374213745
}
1374313746
});
@@ -37154,7 +37157,6 @@ var Plotly = (() => {
3715437157
document.querySelectorAll(groupSelector).forEach(function(group) {
3715537158
group.style.backgroundColor = style.bgcolor;
3715637159
});
37157-
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color);
3715837160
var needsNewButtons = !this.hasButtons(buttons);
3715937161
var needsNewLogo = this.hasLogo !== context.displaylogo;
3716037162
var needsNewLocale = this.locale !== context.locale;
@@ -37176,6 +37178,7 @@ var Plotly = (() => {
3717637178
}
3717737179
}
3717837180
this.updateActiveButton();
37181+
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color, this.element);
3717937182
};
3718037183
proto.updateButtons = function(buttons) {
3718137184
var _this = this;

dist/plotly-basic.min.js

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-cartesian.js

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* plotly.js (cartesian) v3.0.0-rc.2
3-
* Copyright 2012-2024, Plotly, Inc.
2+
* plotly.js (cartesian) v3.0.0
3+
* Copyright 2012-2025, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
66
*/
@@ -38,7 +38,7 @@ var Plotly = (() => {
3838
var require_version = __commonJS({
3939
"src/version.js"(exports) {
4040
"use strict";
41-
exports.version = "3.0.0-rc.2";
41+
exports.version = "3.0.0";
4242
}
4343
});
4444

@@ -12768,11 +12768,14 @@ var Plotly = (() => {
1276812768
var style = document.getElementById(id);
1276912769
if (style) removeElement(style);
1277012770
}
12771-
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle) {
12771+
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle, element) {
1277212772
var activeStyleParts = activeStyle.split(":");
1277312773
var inactiveStyleParts = inactiveStyle.split(":");
1277412774
var eventAddedAttrName = "data-btn-style-event-added";
12775-
document.querySelectorAll(selector).forEach(function(el) {
12775+
if (!element) {
12776+
element = document;
12777+
}
12778+
element.querySelectorAll(selector).forEach(function(el) {
1277612779
if (!el.getAttribute(eventAddedAttrName)) {
1277712780
el.addEventListener("mouseenter", function() {
1277812781
var childEl = this.querySelector(childSelector);
@@ -13734,10 +13737,10 @@ var Plotly = (() => {
1373413737
}
1373513738
});
1373613739

13737-
// stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
13740+
// stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
1373813741
var maplibre_gl_exports = {};
1373913742
var init_maplibre_gl2 = __esm({
13740-
"stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
13743+
"stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
1374113744
init_maplibre_gl();
1374213745
}
1374313746
});
@@ -37154,7 +37157,6 @@ var Plotly = (() => {
3715437157
document.querySelectorAll(groupSelector).forEach(function(group) {
3715537158
group.style.backgroundColor = style.bgcolor;
3715637159
});
37157-
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color);
3715837160
var needsNewButtons = !this.hasButtons(buttons);
3715937161
var needsNewLogo = this.hasLogo !== context.displaylogo;
3716037162
var needsNewLocale = this.locale !== context.locale;
@@ -37176,6 +37178,7 @@ var Plotly = (() => {
3717637178
}
3717737179
}
3717837180
this.updateActiveButton();
37181+
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color, this.element);
3717937182
};
3718037183
proto.updateButtons = function(buttons) {
3718137184
var _this = this;

dist/plotly-cartesian.min.js

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-finance.js

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* plotly.js (finance) v3.0.0-rc.2
3-
* Copyright 2012-2024, Plotly, Inc.
2+
* plotly.js (finance) v3.0.0
3+
* Copyright 2012-2025, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
66
*/
@@ -42,7 +42,7 @@ var Plotly = (() => {
4242
var require_version = __commonJS({
4343
"src/version.js"(exports) {
4444
"use strict";
45-
exports.version = "3.0.0-rc.2";
45+
exports.version = "3.0.0";
4646
}
4747
});
4848

@@ -12772,11 +12772,14 @@ var Plotly = (() => {
1277212772
var style = document.getElementById(id);
1277312773
if (style) removeElement(style);
1277412774
}
12775-
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle) {
12775+
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle, element) {
1277612776
var activeStyleParts = activeStyle.split(":");
1277712777
var inactiveStyleParts = inactiveStyle.split(":");
1277812778
var eventAddedAttrName = "data-btn-style-event-added";
12779-
document.querySelectorAll(selector).forEach(function(el) {
12779+
if (!element) {
12780+
element = document;
12781+
}
12782+
element.querySelectorAll(selector).forEach(function(el) {
1278012783
if (!el.getAttribute(eventAddedAttrName)) {
1278112784
el.addEventListener("mouseenter", function() {
1278212785
var childEl = this.querySelector(childSelector);
@@ -13738,10 +13741,10 @@ var Plotly = (() => {
1373813741
}
1373913742
});
1374013743

13741-
// stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
13744+
// stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
1374213745
var maplibre_gl_exports = {};
1374313746
var init_maplibre_gl2 = __esm({
13744-
"stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
13747+
"stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
1374513748
init_maplibre_gl();
1374613749
}
1374713750
});
@@ -37158,7 +37161,6 @@ var Plotly = (() => {
3715837161
document.querySelectorAll(groupSelector).forEach(function(group) {
3715937162
group.style.backgroundColor = style.bgcolor;
3716037163
});
37161-
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color);
3716237164
var needsNewButtons = !this.hasButtons(buttons);
3716337165
var needsNewLogo = this.hasLogo !== context.displaylogo;
3716437166
var needsNewLocale = this.locale !== context.locale;
@@ -37180,6 +37182,7 @@ var Plotly = (() => {
3718037182
}
3718137183
}
3718237184
this.updateActiveButton();
37185+
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color, this.element);
3718337186
};
3718437187
proto.updateButtons = function(buttons) {
3718537188
var _this = this;

dist/plotly-finance.min.js

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-geo-assets.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)