Skip to content

Commit d35f69a

Browse files
committed
Merge remote-tracking branch 'origin/master' into volume4d
2 parents 5da5cd7 + e8b9009 commit d35f69a

Some content is hidden

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

52 files changed

+21420
-9433
lines changed

.circleci/test.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ case $1 in
5454
set_tz
5555

5656
SHARDS=($(node $ROOT/tasks/shard_jasmine_tests.js --tag=gl | circleci tests split))
57-
5857
for s in ${SHARDS[@]}; do
5958
retry npm run test-jasmine -- "$s" --tags=gl --skip-tags=noCI --showSkipped
6059
done
@@ -65,7 +64,7 @@ case $1 in
6564
jasmine3)
6665
set_tz
6766

68-
SHARDS=($(node $ROOT/tasks/shard_jasmine_tests.js --tag=flaky | circleci tests split))
67+
SHARDS=($(node $ROOT/tasks/shard_jasmine_tests.js --limit=1 --tag=flaky | circleci tests split))
6968

7069
for s in ${SHARDS[@]}; do
7170
retry npm run test-jasmine -- "$s" --tags=flaky --skip-tags=noCI --showSkipped

CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,38 @@ 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.46.0] -- 2019-04-01
14+
15+
### Added
16+
- New `waterfall` trace type [#3531, #3708]
17+
- New `sunburst` trace type [#3594]
18+
- Add attributes `node.x` and `node.y` to `sankey` traces [#3583]
19+
- Implement `connectgaps` on `surface` traces [#3638]
20+
- Implement `hovertemplate` for `box` and `violin` points [#3685]
21+
22+
### Changed
23+
- Display hover labels above modebar, ensuring that the hover labels
24+
are always visible within the graph div [#3589, #3678]
25+
26+
### Fixed
27+
- Fix horizontal legend item wrapping by pushing overflowed items to newline [#3628]
28+
- Fix erroneous gap for histogram under relative `barmode` [#3652]
29+
- Fix position of overlapping grouped bars within trace [#3680]
30+
- Fix `violin` `bandwidth` logic for traces with identical values in sample [#3626]
31+
- Fix `violin` trace `scalegroup` description [#3687]
32+
- Fix stacked scatter for groupby traces [#3692]
33+
- Fix outside text on empty items in `bar` traces under `textposition: 'outside'` [#3701]
34+
- Fix `pie` un-hover event emission after updates [#3662, 3690]
35+
- Fix `scatter` line decimation algo for filled trace with far-away data points [#3696]
36+
- Fix `heatmap` and `contour` computation for traces with category coordinates containing `0` [#3691]
37+
- Fix zoom interactions on gl3d subplots using an orthographic projection [#3601]
38+
- Fix miscellaneous gl3d camera on-initialization bugs [#3585]
39+
- Fix `surface` contour line rendering in some Firefox versions [#3670]
40+
- Fix rendering of marker points and gl3d subplots on date axes (or with coordinates close to 64K floating limits)
41+
for WebGL-based traces on some iOS devices [#3666, #3672, #3674, #3676]
42+
- Fix center-aligned hover labels positioning [#3681]
43+
44+
1345
## [1.45.3] -- 2019-03-19
1446

1547
### Fixed

dist/README.md

+26-26
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.45.3.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.46.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.45.3.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.46.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.45.3.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.46.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://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.2 MB | 2.9 MB | 865.3 kB | 6.5 MB |
91+
| 6.3 MB | 2.9 MB | 879.6 kB | 6.6 MB |
9292

9393
## Partial bundles
9494

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

112112
| Raw size | Minified size | Minified + gzip size |
113113
|------|-----------------|------------------------|
114-
| 2.3 MB | 817.3 kB | 267.1 kB |
114+
| 2.3 MB | 820 kB | 268.1 kB |
115115

116116
#### CDN links
117117

118118
| Flavor | URL |
119119
| ------ | --- |
120120
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
121121
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
122-
| Tagged | https://cdn.plot.ly/plotly-basic-1.45.3.js |
123-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.45.3.min.js |
122+
| Tagged | https://cdn.plot.ly/plotly-basic-1.46.0.js |
123+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.46.0.min.js |
124124

125125
#### npm package (starting in `v1.39.0`)
126126

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

158158
| Raw size | Minified size | Minified + gzip size |
159159
|------|-----------------|------------------------|
160-
| 2.6 MB | 932.8 kB | 303.5 kB |
160+
| 2.6 MB | 936 kB | 304.6 kB |
161161

162162
#### CDN links
163163

164164
| Flavor | URL |
165165
| ------ | --- |
166166
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
167167
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
168-
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.45.3.js |
169-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.45.3.min.js |
168+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.46.0.js |
169+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.46.0.min.js |
170170

171171
#### npm package (starting in `v1.39.0`)
172172

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

204204
| Raw size | Minified size | Minified + gzip size |
205205
|------|-----------------|------------------------|
206-
| 2.3 MB | 834.5 kB | 274.8 kB |
206+
| 2.3 MB | 835.9 kB | 275.3 kB |
207207

208208
#### CDN links
209209

210210
| Flavor | URL |
211211
| ------ | --- |
212212
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
213213
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
214-
| Tagged | https://cdn.plot.ly/plotly-geo-1.45.3.js |
215-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.45.3.min.js |
214+
| Tagged | https://cdn.plot.ly/plotly-geo-1.46.0.js |
215+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.46.0.min.js |
216216

217217
#### npm package (starting in `v1.39.0`)
218218

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

250250
| Raw size | Minified size | Minified + gzip size |
251251
|------|-----------------|------------------------|
252-
| 3.4 MB | 1.3 MB | 425.5 kB |
252+
| 3.4 MB | 1.3 MB | 427.1 kB |
253253

254254
#### CDN links
255255

256256
| Flavor | URL |
257257
| ------ | --- |
258258
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
259259
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
260-
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.45.3.js |
261-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.45.3.min.js |
260+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.46.0.js |
261+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.46.0.min.js |
262262

263263
#### npm package (starting in `v1.39.0`)
264264

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

296296
| Raw size | Minified size | Minified + gzip size |
297297
|------|-----------------|------------------------|
298-
| 3.4 MB | 1.4 MB | 444.7 kB |
298+
| 3.4 MB | 1.4 MB | 445.2 kB |
299299

300300
#### CDN links
301301

302302
| Flavor | URL |
303303
| ------ | --- |
304304
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
305305
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
306-
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.45.3.js |
307-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.45.3.min.js |
306+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.46.0.js |
307+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.46.0.min.js |
308308

309309
#### npm package (starting in `v1.39.0`)
310310

@@ -341,16 +341,16 @@ The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`
341341

342342
| Raw size | Minified size | Minified + gzip size |
343343
|------|-----------------|------------------------|
344-
| 2.8 MB | 1.4 MB | 412.8 kB |
344+
| 2.8 MB | 1.4 MB | 413.3 kB |
345345

346346
#### CDN links
347347

348348
| Flavor | URL |
349349
| ------ | --- |
350350
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
351351
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
352-
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.45.3.js |
353-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.45.3.min.js |
352+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.46.0.js |
353+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.46.0.min.js |
354354

355355
#### npm package (starting in `v1.39.0`)
356356

@@ -381,22 +381,22 @@ var Plotly = require('plotly.js-mapbox-dist');
381381

382382
### plotly.js finance
383383

384-
The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram`, `pie`, `ohlc` and `candlestick`.
384+
The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram`, `pie`, `ohlc`, `candlestick` and `waterfall`.
385385

386386
#### Stats
387387

388388
| Raw size | Minified size | Minified + gzip size |
389389
|------|-----------------|------------------------|
390-
| 2.4 MB | 850.8 kB | 277.3 kB |
390+
| 2.4 MB | 862.1 kB | 280.6 kB |
391391

392392
#### CDN links
393393

394394
| Flavor | URL |
395395
| ------ | --- |
396396
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
397397
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
398-
| Tagged | https://cdn.plot.ly/plotly-finance-1.45.3.js |
399-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.45.3.min.js |
398+
| Tagged | https://cdn.plot.ly/plotly-finance-1.46.0.js |
399+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.46.0.min.js |
400400

401401
#### npm package (starting in `v1.39.0`)
402402

0 commit comments

Comments
 (0)