Skip to content

Commit dbf1bd4

Browse files
Merge branch 'master' into issue-4958
2 parents 7f5300c + 6583929 commit dbf1bd4

File tree

128 files changed

+12981
-5402
lines changed

Some content is hidden

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

128 files changed

+12981
-5402
lines changed

.github/FUNDING.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# These are supported funding model platforms
2-
2+
github: plotly
33
custom: https://plot.ly/products/consulting-and-oem/

CHANGELOG.md

+32-4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,30 @@ 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+
## [1.56.0] -- 2020-09-30
13+
14+
### Added
15+
- Introduce period positioning attributes on date axes in various cartesian traces [#5074, #5175],
16+
this feature was anonymously sponsored: thank you to our sponsor!
17+
- Add `minexponent` attribute to improve control over SI prefixes in axis tick labels [#5121],
18+
with thanks to @ignamv for the contribution!
19+
- Add `sort` attribute to `sunburst` and `treemap` traces to disable automatic sort [#5164],
20+
with thanks to @thierryVergult for the contribution!
21+
- Handle `rgba` colors in `colorscale` of `surface` traces [#5166],
22+
with thanks to @lucapinello for the contribution!
23+
24+
### Changed
25+
- Disable undesirable text selections on graphs [#5165]
26+
- Adjust `tick0` for weekly periods [#5180]
27+
- More informative error messages when creating `sunburst` and `treemap` charts [#5163]
28+
29+
### Fixed
30+
- Fix positioning `legend` items [#5139],
31+
with thanks to @fredrikw for the contribution!
32+
- Fix rounding big numbers in `pie` and `sunburst` traces [#5152]
33+
- Display `marker` and `line` colors in `scatter3d` and `scattergl` when hovering [#4867]
34+
35+
1236
## [1.55.2] -- 2020-09-08
1337

1438
### Fixed
@@ -24,8 +48,10 @@ where X.Y.Z is the semver of most recent plotly.js release.
2448
## [1.55.0] -- 2020-09-02
2549

2650
### Added
27-
- Introduce "period" `ticklabelmode` on cartesian date axes [#4993, #5055, #5060, #5065, #5088, #5089]
28-
- Add new formatting options for weeks and quarters [#5026]
51+
- Introduce "period" `ticklabelmode` on cartesian date axes [#4993, #5055, #5060, #5065, #5088, #5089],
52+
this feature was anonymously sponsored: thank you to our sponsor!
53+
- Add new formatting options for weeks and quarters [#5026],
54+
this feature was anonymously sponsored: thank you to our sponsor!
2955
- Add `source` attribute to `image` traces for fast rendering [#5075]
3056
- Add `zsmooth` attribute for discrete `heatmapgl` traces [#4953], with thanks to @ordiology for the contribution!
3157
- Add horizontal and vertical markers for arrow charts [#5010]
@@ -155,8 +181,10 @@ where X.Y.Z is the semver of most recent plotly.js release.
155181

156182
### Added
157183
- Introduce `rangebreaks` on date axes mainly thanks to [#4614] with API revision & improvements in
158-
[#4639, #4641, #4644, #4649, #4652, #4653, #4660, #4661, #4670, #4677, #4684, #4688, #4695, #4696, #4698, #4699]
159-
- Introduce "(x|y) unified" `hovermode` [#4620, #4664, #4669, #4687]
184+
[#4639, #4641, #4644, #4649, #4652, #4653, #4660, #4661, #4670, #4677, #4684, #4688, #4695, #4696, #4698, #4699],
185+
this feature was anonymously sponsored: thank you to our sponsor!
186+
- Introduce "(x|y) unified" `hovermode` [#4620, #4664, #4669, #4687],
187+
this feature was anonymously sponsored: thank you to our sponsor!
160188
- Add "hovered data" mode to `spikesnap` [#4665]
161189
- Add "full-json" export format to `Plotly.toImage` and `Plotly.dowloadImage` [#4593]
162190
- Add `node.customdata` and `link.customdata` to `sankey` traces [#4621]

dist/README.md

+25-25
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ object. This property must be set before the plotly.js script tag, for example:
5151
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
5252
Many other localizations are available - here is an example using Swiss-German (de-CH),
5353
see the contents of this directory for the full list.
54-
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.55.2.js
54+
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.56.0.js
5555
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.
5656

5757
*After* the plotly.js script tag, add:
@@ -74,12 +74,12 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
7474

7575
It be can imported as minified javascript
7676
- using dist file `dist/plotly.min.js`
77-
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.55.2.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.56.0.min.js
7878

7979
or as raw javascript:
8080
- using the `plotly.js-dist` npm package (starting in `v1.39.0`)
8181
- using dist file `dist/plotly.js`
82-
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.55.2.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.56.0.js
8383
- using CommonJS with `require('plotly.js')`
8484

8585
If you would like to have access to the attribute meta information (including attribute descriptions as on the [schema reference page](https://plotly.com/javascript/reference/)), use dist file `dist/plotly-with-meta.js`
@@ -88,7 +88,7 @@ The main plotly.js bundle weights in at:
8888

8989
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
9090
|-----------|---------------|----------------------|---------------------|
91-
| 7.1 MB | 3.3 MB | 997.5 kB | 7.4 MB |
91+
| 7.1 MB | 3.3 MB | 999.3 kB | 7.4 MB |
9292

9393
## Partial bundles
9494

@@ -114,16 +114,16 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.
114114

115115
| Raw size | Minified size | Minified + gzip size |
116116
|------|-----------------|------------------------|
117-
| 2.5 MB | 907.8 kB | 298.2 kB |
117+
| 2.5 MB | 910.3 kB | 299.2 kB |
118118

119119
#### CDN links
120120

121121
| Flavor | URL |
122122
| ------ | --- |
123123
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
124124
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
125-
| Tagged | https://cdn.plot.ly/plotly-basic-1.55.2.js |
126-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.55.2.min.js |
125+
| Tagged | https://cdn.plot.ly/plotly-basic-1.56.0.js |
126+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.56.0.min.js |
127127

128128
#### npm package (starting in `v1.39.0`)
129129

@@ -167,16 +167,16 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `
167167

168168
| Raw size | Minified size | Minified + gzip size |
169169
|------|-----------------|------------------------|
170-
| 2.9 MB | 1 MB | 350.6 kB |
170+
| 3 MB | 1.1 MB | 351.9 kB |
171171

172172
#### CDN links
173173

174174
| Flavor | URL |
175175
| ------ | --- |
176176
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
177177
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
178-
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.55.2.js |
179-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.55.2.min.js |
178+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.56.0.js |
179+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.56.0.min.js |
180180

181181
#### npm package (starting in `v1.39.0`)
182182

@@ -220,16 +220,16 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho
220220

221221
| Raw size | Minified size | Minified + gzip size |
222222
|------|-----------------|------------------------|
223-
| 2.6 MB | 934.8 kB | 307.9 kB |
223+
| 2.6 MB | 936.9 kB | 308.5 kB |
224224

225225
#### CDN links
226226

227227
| Flavor | URL |
228228
| ------ | --- |
229229
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
230230
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
231-
| Tagged | https://cdn.plot.ly/plotly-geo-1.55.2.js |
232-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.55.2.min.js |
231+
| Tagged | https://cdn.plot.ly/plotly-geo-1.56.0.js |
232+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.56.0.min.js |
233233

234234
#### npm package (starting in `v1.39.0`)
235235

@@ -273,16 +273,16 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac
273273

274274
| Raw size | Minified size | Minified + gzip size |
275275
|------|-----------------|------------------------|
276-
| 3.6 MB | 1.4 MB | 456.2 kB |
276+
| 3.6 MB | 1.4 MB | 456.8 kB |
277277

278278
#### CDN links
279279

280280
| Flavor | URL |
281281
| ------ | --- |
282282
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
283283
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
284-
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.55.2.js |
285-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.55.2.min.js |
284+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.56.0.js |
285+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.56.0.min.js |
286286

287287
#### npm package (starting in `v1.39.0`)
288288

@@ -326,16 +326,16 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`
326326

327327
| Raw size | Minified size | Minified + gzip size |
328328
|------|-----------------|------------------------|
329-
| 3.6 MB | 1.5 MB | 478.5 kB |
329+
| 3.6 MB | 1.5 MB | 479.5 kB |
330330

331331
#### CDN links
332332

333333
| Flavor | URL |
334334
| ------ | --- |
335335
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
336336
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
337-
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.55.2.js |
338-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.55.2.min.js |
337+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.56.0.js |
338+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.56.0.min.js |
339339

340340
#### npm package (starting in `v1.39.0`)
341341

@@ -379,16 +379,16 @@ The `mapbox` partial bundle contains trace modules `scatter`, `scattermapbox`, `
379379

380380
| Raw size | Minified size | Minified + gzip size |
381381
|------|-----------------|------------------------|
382-
| 3.3 MB | 1.6 MB | 494.8 kB |
382+
| 3.3 MB | 1.6 MB | 495.4 kB |
383383

384384
#### CDN links
385385

386386
| Flavor | URL |
387387
| ------ | --- |
388388
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
389389
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
390-
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.55.2.js |
391-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.55.2.min.js |
390+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.56.0.js |
391+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.56.0.min.js |
392392

393393
#### npm package (starting in `v1.39.0`)
394394

@@ -432,16 +432,16 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram
432432

433433
| Raw size | Minified size | Minified + gzip size |
434434
|------|-----------------|------------------------|
435-
| 2.7 MB | 995.7 kB | 323.6 kB |
435+
| 2.7 MB | 999.8 kB | 325 kB |
436436

437437
#### CDN links
438438

439439
| Flavor | URL |
440440
| ------ | --- |
441441
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
442442
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
443-
| Tagged | https://cdn.plot.ly/plotly-finance-1.55.2.js |
444-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.55.2.min.js |
443+
| Tagged | https://cdn.plot.ly/plotly-finance-1.56.0.js |
444+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.56.0.min.js |
445445

446446
#### npm package (starting in `v1.39.0`)
447447

0 commit comments

Comments
 (0)