Skip to content

Commit 3ad30ab

Browse files
authored
Merge branch 'master' into texttemplate
2 parents 7d21680 + ffa6e34 commit 3ad30ab

File tree

77 files changed

+85647
-58711
lines changed

Some content is hidden

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

77 files changed

+85647
-58711
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"no-console": [0],
7272
"no-unused-labels": [2],
7373
"no-useless-escape": [0],
74-
"func-name-matching": ["error", "always"]
74+
"func-name-matching": ["error", "always"],
75+
"no-prototype-builtins": [0]
7576
}
7677
}

CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,81 @@ 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.49.1] -- 2019-07-31
14+
15+
### Fixed
16+
- Fix `parcoords` bug when dimension values are all zeroes (bug introduced in 1.49.0) [#4080]
17+
- Fix `parcoords` select line rendering when constraint range falls below range [#4083]
18+
- Fix `parcoords` select line rendering when selecting outside displayed axis range [#4087]
19+
- Fix `parcoords` select by click when preceded by click away from axis [#4089]
20+
- Fix `mapbox.style` values in attribution declaration [#4079]
21+
- Remove unused variable from `scatter3d` shader [#4090]
22+
23+
24+
## [1.49.0] -- 2019-07-24
25+
26+
### Added
27+
- Add `indicator` traces [#3978, #4007, #4014, #4037, #4029]
28+
- Add `choroplethmapbox` traces [#3988]
29+
- Add `densitymapbox` traces [#3993]
30+
- Add new mapbox `style` values: `open-street-map`, `carto-positron`, `carto-darkmatter`,
31+
`stamen-terrain`, `stamen-toner`, `stamen-watercolor` and `white-bg`
32+
that do not require a Mapbox access token [#3987, #4068]
33+
- Add support for `sourcetype` value `raster` and `image` and `type` `raster`
34+
for mapbox layout layers [#4006]
35+
- Add `below` attribute to `scattermapbox` traces [#4058]
36+
- Add support for `below: 'traces'` in mapbox layout layers [#4058]
37+
- Add `sourceattribution` attribute to mapbox layout layers [#4069]
38+
- Add `labelangle` and `labelside` attributes to `parcoords` traces [#3966]
39+
- Add `doubleClickDelay` config option [#3991]
40+
- Add `showEditInChartStudio` config option [#4061]
41+
42+
### Changed
43+
- Bump `mapbox-gl` to `v1.1.1` [#3987, #4035]
44+
- Include source attribution on mapbox subplots and image exports [#4069]
45+
- Improve mapbox error messages and attribute descriptions [#4035]
46+
- Do not try to resize hidden graph divs under `responsive:true` [#3972]
47+
- Improve robustness of `sankey` traces with circular links [#3932]
48+
- Use `URL.createObjectURL` during `Plotly.toImage` and
49+
`Plotly.downloadImage` improving performance [#4008]
50+
- Make `parcoords` pick layer 100% invisible [#3946]
51+
- (dev-only) drop "pull-font-svg" pre-process step [#4062]
52+
53+
### Fixed
54+
- Fix rendering of geo traces with `locationmode` and no base layers
55+
(bug introduced in 1.48.0) [#3994]
56+
- Fix lakes and rivers geometry on scoped geo subplots
57+
(bug introduced in 1.48.0) [#4048]
58+
- Fix `heatmap` rendering for traces with extra categorical coordinates
59+
(bug introduced in 1.48.0) [#4038]
60+
- Do not show zero-height bar rendering when their `marker.line.width` is zero
61+
(bug introduced in 1.48.3) [#4056]
62+
- Do not show prefix and suffix on log axis minor ticks showing digits [#4064]
63+
- Fix inconsistent `parcoords` behavior when data is outside range [#3794]
64+
- Fix `parcoods` default tick formatting [#3966, #4011, #4013]
65+
- Fix pseudo-html and MathJax rendering for `parcoords` traces [#3966]
66+
- Fix `marker.line.color` default for `choropleth` traces [#3988]
67+
- Fix `scatter3d` and `scattergl` handling of `rgb` colors
68+
with extra alpha values [#3904, #4009]
69+
- Fix zoomed-in box/violin hover labels edge cases [#3965]
70+
- Fix `hoverinfo` & `hovertemplate` initial, delta and final flags
71+
for `waterfall` traces [#3963]
72+
- Fix `hovertemplate` default number formatting for
73+
`choropleth`, `scattergeo`, `scatterpolar(gl)`, `barpolar`
74+
and `scatterternary` traces [#3968]
75+
- Remove `sliders` / `updatemenus` command observer mutation [#4023]
76+
- Fix plot-schema `anim` listing for traces that do not (yet) animate [#4024]
77+
- Fix `rangeslider` style during selections [#4022]
78+
- Fix per-value `categoryorder` for `box` and `violin` traces [#3983]
79+
- Fix handling of non-numeric `marker.line.width` array items [#4056, #4063]
80+
- Fix `downloadImage` for images of more than 2MB in size in Chrome [#4008]
81+
- Fix `plotly_clickannotation` triggering when `editable:true` [#3979]
82+
- Remove unused `font-atlas-sdf` dependency [#3952]
83+
- Fix `tickformat` attribute description links to d3 formatting language [#4044]
84+
- Fix typo in `error_(x|y).type` description [#4030]
85+
- Fix typo in `colorscale` description [#4060]
86+
87+
1388
## [1.48.3] -- 2019-06-13
1489

1590
### Fixed

dist/README.md

Lines changed: 27 additions & 27 deletions
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.48.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.49.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.48.3.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.49.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.48.3.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.49.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.4 MB | 2.9 MB | 893.1 kB | 6.7 MB |
91+
| 6.7 MB | 3.1 MB | 934 kB | 7 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 | 831.9 kB | 272.8 kB |
114+
| 2.3 MB | 835.6 kB | 274.3 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.48.3.js |
123-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.48.3.min.js |
122+
| Tagged | https://cdn.plot.ly/plotly-basic-1.49.1.js |
123+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.49.1.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 | 948.5 kB | 309.9 kB |
160+
| 2.6 MB | 952.5 kB | 311.5 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.48.3.js |
169-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.48.3.min.js |
168+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.49.1.js |
169+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.49.1.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 | 845.4 kB | 278.9 kB |
206+
| 2.3 MB | 849.2 kB | 280.5 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.48.3.js |
215-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.48.3.min.js |
214+
| Tagged | https://cdn.plot.ly/plotly-geo-1.49.1.js |
215+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.49.1.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.4 MB | 435.5 kB |
252+
| 3.4 MB | 1.4 MB | 437 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.48.3.js |
261-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.48.3.min.js |
260+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.49.1.js |
261+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.49.1.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 | 450.8 kB |
298+
| 3.5 MB | 1.4 MB | 455 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.48.3.js |
307-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.48.3.min.js |
306+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.49.1.js |
307+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.49.1.min.js |
308308

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

@@ -335,22 +335,22 @@ var Plotly = require('plotly.js-gl2d-dist');
335335

336336
### plotly.js mapbox
337337

338-
The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`.
338+
The `mapbox` partial bundle contains trace modules `scatter`, `scattermapbox`, `choroplethmapbox` and `densitymapbox`.
339339

340340
#### Stats
341341

342342
| Raw size | Minified size | Minified + gzip size |
343343
|------|-----------------|------------------------|
344-
| 2.8 MB | 1.4 MB | 416.6 kB |
344+
| 3.1 MB | 1.5 MB | 456.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.48.3.js |
353-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.48.3.min.js |
352+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.49.1.js |
353+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.49.1.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`, `funnelarea`, `ohlc`, `candlestick`, `funnel` and `waterfall`.
384+
The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram`, `pie`, `funnelarea`, `ohlc`, `candlestick`, `funnel`, `waterfall` and `indicator`.
385385

386386
#### Stats
387387

388388
| Raw size | Minified size | Minified + gzip size |
389389
|------|-----------------|------------------------|
390-
| 2.5 MB | 894.6 kB | 290.5 kB |
390+
| 2.5 MB | 921.3 kB | 298.7 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.48.3.js |
399-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.48.3.min.js |
398+
| Tagged | https://cdn.plot.ly/plotly-finance-1.49.1.js |
399+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.49.1.min.js |
400400

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

0 commit comments

Comments
 (0)