Skip to content

Commit b8ea661

Browse files
committed
Merge branch 'master' into missing-fulldata
2 parents f43cada + f28caae commit b8ea661

File tree

211 files changed

+43509
-37780
lines changed

Some content is hidden

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

211 files changed

+43509
-37780
lines changed

CHANGELOG.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,62 @@ 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.40.0] -- 2018-08-16
14+
15+
### Added
16+
- Allow `contour`, `contourcarpet` and `histogram2dcontour` to have
17+
corresponding legend items using `showlegend` [#2891, #2914]
18+
- Add `scatterpolar` and `scatterpolargl` attributes `r0`, `dr`, `theta0` and
19+
`dtheta` [#2895]
20+
- Add layout attributes `piecolorway` and `extendpiecolors`
21+
for more control over `pie` colors [#2870]
22+
- Add splom attribute `dimensions[i].axis.type` to easily override axis type
23+
in splom-generated axes [#2899]
24+
- Add support for on-graph text in `scatterpolargl` traces [#2895]
25+
26+
### Changed
27+
- Use `derequire` browserify plugin to make bundling distributed npm package
28+
with browserify possible [#2905]
29+
- Speed up cartesian axis autorange edits (and thus double-click interactions) [#2823]
30+
- Do not clear WebGL context when `scattergl` graph has no `visible:true`
31+
traces, which speeds up e.g. legend interactions [#2860]
32+
- Compute data extremes per trace, which improves performance in some cases [#2860]
33+
- Use `<linearGradient>` to render filled colorbars [#2910, #2914]
34+
- Rename trace module `setPositions` methods `crossTraceCalc` [#2868]
35+
- Use `regl@1.3.7` [#2863]
36+
37+
### Fixed
38+
- Fix scalar `marker.size` bounds in legend items [#2840]
39+
- Fix positioning of legend symbols for traces with fills [#2891]
40+
- Fix `scattergl` select -> double-click -> pan behavior [#2815]
41+
- Fix `scattergl` marker for IE11 [#2863]
42+
- Fix inheritance of explicit `pie` colors by later traces [#2870]
43+
- Fix layer ordering on graphs with multiple `contour` traces with heatmap
44+
coloring [#2891]
45+
- Fix layer ordering on `visible` toggling for `contour`-like traces [#2891]
46+
- Fix cases where colorbars would be drawn over its bounds [#2910]
47+
- Fix `tickwidth` edits on `ohlc` traces [#2823]
48+
- Fix labels on splom-generated axes with categorical data [#2899]
49+
- Fix handling of splom dimensions on axes of conflicting types [#2899]
50+
- Fix `splom` trace `visible` edits [#2860]
51+
- Fix `splom` select -> double-click -> pan behavior [#2899]
52+
- Fix `scatterpolargl` behavior during angular and radial drag interactions [#2888]
53+
- Fix handling of auto date ticks below our 100 microseconds limit [#2912]
54+
- Fix `scatter3d` attributes which had incorrectly labeled `textposition`
55+
and `textfont.family` as `arrayOk` and contained unimplemented `line.showscale`
56+
and `line.colorbar` [#2879]
57+
- Fix `scattergl` and `scatterpolargl` attribute declarations for `hoveron` [#2895]
58+
59+
60+
## [1.39.4] -- 2018-08-02
61+
62+
### Fixed
63+
- Fix tenths of milliseconds handling in old numeric date data
64+
(bug introduced in 1.21.0) [#2847]
65+
- Fix `yaxis` overlaying `yaxis2` layouts
66+
(bug introduced in 1.39.3) [#2857]
67+
68+
1369
## [1.39.3] -- 2018-07-25
1470

1571
### Fixed

dist/README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ You can grab the relevant MathJax files in `./dist/extras/mathjax/`.
3838
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
3939
Many other localizations are available - here is an example using Swiss-German (de-CH),
4040
see the contents of this directory for the full list.
41-
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.39.3.js
41+
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.40.0.js
4242
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.
4343

4444
*After* the plotly.js script tag, add:
@@ -61,12 +61,12 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
6161

6262
It be can imported as minified javascript
6363
- using dist file `dist/plotly.min.js`
64-
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.39.3.min.js
64+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.40.0.min.js
6565

6666
or as raw javascript:
6767
- using the `plotly.js-dist` npm package (starting in `v1.39.0`)
6868
- using dist file `dist/plotly.js`
69-
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.39.3.js
69+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.40.0.js
7070
- using CommonJS with `require('plotly.js')`
7171

7272
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`
@@ -75,7 +75,7 @@ The main plotly.js bundle weights in at:
7575

7676
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
7777
|-----------|---------------|----------------------|---------------------|
78-
| 5.7 MB | 2.7 MB | 811.2 kB | 5.9 MB |
78+
| 5.7 MB | 2.7 MB | 812.8 kB | 5.9 MB |
7979

8080
## Partial bundles
8181

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

9999
| Raw size | Minified size | Minified + gzip size |
100100
|------|-----------------|------------------------|
101-
| 2.1 MB | 760 kB | 247.8 kB |
101+
| 2.1 MB | 761.6 kB | 248.8 kB |
102102

103103
#### CDN links
104104

105105
| Flavor | URL |
106106
| ------ | --- |
107107
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
108108
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
109-
| Tagged | https://cdn.plot.ly/plotly-basic-1.39.3.js |
110-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.39.3.min.js |
109+
| Tagged | https://cdn.plot.ly/plotly-basic-1.40.0.js |
110+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.40.0.min.js |
111111

112112
#### npm package (starting in `v1.39.0`)
113113

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

145145
| Raw size | Minified size | Minified + gzip size |
146146
|------|-----------------|------------------------|
147-
| 2.4 MB | 870.6 kB | 282.2 kB |
147+
| 2.4 MB | 872.1 kB | 283.4 kB |
148148

149149
#### CDN links
150150

151151
| Flavor | URL |
152152
| ------ | --- |
153153
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
154154
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
155-
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.39.3.js |
156-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.39.3.min.js |
155+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.40.0.js |
156+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.40.0.min.js |
157157

158158
#### npm package (starting in `v1.39.0`)
159159

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

191191
| Raw size | Minified size | Minified + gzip size |
192192
|------|-----------------|------------------------|
193-
| 2.1 MB | 783.4 kB | 256.9 kB |
193+
| 2.1 MB | 784.6 kB | 257.8 kB |
194194

195195
#### CDN links
196196

197197
| Flavor | URL |
198198
| ------ | --- |
199199
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
200200
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
201-
| Tagged | https://cdn.plot.ly/plotly-geo-1.39.3.js |
202-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.39.3.min.js |
201+
| Tagged | https://cdn.plot.ly/plotly-geo-1.40.0.js |
202+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.40.0.min.js |
203203

204204
#### npm package (starting in `v1.39.0`)
205205

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

237237
| Raw size | Minified size | Minified + gzip size |
238238
|------|-----------------|------------------------|
239-
| 3.2 MB | 1.3 MB | 404.6 kB |
239+
| 3.2 MB | 1.3 MB | 405.5 kB |
240240

241241
#### CDN links
242242

243243
| Flavor | URL |
244244
| ------ | --- |
245245
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
246246
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
247-
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.39.3.js |
248-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.39.3.min.js |
247+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.40.0.js |
248+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.40.0.min.js |
249249

250250
#### npm package (starting in `v1.39.0`)
251251

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

283283
| Raw size | Minified size | Minified + gzip size |
284284
|------|-----------------|------------------------|
285-
| 3.2 MB | 1.3 MB | 426.2 kB |
285+
| 3.2 MB | 1.3 MB | 427.3 kB |
286286

287287
#### CDN links
288288

289289
| Flavor | URL |
290290
| ------ | --- |
291291
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
292292
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
293-
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.39.3.js |
294-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.39.3.min.js |
293+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.40.0.js |
294+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.40.0.min.js |
295295

296296
#### npm package (starting in `v1.39.0`)
297297

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

329329
| Raw size | Minified size | Minified + gzip size |
330330
|------|-----------------|------------------------|
331-
| 2.6 MB | 1.3 MB | 394.8 kB |
331+
| 2.7 MB | 1.3 MB | 395.6 kB |
332332

333333
#### CDN links
334334

335335
| Flavor | URL |
336336
| ------ | --- |
337337
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
338338
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
339-
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.39.3.js |
340-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.39.3.min.js |
339+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.40.0.js |
340+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.40.0.min.js |
341341

342342
#### npm package (starting in `v1.39.0`)
343343

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

375375
| Raw size | Minified size | Minified + gzip size |
376376
|------|-----------------|------------------------|
377-
| 2.2 MB | 790.2 kB | 256.9 kB |
377+
| 2.2 MB | 791.8 kB | 257.8 kB |
378378

379379
#### CDN links
380380

381381
| Flavor | URL |
382382
| ------ | --- |
383383
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
384384
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
385-
| Tagged | https://cdn.plot.ly/plotly-finance-1.39.3.js |
386-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.39.3.min.js |
385+
| Tagged | https://cdn.plot.ly/plotly-finance-1.40.0.js |
386+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.40.0.min.js |
387387

388388
#### npm package (starting in `v1.39.0`)
389389

0 commit comments

Comments
 (0)