Skip to content

Commit 555a541

Browse files
authored
Merge branch 'master' into issue-2872
2 parents ee8db8d + b9d2701 commit 555a541

Some content is hidden

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

60 files changed

+5457
-4085
lines changed

CHANGELOG.md

+33
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,39 @@ 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.42.5] -- 2018-11-08
14+
15+
### Fixed
16+
- Fix `scattergl` / `scatterpolargl` with `mode: lines` and
17+
more than 1e5 pts (bug introduced in 1.42.0) [#3228]
18+
19+
20+
## [1.42.4] -- 2018-11-07
21+
22+
### Fixed
23+
- Remove rendering artifacts from `table` orca PDF exports [#3220]
24+
25+
26+
## [1.42.3] -- 2018-11-06
27+
28+
### Fixed
29+
- Fix `histogram` binning for typed array inputs (bug introduced in 1.42.0) [#3211]
30+
- Fix textfont color `restyle` calls for `pie` traces [#3214]
31+
- Fix textfont color `editType` for `bar` traces [#3214]
32+
- Fix array `hoverinfo` support for `ohlc` and `candelestick` [#3213]
33+
- Correctly list `parcats` hoverinfo attributes which does not support array inputs [#3213]
34+
35+
36+
## [1.42.2] -- 2018-11-01
37+
38+
### Fixed
39+
- Fix runaway loops for `scattergl` lines and fill traces
40+
(bug introduced in 1.42.0) [#3199]
41+
- Fix size and alignment vertical modebar [#3193]
42+
- Fix legend item rendering for traces with typed array marker
43+
settings [#3192]
44+
45+
1346
## [1.42.1] -- 2018-10-31
1447

1548
### Fixed

build/plotcss.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ var rules = {
3737
"X .modebar-group": "float:left;display:inline-block;box-sizing:border-box;margin-left:8px;position:relative;vertical-align:middle;white-space:nowrap;",
3838
"X .modebar-btn": "position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;",
3939
"X .modebar-btn svg": "position:relative;top:2px;",
40-
"X .modebar.vertical": "top:-1px;display:flex;flex-direction:column;flex-wrap:wrap;height:100%;align-content:flex-end;",
40+
"X .modebar.vertical": "display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;",
41+
"X .modebar.vertical svg": "top:-1px;",
4142
"X .modebar.vertical .modebar-group": "display:block;float:none;margin-left:0px;margin-bottom:8px;",
4243
"X .modebar.vertical .modebar-group .modebar-btn": "display:block;text-align:center;",
4344
"X [data-title]:before,X [data-title]:after": "position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;",

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.42.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.42.5.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.42.1.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.42.5.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.42.1.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.42.5.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-
| 5.9 MB | 2.7 MB | 832.2 kB | 6.2 MB |
91+
| 5.9 MB | 2.7 MB | 832.5 kB | 6.2 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.2 MB | 786 kB | 257 kB |
114+
| 2.2 MB | 786.4 kB | 257.2 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.42.1.js |
123-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.42.1.min.js |
122+
| Tagged | https://cdn.plot.ly/plotly-basic-1.42.5.js |
123+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.42.5.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.5 MB | 898.5 kB | 292.4 kB |
160+
| 2.5 MB | 898.9 kB | 292.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.42.1.js |
169-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.42.1.min.js |
168+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.42.5.js |
169+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.42.5.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.2 MB | 804.9 kB | 265.1 kB |
206+
| 2.2 MB | 805.3 kB | 265.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.42.1.js |
215-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.42.1.min.js |
214+
| Tagged | https://cdn.plot.ly/plotly-geo-1.42.5.js |
215+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.42.5.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.3 MB | 1.3 MB | 413.8 kB |
252+
| 3.3 MB | 1.3 MB | 414 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.42.1.js |
261-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.42.1.min.js |
260+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.42.5.js |
261+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.42.5.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.3 MB | 1.3 MB | 433.5 kB |
298+
| 3.3 MB | 1.3 MB | 433.7 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.42.1.js |
307-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.42.1.min.js |
306+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.42.5.js |
307+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.42.5.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.7 MB | 1.3 MB | 402.9 kB |
344+
| 2.7 MB | 1.3 MB | 403.1 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.42.1.js |
353-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.42.1.min.js |
352+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.42.5.js |
353+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.42.5.min.js |
354354

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

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

388388
| Raw size | Minified size | Minified + gzip size |
389389
|------|-----------------|------------------------|
390-
| 2.3 MB | 817.7 kB | 266.6 kB |
390+
| 2.3 MB | 818.1 kB | 266.9 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.42.1.js |
399-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.42.1.min.js |
398+
| Tagged | https://cdn.plot.ly/plotly-finance-1.42.5.js |
399+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.42.5.min.js |
400400

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

dist/plot-schema.json

+8-14
Original file line numberDiff line numberDiff line change
@@ -2422,7 +2422,7 @@
24222422
"color": {
24232423
"valType": "color",
24242424
"role": "style",
2425-
"editType": "calc",
2425+
"editType": "style",
24262426
"arrayOk": true
24272427
},
24282428
"editType": "calc",
@@ -2467,7 +2467,7 @@
24672467
"color": {
24682468
"valType": "color",
24692469
"role": "style",
2470-
"editType": "calc",
2470+
"editType": "style",
24712471
"arrayOk": true
24722472
},
24732473
"editType": "calc",
@@ -2512,7 +2512,7 @@
25122512
"color": {
25132513
"valType": "color",
25142514
"role": "style",
2515-
"editType": "calc",
2515+
"editType": "style",
25162516
"arrayOk": true
25172517
},
25182518
"editType": "calc",
@@ -9540,7 +9540,7 @@
95409540
"color": {
95419541
"valType": "color",
95429542
"role": "style",
9543-
"editType": "style",
9543+
"editType": "plot",
95449544
"arrayOk": true
95459545
},
95469546
"editType": "calc",
@@ -9585,7 +9585,7 @@
95859585
"color": {
95869586
"valType": "color",
95879587
"role": "style",
9588-
"editType": "style",
9588+
"editType": "plot",
95899589
"arrayOk": true
95909590
},
95919591
"editType": "calc",
@@ -9630,7 +9630,7 @@
96309630
"color": {
96319631
"valType": "color",
96329632
"role": "style",
9633-
"editType": "style",
9633+
"editType": "plot",
96349634
"arrayOk": true
96359635
},
96369636
"editType": "calc",
@@ -9697,7 +9697,7 @@
96979697
"color": {
96989698
"valType": "color",
96999699
"role": "style",
9700-
"editType": "style",
9700+
"editType": "plot",
97019701
"arrayOk": true
97029702
},
97039703
"editType": "calc",
@@ -27487,7 +27487,7 @@
2748727487
"none",
2748827488
"skip"
2748927489
],
27490-
"arrayOk": true,
27490+
"arrayOk": false,
2749127491
"dflt": "all",
2749227492
"editType": "plot",
2749327493
"description": "Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired."
@@ -28205,12 +28205,6 @@
2820528205
"editType": "calc",
2820628206
"description": "The number of observations represented by each state. Defaults to 1 so that each state represents one observation"
2820728207
},
28208-
"hoverinfosrc": {
28209-
"valType": "string",
28210-
"role": "info",
28211-
"description": "Sets the source reference on plot.ly for hoverinfo .",
28212-
"editType": "none"
28213-
},
2821428208
"countssrc": {
2821528209
"valType": "string",
2821628210
"role": "info",

0 commit comments

Comments
 (0)