Skip to content

Commit d23fb9b

Browse files
committed
Merge branch 'master' into revise-gl3d-scene
2 parents fe17eb9 + 216b587 commit d23fb9b

File tree

1,180 files changed

+49416
-16441
lines changed

Some content is hidden

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

1,180 files changed

+49416
-16441
lines changed

.circleci/config.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ version: 2.0
1010
jobs:
1111
build:
1212
docker:
13-
- image: circleci/node:10.9.0
13+
- image: circleci/node:12.13.0
1414
working_directory: ~/plotly.js
1515
steps:
1616
- checkout
@@ -39,7 +39,7 @@ jobs:
3939
test-jasmine:
4040
docker:
4141
# need '-browsers' version to test in real (xvfb-wrapped) browsers
42-
- image: circleci/node:10.9.0-browsers
42+
- image: circleci/node:12.13.0-browsers
4343
parallelism: 2
4444
working_directory: ~/plotly.js
4545
steps:
@@ -52,7 +52,7 @@ jobs:
5252
test-jasmine2:
5353
docker:
5454
# need '-browsers' version to test in real (xvfb-wrapped) browsers
55-
- image: circleci/node:10.9.0-browsers
55+
- image: circleci/node:12.13.0-browsers
5656
parallelism: 3
5757
working_directory: ~/plotly.js
5858
steps:
@@ -65,7 +65,7 @@ jobs:
6565
test-jasmine3:
6666
docker:
6767
# need '-browsers' version to test in real (xvfb-wrapped) browsers
68-
- image: circleci/node:10.9.0-browsers
68+
- image: circleci/node:12.13.0-browsers
6969
working_directory: ~/plotly.js
7070
steps:
7171
- attach_workspace:
@@ -115,7 +115,7 @@ jobs:
115115

116116
test-syntax:
117117
docker:
118-
- image: circleci/node:10.9.0
118+
- image: circleci/node:12.13.0
119119
working_directory: ~/plotly.js
120120
steps:
121121
- attach_workspace:
@@ -127,7 +127,7 @@ jobs:
127127
test-bundle:
128128
docker:
129129
# need '-browsers' version to test in real (xvfb-wrapped) browsers
130-
- image: circleci/node:10.9.0-browsers
130+
- image: circleci/node:12.13.0-browsers
131131
working_directory: ~/plotly.js
132132
steps:
133133
- attach_workspace:
@@ -138,7 +138,7 @@ jobs:
138138

139139
publish:
140140
docker:
141-
- image: circleci/node:10.9.0
141+
- image: circleci/node:12.13.0
142142
working_directory: ~/plotly.js
143143
steps:
144144
- attach_workspace:

CHANGELOG.md

+91
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,97 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

1212

