Skip to content

Commit fcacb30

Browse files
committed
Merge remote-tracking branch 'origin/master' into finalist-cluster-scattermapbox
2 parents d8d97bc + e377c38 commit fcacb30

File tree

275 files changed

+231666
-199425
lines changed

Some content is hidden

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

275 files changed

+231666
-199425
lines changed

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,9 @@ jobs:
293293
command: .circleci/env_image.sh
294294
- run:
295295
name: Install poppler-utils to have pdftops for exporting eps
296-
command: sudo apt-get install poppler-utils
296+
command: |
297+
sudo apt-get update --allow-releaseinfo-change
298+
sudo apt-get install poppler-utils
297299
- run:
298300
name: Create svg, jpg, jpeg, webp, pdf and eps files
299301
command: python3 test/image/make_exports.py

CHANGELOG.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,89 @@ 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+
## [2.15.1] -- 2022-10-11
13+
14+
### Fixed
15+
- Fix latest version of plotly.js main module on npm
16+
17+
18+
## [2.15.0] -- 2022-10-06
19+
20+
### Added
21+
- Add `angle`, `angleref` and `standoff` to `marker` and add `backoff` to `line`; also introduce new arrow symbols to facilitate drawing networks [[#6297](https://github.com/plotly/plotly.js/pull/6297)]
22+
- Add `minreducedwidth` and `minreducedheight` to layout for increasing control over automargin [[#6307](https://github.com/plotly/plotly.js/pull/6307)]
23+
- Add `entrywidth` and `entrywidthmode` to legend [[#6202](https://github.com/plotly/plotly.js/pull/6202), [#6324](https://github.com/plotly/plotly.js/pull/6324)]
24+
25+
### Changed
26+
- Use valType of `angle` for `rotation` in `pie` [[#6304](https://github.com/plotly/plotly.js/pull/6304)]
27+
28+
### Fixed
29+
- Fix mapbox `touch event` after switching back from select mode [[#6281](https://github.com/plotly/plotly.js/pull/6281)],
30+
with thanks to @mmtmr for the contribution!
31+
- Fix automargin to update axis titles in redraws [[#6312](https://github.com/plotly/plotly.js/pull/6312)]
32+
- Fix exporting patterns with transparent color [[#6318](https://github.com/plotly/plotly.js/pull/6318)]
33+
- Fix exporting text on empty slices [[#6335](https://github.com/plotly/plotly.js/pull/6335)]
34+
- Disable interactions for `treemap`, `icicle`, `sunburst`, `pie`, `funnelarea`,
35+
`parcats`, `parcoords` and `sankey` traces when `staticPlot` is set to true [[#6296](https://github.com/plotly/plotly.js/pull/6296)]
36+
37+
38+
## [2.14.0] -- 2022-08-10
39+
40+
### Added
41+
- Add support for sankey links with arrows [[#6276](https://github.com/plotly/plotly.js/pull/6276)],
42+
with thanks to @Andy2003 for the contribution!
43+
- Add `editSelection` option to config [[#6285](https://github.com/plotly/plotly.js/pull/6285)]
44+
45+
### Changed
46+
- Update dutch translations and fix dateMonth format for `nl` locale to confirm with expected nl format [[#6261](https://github.com/plotly/plotly.js/pull/6261)],
47+
with thanks to @eirvandelden for the contribution!
48+
49+
50+
## [2.13.3] -- 2022-07-25
51+
52+
### Fixed
53+
- Emit plotly_selected event on plot API calls and GUI edits [[#6277](https://github.com/plotly/plotly.js/pull/6277)]
54+
55+
56+
## [2.13.2] -- 2022-07-21
57+
58+
### Fixed
59+
- Fix `sankey` select error (regression introduced in 2.13.0) [[#6265](https://github.com/plotly/plotly.js/pull/6265)]
60+
- Handle missing drag layer of invisible `sankey` traces to fix select error [[#6267](https://github.com/plotly/plotly.js/pull/6267)]
61+
- Emit selection event in shape drawing `dragmode`s when an existing selection is modified [[#6262](https://github.com/plotly/plotly.js/pull/6262)]
62+
63+
64+
## [2.13.1] -- 2022-07-14
65+
66+
### Fixed
67+
- Avoid attaching `selections` to undefined eventData (regression introduced in 2.13.0) [[#6260](https://github.com/plotly/plotly.js/pull/6260)]
68+
69+
70+
## [2.13.0] -- 2022-07-14
71+
72+
### Added
73+
- Add `selections`, `newselection` and `activeselection` layout attributes to have
74+
persistent and editable selections over cartesian subplots [[#6243](https://github.com/plotly/plotly.js/pull/6243)]
75+
- Add `unselected.line.color` and `unselected.line.opacity` options to `parcoords` trace [[#6216](https://github.com/plotly/plotly.js/pull/6216), [#6236](https://github.com/plotly/plotly.js/pull/6236)]
76+
- Add "exclusive" and "inclusive" quartile-computing algorithm to `violin` trace
77+
via `quartilemethod` attribute [[#6187](https://github.com/plotly/plotly.js/pull/6187)]
78+
- Add flaglist options including "left", "right", "top", "bottom", "width" and "height"
79+
to control the direction of `automargin` on cartesian axes [[#6193](https://github.com/plotly/plotly.js/pull/6193)]
80+
- Add `delta.prefix` and `delta.suffix` to `indicator` trace [[#6246](https://github.com/plotly/plotly.js/pull/6246)],
81+
with thanks to @paulovieira for the contribution!
82+
- Add official Chinese (Taiwan) translation (locale `zh-tw`) [[#6247](https://github.com/plotly/plotly.js/pull/6247)],
83+
with thanks to @sec2 for the contribution!
84+
- Add official Sinhala translation (locale `si`) [[#6238](https://github.com/plotly/plotly.js/pull/6238)],
85+
with thanks to @sujithranga for the contribution!
86+
87+
### Changed
88+
- Display Plotly's new logo in the modebar [[#6232](https://github.com/plotly/plotly.js/pull/6232)]
89+
90+
### Fixed
91+
- Fix undesirable missing hover labels of `box` & `violin` traces [[#6189](https://github.com/plotly/plotly.js/pull/6189)]
92+
- Fix `xref` description of `shapes` [[#6194](https://github.com/plotly/plotly.js/pull/6194)]
93+
94+
1295
## [2.12.1] -- 2022-05-09
1396

1497
### Fixed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
5555
5656
```html
5757
<head>
58-
<script src="https://cdn.plot.ly/plotly-2.12.1.min.js"></script>
58+
<script src="https://cdn.plot.ly/plotly-2.15.1.min.js"></script>
5959
</head>
6060
<body>
6161
<div id="gd"></div>
@@ -72,7 +72,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
7272
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
7373
```html
7474
<script type="module">
75-
import "https://cdn.plot.ly/plotly-2.12.1.min.js"
75+
import "https://cdn.plot.ly/plotly-2.15.1.min.js"
7676
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
7777
</script>
7878
```
@@ -82,18 +82,19 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
8282
### Un-minified versions are also available on CDN
8383
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
8484
```html
85-
<script src="https://cdn.plot.ly/plotly-2.12.1.js" charset="utf-8"></script>
85+
<script src="https://cdn.plot.ly/plotly-2.15.1.js" charset="utf-8"></script>
8686
```
8787

8888
> 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.
8989
90-
To support MathJax, you could load either version two or version three of MathJax files, for example:
90+
### MathJax
91+
You could load either version two or version three of MathJax files, for example:
9192
```html
9293
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG.js"></script>
9394
```
9495

9596
```html
96-
<script src="https://cdn.jsdelivr.net/npm/mathjax@3.2.0/es5/tex-svg.js"></script>
97+
<script src="https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-svg.js"></script>
9798
```
9899

99100
> When using MathJax version 3, it is also possible to use `chtml` output on the other parts of the page in addition to `svg` output for the plotly graph.

build/plotcss.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ var rules = {
4848
"X [data-title]:after": "content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;",
4949
"X .vertical [data-title]:before,X .vertical [data-title]:after": "top:0%;right:200%;",
5050
"X .vertical [data-title]:before": "border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",
51-
"X .select-outline": "fill:none;stroke-width:1;shape-rendering:crispEdges;",
52-
"X .select-outline-1": "stroke:#fff;",
53-
"X .select-outline-2": "stroke:#000;stroke-dasharray:2px 2px;",
5451
Y: "font-family:\"Open Sans\",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;",
5552
"Y p": "margin:0;",
5653
"Y .notifier-note": "min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;",

dist/README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ The main plotly.js bundles weight in at:
4343

4444
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
4545
|-----------|---------------|----------------------|---------------------|
46-
| 8.3 MB | 3.5 MB | 1 MB | 8.6 MB |
46+
| 8.4 MB | 3.5 MB | 1 MB | 8.7 MB |
4747

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

5454
#### npm packages
@@ -91,12 +91,12 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
9191

9292
| Raw size | Minified size | Minified + gzip size |
9393
|------|-----------------|------------------------|
94-
| 2.7 MB | 982.5 kB | 320.1 kB |
94+
| 2.8 MB | 1004.5 kB | 326.8 kB |
9595

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

102102
#### npm packages
@@ -114,12 +114,12 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
114114

115115
| Raw size | Minified size | Minified + gzip size |
116116
|------|-----------------|------------------------|
117-
| 3.3 MB | 1.2 MB | 393.2 kB |
117+
| 3.4 MB | 1.2 MB | 400.1 kB |
118118

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

125125
#### npm packages
@@ -137,12 +137,12 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
137137

138138
| Raw size | Minified size | Minified + gzip size |
139139
|------|-----------------|------------------------|
140-
| 3.1 MB | 1.1 MB | 362.8 kB |
140+
| 3.1 MB | 1.1 MB | 369.6 kB |
141141

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

148148
#### npm packages
@@ -160,12 +160,12 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
160160

161161
| Raw size | Minified size | Minified + gzip size |
162162
|------|-----------------|------------------------|
163-
| 3.9 MB | 1.5 MB | 483.8 kB |
163+
| 3.9 MB | 1.6 MB | 490.5 kB |
164164

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

171171
#### npm packages
@@ -183,12 +183,12 @@ The `gl2d` partial bundle contains trace modules `heatmapgl`, `parcoords`, `poin
183183

184184
| Raw size | Minified size | Minified + gzip size |
185185
|------|-----------------|------------------------|
186-
| 4.4 MB | 1.8 MB | 576 kB |
186+
| 4.5 MB | 1.8 MB | 583 kB |
187187

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

194194
#### npm packages
@@ -206,12 +206,12 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
206206

207207
| Raw size | Minified size | Minified + gzip size |
208208
|------|-----------------|------------------------|
209-
| 4.4 MB | 1.7 MB | 517 kB |
209+
| 4.4 MB | 1.7 MB | 523.8 kB |
210210

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

217217
#### npm packages
@@ -229,12 +229,12 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
229229

230230
| Raw size | Minified size | Minified + gzip size |
231231
|------|-----------------|------------------------|
232-
| 2.9 MB | 1.1 MB | 352.8 kB |
232+
| 3 MB | 1.1 MB | 359.5 kB |
233233

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

240240
#### npm packages
@@ -252,12 +252,12 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
252252

253253
| Raw size | Minified size | Minified + gzip size |
254254
|------|-----------------|------------------------|
255-
| 8.8 MB | 3.8 MB | 1.1 MB |
255+
| 8.8 MB | 3.9 MB | 1.1 MB |
256256

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

263263
#### npm packages

0 commit comments

Comments
 (0)