Skip to content

Commit 401bcc8

Browse files
committed
Merge branch 'master' into joyplots2
2 parents b36cd18 + 0ec6cfa commit 401bcc8

File tree

110 files changed

+86724
-64685
lines changed

Some content is hidden

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

110 files changed

+86724
-64685
lines changed

CHANGELOG.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,67 @@ 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.43.0] -- 2018-12-19
14+
15+
### Added
16+
- Add `hovertemplate` attribute to `scatter`, `scattergl`, `bar`, `histogram`,
17+
`pie` and `sankey` traces [#3126, #3265, #3284]
18+
- Add `layout.title` placement attributes `x`, `y`, `xref`, `yref`,
19+
`xanchor`, `yanchor` and `pad` [#3276]
20+
- Add support for `<br>`, `<sup>`, and `<sub>` pseudo-html in `scatter3d` and `gl3d`
21+
scene text [#3207]
22+
- Add `multicategory` axis type, allowing for "multi-level" categorical axis labels
23+
and category dividers with axis attributes: `showdividers`,
24+
`dividercolor` and `diverwidth` [#3254, #3300, #3326]
25+
- Add cartesian axis attribute `tickson` with value '`boundaries`' to
26+
place categorical ticks on the category boundaries [#3254, #3275]
27+
- Add `uirevision` attributes to control the persistence of user-driven changes
28+
on the graph [#3236]
29+
- Add `legend.valign` to set the vertical alignment of the legend symbols
30+
with respect to their associated text labels [#3263]
31+
- Implement `arrayOk` `textposition` for `scatter3d` traces [#3200]
32+
- Add layout attributes `colorscale.sequential`, `colorscale.sequentialminus` and
33+
`colorscale.diverging` to set graph-wide colorscale defaults [#3274]
34+
- Add `dragmode: false` to disable all drag interactions on cartesian subplots [#3170]
35+
- Add `plotly.js-locales` npm packages that includes all official locales modules [#3223]
36+
- Add `watermark` config option to permanently show Plotly's logo
37+
in the mode bar (set to false by default) [#3280]
38+
- Add Finnish locale (`fi`) [#3325]
39+
40+
### Changed
41+
- Remove "Edit in Chart Studio" button by default [#3307]
42+
- `title` attributes linked to strings are now deprecated. Please use
43+
`title.text` instead to fill in your title text [#3276]
44+
- `title*` attributes are new deprecated. They moved to `title.*`. For
45+
example, `colorbar.titleside` is now `colorbar.title.side` [#3276]
46+
- No longer mutate `colorscale` values into user data [#3341]
47+
- No longer mutate `zmin`/`zmax`, `cmin`/`cmax` values into user data [#3341]
48+
49+
### Fixed
50+
- Fix `react` when updates trigger a new set of auto-margins [#3323]
51+
- Fix `scattergl` coloring when more than 255 marker colors are present [#3328, #3334]
52+
- More `scattergl` IE11 fixes [#3333, #3335]
53+
- Multiple `surface` rendering fixes [#3281]
54+
- Correctly default `scene.dragmode` to `'orbit'` when camera up vector is
55+
tilted [#3256]
56+
- Fix hover on `scatter3d` traces with `opacity: 1` on Ubuntu [#3301]
57+
- Fix console error _Uncaught ax.dtick error: NaN_ in gl3d subplots [#3233]
58+
- Fix histogram hover event triggers when hovering from bar to bar [#3345]
59+
- Fix graphs with empty and non-empty histogram traces [#3343]
60+
- Fix contour labels on reversed axes [#3279]
61+
- Fix `autocolorscale` toggling [#3341]
62+
- Fix template support for `marker.colorscale` [#3341]
63+
- Fix `scatter3D` trace with `mode: 'lines+markers'` with line color array error [#3341]
64+
- Do not add `<base>` href to SVG clip paths during toImage [#3272]
65+
- Fix table scrolling that leaked into window scope [#3327]
66+
- Fix fills on segment-less marker-less traces [#3282]
67+
- Fix rangesliders on reversed-range axes [#3304]
68+
- Fix rangesliders on `side: 'top'`x-axes [#3329]
69+
- Fix typed array support for `ohlc` and `candlestick` traces [#3342]
70+
- Fix `restyle` with `impliedEdits` on trace with `groupby` transforms [#3236]
71+
- Fix `editable: true` drag on `marker` colorbars [#3236]
72+
73+
1374
## [1.42.5] -- 2018-11-08
1475

1576
### Fixed

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.5.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.43.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.42.5.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.43.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.42.5.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.43.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-
| 5.9 MB | 2.7 MB | 832.5 kB | 6.2 MB |
91+
| 6 MB | 2.8 MB | 843 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.4 kB | 257.2 kB |
114+
| 2.3 MB | 805.9 kB | 263.4 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.5.js |
123-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.42.5.min.js |
122+
| Tagged | https://cdn.plot.ly/plotly-basic-1.43.0.js |
123+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.43.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.5 MB | 898.9 kB | 292.6 kB |
160+
| 2.6 MB | 918.8 kB | 299.1 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.5.js |
169-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.42.5.min.js |
168+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.43.0.js |
169+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.43.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.2 MB | 805.3 kB | 265.3 kB |
206+
| 2.3 MB | 823.7 kB | 271.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.5.js |
215-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.42.5.min.js |
214+
| Tagged | https://cdn.plot.ly/plotly-geo-1.43.0.js |
215+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.43.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.3 MB | 1.3 MB | 414 kB |
252+
| 3.3 MB | 1.3 MB | 422.9 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.5.js |
261-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.42.5.min.js |
260+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.43.0.js |
261+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.43.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.3 MB | 1.3 MB | 433.7 kB |
298+
| 3.4 MB | 1.4 MB | 440.9 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.5.js |
307-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.42.5.min.js |
306+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.43.0.js |
307+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.43.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.7 MB | 1.3 MB | 403.1 kB |
344+
| 2.8 MB | 1.3 MB | 409.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.5.js |
353-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.42.5.min.js |
352+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.43.0.js |
353+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.43.0.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 | 818.1 kB | 266.9 kB |
390+
| 2.3 MB | 837.9 kB | 273.1 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.5.js |
399-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.42.5.min.js |
398+
| Tagged | https://cdn.plot.ly/plotly-finance-1.43.0.js |
399+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.43.0.min.js |
400400

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

0 commit comments

Comments
 (0)