13+
## [1.52.1] -- 2020-01-13
14+
15+
### Fixed
16+
- Fix handling of `geo.visible` false edge case in order to
17+
override `template.layout.geo.show*` attributes [#4483]
18+
19+
20+
## [1.52.0] -- 2020-01-08
21+
22+
### Added
23+
- Add `uniformtext` behavior to `bar`, `funnel`, `waterfall`, `pie`, `funnelarea`,
24+
`sunburst` and `treemap` traces [#4420, #4444, #4469]
25+
- Add "pre-computed" q1/median/q3 input signature for `box` traces [#4432]
26+
- Add support for legend titles [#4386]
27+
- Add legend items for `choropleth`, `choroplethmapbox`, `cone`, `densitymapbox`,
28+
`heatmap`, `histogram2d`, `isosurface`, `mesh3d`, `streamtube`,
29+
`surface`, `volume` traces [#4386, #4441]
30+
- Add "auto-fitting" behavior to geo subplots via `geo.fitbounds` attribute [#4419]
31+
- Add support for custom geojson geometries in `choropleth`
32+
and `scattergeo` traces [#4419]
33+
- Add "exclusive" and "inclusive" quartile-computing algorithm to `box` traces
34+
via `quartilemethod` attribute [#4432]
35+
- Add `insidetextorientation` attribute to `pie` and `sunburst` traces [#4420]
36+
- Add `intensitymode` to allow cell intensity values in `mesh3d` traces [#4446]
37+
- Add `featureidkey` attribute to `choroplethmapbox`, `choropleth`
38+
and `scattergeo` traces [#4419]
39+
- Add `geo.visible` shortcut attribute [#4419]
40+
- Add coordinates of mapbox subplot view as a derived property in `plotly_relayout`
41+
event data [#4413]
42+
- Add modebar buttons `zoomInMapbox` and `zoomOutMapbox` [#4398]
43+
- Add support for typed array in `groupby` transforms `groups` [#4410]
44+
- Add `notifyOnLogging` config option that allows log/warn/error messages
45+
to show up in notifiers pop-ups [#4464]
46+
- Enable loading locale bundles before plotly.js bundles [#4453]
47+
- Add Korean `ko` locale [#4315]
48+
49+
### Changed
50+
- Skip mapbox subplot map position updates while panning/zooming removing
51+
potential stuttering [#4418]
52+
- Optimize mapbox `raster` layout layer updates [#4418]
53+
- Improve `sunburst` and `treemap` click events behavior [#4454]
54+
- Improve attribute description of sunburst/treemap `outsidetextfont` [#4463]
55+
- Update source and dist file headers to 2020 [#4457]
56+
57+
### Fixed
58+
- Fix `streamtube` traces with numeric string coordinates
59+
(bug introduced in 1.51.0) [#4431]
60+
- Correctly handle different data orders in `isosurface` and `volume` traces [#4431]
61+
- Fix symbol numbers in `scattergl` and `splom` traces [#4465]
62+
- Fix `coloraxis` colorbars for `sunburst` and `treemap` with
63+
values colorscales [#4444]
64+
- Fix inside text fitting for `bar`, `funnel` and `waterfall` traces with
65+
set `textangle` [#4444]
66+
- Fix handling of invalid values and zero totals for `pie` and `funnelarea` [#4416]
67+
- Fix colorbar of `reversescale` colorscales of heatmap-coloring contours [#4437]
68+
- Fix colorbar templating for "non-root" colorscales [#4470]
69+
- Fix event data and some hover templates for x/y/z heatmap + contour [#4472]
70+
- Fix "toggleothers" behavior for graphs with traces not in legend [#4406]
71+
- Fix `histogram` bingroup logic when `calendars` module is not registered [#4439]
72+
- Fix "almost equal" `branchvalue: 'total'` partial sum cases [#4442]
73+
- Fix handling of `treemap` `pathbar.textfont` [#4444]
74+
75+
76+
## [1.51.3] -- 2019-12-16
77+
78+
### Fixed
79+
- Fix `Plotly.Plots.resize` edge cases ensuring now that
80+
its promises always resolve [#4392]
81+
- Fix position of link hover labels in vertical `sankey` [#4404]
82+
- Fix `box` autorange for traces with "inverted" notched [#4388]
83+
84+
85+
## [1.51.2] -- 2019-11-25
86+
87+
### Fixed
88+
- Fix `texttemplate`formatting on axes that define
89+
tick prefixes and suffixes [#4380, #4384]
90+
- Fix `cmin` and `cmax` computations during color
91+
value updates on shared color axes [#4366]
92+
- Fix `contour` and `histogram2dcontour` legend item
93+
rendering when `reversescale` is turned on [#4356]
94+
- Fix `contour` and `histogram2dcontour` legend item
95+
rendering when set to a shared color axis [#4356]
96+
- Handle missing `vertexcolor` and `facecolor` during `mesh3d` rendering [#4353]
97+
- No longer coerce `contour` and `colorscale` attributes for `mesh3d`
98+
when not needed [#4346]
99+
- Remove a duplicate function call in `parcoords` code [#4357]
100+
- Include `opacity` in the `surface` trace plot schema [#4344]
101+
- Mention `legend.bgcolor` default in attribute description [#4362]
102+
103+
13104
## [1.51.1] -- 2019-11-04
14105

15106
### Fixed

CONTRIBUTING.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,10 @@ We use the following [labels](https://github.com/plotly/plotly.js/labels) to tra
3434
#### Prerequisites
3535

3636
- git
37-
- [node.js](https://nodejs.org/en/). We recommend using node.js v10.x, but all
38-
versions starting from v6 should work. Upgrading and managing node versions
39-
can be easily done using [`nvm`](https://github.com/creationix/nvm) or its
40-
Windows alternatives.
41-
- [`npm`](https://www.npmjs.com/) v6.x and up (which ships by default with
42-
node.js v10.x) to ensure that the
37+
- [node.js](https://nodejs.org/en/). We recommend using node.js v12.x (LTS).
38+
Upgrading and managing node versions can be easily done using
39+
[`nvm`](https://github.com/creationix/nvm) or its Windows alternatives.
40+
- [`npm`](https://www.npmjs.com/) v6.x and up to ensure that the
4341
[`package-lock.json`](https://docs.npmjs.com/files/package-lock.json) file is
4442
used and updated correctly.
4543

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2019 Plotly, Inc
3+
Copyright (c) 2020 Plotly, Inc
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ plotly.js charts can also be created and saved online for free at [plot.ly/creat
184184

185185
## Copyright and license
186186

187-
Code and documentation copyright 2019 Plotly, Inc.
187+
Code and documentation copyright 2020 Plotly, Inc.
188188

189189
Code released under the [MIT license](https://github.com/plotly/plotly.js/blob/master/LICENSE).
190190

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
environment:
2-
nodejs_version: "10"
2+
nodejs_version: "12"
33

44
install:
55
- ps: Install-Product node $env:nodejs_version

devtools/test_dashboard/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
</head>
88
<body>
99
<header>
10-
<img src="http://images.plot.ly/logo/[email protected]" onClick="Tabs.reload();">
10+
<img src="http://images.plot.ly/logo/[email protected]" onClick="Tabs.reload();" />
1111
<span id="reload-time"></span>
1212

13-
<input id="mocks-search" type="text" placeholder="mocks search"></input>
13+
<input id="mocks-search" type="text" placeholder="mocks search" />
1414
</header>
1515

1616
<section id="mocks-list"></section>

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.51.1.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.52.1.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.51.1.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.52.1.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.51.1.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.52.1.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://plot.ly/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-
| 6.8 MB | 3.1 MB | 947.2 kB | 7.1 MB |
91+
| 6.9 MB | 3.2 MB | 956 kB | 7.2 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.3 MB | 843.6 kB | 277.1 kB |
117+
| 2.4 MB | 852.6 kB | 280 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.51.1.js |
126-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.51.1.min.js |
125+
| Tagged | https://cdn.plot.ly/plotly-basic-1.52.1.js |
126+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.52.1.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.7 MB | 969 kB | 316.6 kB |
170+
| 2.7 MB | 982.5 kB | 321 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.51.1.js |
179-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.51.1.min.js |
178+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.52.1.js |
179+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.52.1.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.3 MB | 854.9 kB | 282.5 kB |
223+
| 2.4 MB | 879.8 kB | 289.6 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.51.1.js |
232-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.51.1.min.js |
231+
| Tagged | https://cdn.plot.ly/plotly-geo-1.52.1.js |
232+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.52.1.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.4 MB | 1.4 MB | 436 kB |
276+
| 3.5 MB | 1.4 MB | 438.3 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.51.1.js |
285-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.51.1.min.js |
284+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.52.1.js |
285+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.52.1.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.5 MB | 1.4 MB | 455.9 kB |
329+
| 3.5 MB | 1.4 MB | 457.8 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.51.1.js |
338-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.51.1.min.js |
337+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.52.1.js |
338+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.52.1.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.1 MB | 1.5 MB | 462.5 kB |
382+
| 3.1 MB | 1.5 MB | 461.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.51.1.js |
391-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.51.1.min.js |
390+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.52.1.js |
391+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.52.1.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.6 MB | 929.5 kB | 301.7 kB |
435+
| 2.6 MB | 939.7 kB | 305 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.51.1.js |
444-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.51.1.min.js |
443+
| Tagged | https://cdn.plot.ly/plotly-finance-1.52.1.js |
444+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.52.1.min.js |
445445

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

0 commit comments

Comments
 (0)