Skip to content

Commit 8a37ff1

Browse files
committed
Merge branch 'master' into transitions-in-react
2 parents badfeda + 9ee3f45 commit 8a37ff1

File tree

285 files changed

+16179
-7460
lines changed

Some content is hidden

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

285 files changed

+16179
-7460
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,29 @@ 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+
1336
## [1.42.2] -- 2018-11-01
1437

1538
### Fixed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,24 @@ plotly.js charts can also be created and saved online for free at [plot.ly/creat
154154

155155
## Creators
156156

157+
### Active
158+
157159
| | Github | Twitter |
158160
|---|--------|---------|
159161
|**Alex C. Johnson**| [@alexcjohnson](https://github.com/alexcjohnson) | |
160162
|**Étienne Tétreault-Pinard**| [@etpinard](https://github.com/etpinard) | [@etpinard](https://twitter.com/etpinard) |
163+
|**Antoine Roy-Gobeil** | [@antoinerg](https://github.com/antoinerg) | |
164+
|**Mojtaba Samimi** | [@archmoj](https://github.com/archmoj) | [@solarchvision](https://twitter.com/solarchvision) |
165+
166+
### Hall of Fame
167+
168+
| | Github | Twitter |
169+
|---|--------|---------|
161170
|**Mikola Lysenko**| [@mikolalysenko](https://github.com/mikolalysenko) | [@MikolaLysenko](https://twitter.com/MikolaLysenko) |
162-
| **Dmitry Yv.** | [@dy](https://github.com/dy) | [@DimaYv](https://twitter.com/dimayv)|
163171
|**Ricky Reusser**| [@rreusser](https://github.com/rreusser) | [@rickyreusser](https://twitter.com/rickyreusser) |
172+
|**Dmitry Yv.** | [@dy](https://github.com/dy) | [@DimaYv](https://twitter.com/dimayv)|
164173
|**Robert Monfera**| [@monfera](https://github.com/monfera) | [@monfera](https://twitter.com/monfera) |
174+
|**Robert Möstl** | [@rmoestl](https://github.com/rmoestl) | [@rmoestl](https://twitter.com/rmoestl) |
165175
|**Nicolas Riesco**| [@n-riesco](https://github.com/n-riesco) | |
166176
|**Miklós Tusz**| [@mdtusz](https://github.com/mdtusz) | [@mdtusz](https://twitter.com/mdtusz)|
167177
|**Chelsea Douglas**| [@cldougl](https://github.com/cldougl) | |

appveyor.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
environment:
2+
nodejs_version: "10"
3+
4+
install:
5+
- ps: Install-Product node $env:nodejs_version
6+
# faster than `npm install`
7+
- npm ci
8+
9+
test_script:
10+
- node --version
11+
- npm --version
12+
- npm run test-jasmine -- lib --IE11
13+
14+
build: off

build/plotcss.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ var rules = {
3232
"X .cursor-ne-resize": "cursor:ne-resize;",
3333
"X .cursor-grab": "cursor:-webkit-grab;cursor:grab;",
3434
"X .modebar": "position:absolute;top:2px;right:2px;z-index:1001;",
35-
"X .modebar--hover": "opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;",
36-
"X:hover .modebar--hover": "opacity:1;",
35+
"X .modebar--hover>:not(.watermark)": "opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;",
36+
"X:hover .modebar--hover .modebar-group": "opacity:1;",
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;",

dist/README.md

Lines changed: 25 additions & 25 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.42.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.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.2.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.2.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.2.js |
123-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.42.2.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.2.js |
169-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.42.2.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.2.js |
215-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.42.2.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.2.js |
261-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.42.2.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.2.js |
307-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.42.2.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.2.js |
353-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.42.2.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.7 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.2.js |
399-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.42.2.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

Lines changed: 8 additions & 14 deletions
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)