Skip to content

Commit 9a0aa64

Browse files
committed
Merge branch 'master' into pr-20161121-scrollable-dropdown-menus
2 parents 66e503c + 2070279 commit 9a0aa64

File tree

548 files changed

+53749
-20831
lines changed

Some content is hidden

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

548 files changed

+53749
-20831
lines changed

CHANGELOG.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,88 @@ 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.22.0] -- 2016-01-19
14+
15+
### Added
16+
- Add `cumulative` histogram attributes to generate Cumulative Distribution
17+
Functions [#1189]
18+
- Add `standoff` attribute for annotations to move the arrowhead away from the
19+
point it's marking [#1265]
20+
- Add `clicktoshow`, `xclick` and `yclick` attributes for annotations to
21+
show/hide annotations on click [#1265]
22+
- Support data-referenced annotation in gl2d subplots [#1301, #1319]
23+
- Honor `fixedrange: false` in y-axes anchored to xaxis with range slider
24+
[#1261]
25+
- Add fallbacks for IE9 so that all cartesian traces can render without any
26+
polyfill [#1297, #1299]
27+
28+
### Changed
29+
- Adapt plot schema output for plotly.py 2.0 [#1292]
30+
- Bump `mouse-change` dep to `^1.4.0` [#1305]
31+
- Improve performance in `visible` toggling for `scattergl` [#1300]
32+
33+
### Fixed
34+
- Fix XSS vulnerability in trace name on hover [#1307]
35+
- Fix ternary and geo subplot with `visible: false` first trace [#1291]
36+
- Fix opacity for `mode: 'lines'` items in legend [#1204]
37+
- Fix legend items style for bar trace with marker arrays [#1289]
38+
- Fix range slider svg / pdf and eps image exports [#1306]
39+
- Fix scattergl `visible: false` traces with empty data arrays [#1300]
40+
- Fix a few contour trace edge cases [#1309]
41+
- Updatemenus buttons now render above sliders [#1302]
42+
- Add fallback for categorical histogram on linear axes [#1284]
43+
- Allow style fields in sub and sup text [#1288]
44+
45+
46+
## [1.21.3] -- 2016-01-05
47+
48+
### Fixed
49+
- Fix zoom behavior on transformed traces [#1257]
50+
- Compute axis auto-range after transform operation [#1260]
51+
- Fix contour trace blowing up on zoom [#591]
52+
- Fix `scattermapbox` and `scattergeo` handling of blank strings `text` [#1283]
53+
- Lock `mouse-change@1.3.0` fixing 3D hover labels on fresh `npm install`
54+
[#1281]
55+
56+
57+
## [1.21.2] -- 2016-12-14
58+
59+
### Fixed
60+
- Fix handling of calendar in `filter` transforms where distinct calendars can
61+
now be set for both the `target` and `value` [#1253]
62+
- Make `Plotly.addFrames` skip over non-plain-objects inputs [#1254]
63+
- Make `Plots.graphJson` aware of `frames` [#1255]
64+
65+
66+
## [1.21.1] -- 2016-12-14
67+
68+
### Fixed
69+
- Fix `ms2datetime` routine for Chinese calendar [#1252]
70+
- Fix `tickformat` for world calendars [#1252]
71+
72+
73+
## [1.21.0] -- 2016-12-12
74+
75+
### Added
76+
- Bar labels via `text` and `textposition` [#1159]
77+
- Add support for 16 non-gregorian calendars for date inputs and display [#1220,
78+
#1230, #1237]
79+
- Add support for ISO-8601 timestamps [#1194]
80+
- Extend histogram bin auto-shifting algorithm to date axes [#1201]
81+
- Trace type `heatmapgl` is now included in the main plotly.js bundle [#1197]
82+
83+
### Changed
84+
- Linearize date coordinates using UTC rather than local milliseconds [#1194]
85+
86+
### Fixed
87+
- Fix wrongly computed date positions around daylight savings time [#1194]
88+
- Fix erroneous traces in multi-subplot layout containing fill-to scatter
89+
traces (and plotly.py violin plots) [#1198]
90+
- Fix clip path URL on pages with query hashes [#1203]
91+
- Ensure that numeric frame name are handle correctly [#1236]
92+
- Fallback for manual manipulation of slider/frames [#1233]
93+
94+
1395
## [1.20.5] -- 2016-11-23
1496

1597
### Fixed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 Plotly, Inc
3+
Copyright (c) 2017 Plotly, Inc
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ plotly.js charts can also be created and saved online for free at [plot.ly/plot]
162162

163163
## Copyright and license
164164

165-
Code and documentation copyright 2016 Plotly, Inc.
165+
Code and documentation copyright 2017 Plotly, Inc.
166166

167167
Code released under the [MIT license](https://github.com/plotly/plotly.js/blob/master/LICENSE).
168168

devtools/test_dashboard/devtools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ var Tabs = {
5858
var mockURL = '/test/image/mocks/' + mockName + '.json';
5959

6060
d3.json(mockURL, function(err, fig) {
61-
Plotly.plot(Tabs.fresh(id), fig.data, fig.layout);
61+
Plotly.plot(Tabs.fresh(id), fig);
6262

6363
console.warn('Plotting:', mockURL);
6464
});

dist/README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
3737

3838
It be can imported as minified javascript
3939
- using dist file `dist/plotly.min.js`
40-
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.20.5.min.js
40+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.22.0.min.js
4141

4242
or as raw javascript:
4343
- using dist file `dist/plotly.js`
44-
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.20.5.js
44+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.22.0.js
4545
- using CommonJS with `require('plotly.js')`
4646

4747
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`
@@ -50,7 +50,7 @@ The main plotly.js bundle weights in at:
5050

5151
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
5252
|-----------|---------------|----------------------|---------------------|
53-
| 4.2 MB | 1.7 MB | 526.5 kB | 4.3 MB |
53+
| 4.5 MB | 1.8 MB | 558.7 kB | 4.6 MB |
5454

5555
## Partial bundles
5656

@@ -74,13 +74,13 @@ The `basic` partial bundle contains the `scatter`, `bar` and `pie` trace modules
7474
| dist bundle (minified) | `dist/plotly-basic.min.js` |
7575
| CDN URL (latest) | https://cdn.plot.ly/plotly-basic-latest.js |
7676
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-basic-latest.min.js |
77-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.20.5.js |
78-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.20.5.min.js |
77+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.22.0.js |
78+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.22.0.min.js |
7979
| CommonJS | `require('plotly.js/lib/index-basic')` |
8080

8181
| Raw size | Minified size | Minified + gzip size |
8282
|------|-----------------|------------------------|
83-
| 1.6 MB | 607 kB | 196.7 kB |
83+
| 1.6 MB | 620.4 kB | 201.7 kB |
8484

8585
### plotly.js cartesian
8686

@@ -92,13 +92,13 @@ The `cartesian` partial bundle contains the `scatter`, `bar`, `box`, `heatmap`,
9292
| dist bundle (minified) | `dist/plotly-cartesian.min.js` |
9393
| CDN URL (latest) | https://cdn.plot.ly/plotly-cartesian-latest.js |
9494
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
95-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.20.5.js |
96-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.20.5.min.js |
95+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.22.0.js |
96+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.22.0.min.js |
9797
| CommonJS | `require('plotly.js/lib/index-cartesian')` |
9898

9999
| Raw size | Minified size | Minified + gzip size |
100100
|------|-----------------|------------------------|
101-
| 1.8 MB | 677.8 kB | 218 kB |
101+
| 1.8 MB | 694.4 kB | 224.1 kB |
102102

103103
### plotly.js geo
104104

@@ -110,13 +110,13 @@ The `geo` partial bundle contains the `scatter`, `scattergeo` and `choropleth` t
110110
| dist bundle (minified) | `dist/plotly-geo.min.js` |
111111
| CDN URL (latest) | https://cdn.plot.ly/plotly-geo-latest.js |
112112
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-geo-latest.min.js |
113-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.20.5.js |
114-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.20.5.min.js |
113+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.22.0.js |
114+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.22.0.min.js |
115115
| CommonJS | `require('plotly.js/lib/index-geo')` |
116116

117117
| Raw size | Minified size | Minified + gzip size |
118118
|------|-----------------|------------------------|
119-
| 1.6 MB | 635.5 kB | 207.3 kB |
119+
| 1.7 MB | 644.6 kB | 210.7 kB |
120120

121121
### plotly.js gl3d
122122

@@ -128,13 +128,13 @@ The `gl3d` partial bundle contains the `scatter`, `scatter3d`, `surface` and `me
128128
| dist bundle (minified) | `dist/plotly-gl3d.min.js` |
129129
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl3d-latest.js |
130130
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
131-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.20.5.js |
132-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.20.5.min.js |
131+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.22.0.js |
132+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.22.0.min.js |
133133
| CommonJS | `require('plotly.js/lib/index-gl3d')` |
134134

135135
| Raw size | Minified size | Minified + gzip size |
136136
|------|-----------------|------------------------|
137-
| 2.5 MB | 1 MB | 328.1 kB |
137+
| 2.5 MB | 1 MB | 331.9 kB |
138138

139139
### plotly.js gl2d
140140

@@ -146,13 +146,13 @@ The `gl2d` partial bundle contains the `scatter`, `scattergl`, `pointcloud`, `he
146146
| dist bundle (minified) | `dist/plotly-gl2d.min.js` |
147147
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl2d-latest.js |
148148
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
149-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.20.5.js |
150-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.20.5.min.js |
149+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.22.0.js |
150+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.22.0.min.js |
151151
| CommonJS | `require('plotly.js/lib/index-gl2d')` |
152152

153153
| Raw size | Minified size | Minified + gzip size |
154154
|------|-----------------|------------------------|
155-
| 2.2 MB | 929.5 kB | 290.9 kB |
155+
| 2.3 MB | 942.8 kB | 295.5 kB |
156156

157157
### plotly.js mapbox
158158

@@ -164,13 +164,13 @@ The `mapbox` partial bundle contains the `scatter` and `scattermapbox` trace mod
164164
| dist bundle (minified) | `dist/plotly-mapbox.min.js` |
165165
| CDN URL (latest) | https://cdn.plot.ly/plotly-mapbox-latest.js |
166166
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
167-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.20.5.js |
168-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.20.5.min.js |
167+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.22.0.js |
168+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.22.0.min.js |
169169
| CommonJS | `require('plotly.js/lib/index-mapbox')` |
170170

171171
| Raw size | Minified size | Minified + gzip size |
172172
|------|-----------------|------------------------|
173-
| 2.6 MB | 1 MB | 310.8 kB |
173+
| 2.7 MB | 1 MB | 314.8 kB |
174174

175175
### plotly.js finance
176176

@@ -182,13 +182,13 @@ The `finance` partial bundle contains the `scatter`, `bar`, `histogram`, `pie`,
182182
| dist bundle (minified) | `dist/plotly-finance.min.js` |
183183
| CDN URL (latest) | https://cdn.plot.ly/plotly-finance-latest.js |
184184
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-finance-latest.min.js |
185-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.20.5.js |
186-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.20.5.min.js |
185+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.22.0.js |
186+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.22.0.min.js |
187187
| CommonJS | `require('plotly.js/lib/index-finance')` |
188188

189189
| Raw size | Minified size | Minified + gzip size |
190190
|------|-----------------|------------------------|
191-
| 1.6 MB | 632.3 kB | 203.6 kB |
191+
| 1.7 MB | 647.2 kB | 209.3 kB |
192192

193193
----------------
194194

dist/npm-ls.json

Lines changed: 32 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plotly.js",
3-
"version": "1.20.5",
3+
"version": "1.22.0",
44
"dependencies": {
55
"3d-view": {
66
"version": "2.0.0",
@@ -928,9 +928,9 @@
928928
}
929929
},
930930
"gl-heatmap2d": {
931-
"version": "1.0.2",
932-
"from": "gl-heatmap2d@>=1.0.2 <2.0.0",
933-
"resolved": "https://registry.npmjs.org/gl-heatmap2d/-/gl-heatmap2d-1.0.2.tgz",
931+
"version": "1.0.3",
932+
"from": "gl-heatmap2d@>=1.0.3 <2.0.0",
933+
"resolved": "https://registry.npmjs.org/gl-heatmap2d/-/gl-heatmap2d-1.0.3.tgz",
934934
"dependencies": {
935935
"binary-search-bounds": {
936936
"version": "2.0.3",
@@ -1814,15 +1814,20 @@
18141814
}
18151815
},
18161816
"through2": {
1817-
"version": "2.0.1",
1817+
"version": "2.0.3",
18181818
"from": "through2@>=2.0.0 <3.0.0",
1819-
"resolved": "https://registry.npmjs.org/through2/-/through2-2.0.1.tgz",
1819+
"resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz",
18201820
"dependencies": {
18211821
"readable-stream": {
1822-
"version": "2.0.6",
1823-
"from": "readable-stream@>=2.0.0 <2.1.0",
1824-
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz",
1822+
"version": "2.2.2",
1823+
"from": "readable-stream@>=2.1.5 <3.0.0",
1824+
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.2.tgz",
18251825
"dependencies": {
1826+
"buffer-shims": {
1827+
"version": "1.0.0",
1828+
"from": "buffer-shims@>=1.0.0 <2.0.0",
1829+
"resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz"
1830+
},
18261831
"isarray": {
18271832
"version": "1.0.0",
18281833
"from": "isarray@>=1.0.0 <1.1.0",
@@ -2565,9 +2570,9 @@
25652570
}
25662571
},
25672572
"mouse-change": {
2568-
"version": "1.3.0",
2569-
"from": "mouse-change@>=1.1.1 <2.0.0",
2570-
"resolved": "https://registry.npmjs.org/mouse-change/-/mouse-change-1.3.0.tgz",
2573+
"version": "1.4.0",
2574+
"from": "mouse-change@>=1.4.0 <2.0.0",
2575+
"resolved": "https://registry.npmjs.org/mouse-change/-/mouse-change-1.4.0.tgz",
25712576
"dependencies": {
25722577
"mouse-event": {
25732578
"version": "1.0.5",
@@ -2635,9 +2640,9 @@
26352640
}
26362641
},
26372642
"uglify-js": {
2638-
"version": "2.7.4",
2639-
"from": "uglify-js@>=2.6.0 <3.0.0",
2640-
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.7.4.tgz",
2643+
"version": "2.7.5",
2644+
"from": "uglify-js@>=2.7.4 <3.0.0",
2645+
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.7.5.tgz",
26412646
"dependencies": {
26422647
"async": {
26432648
"version": "0.2.10",
@@ -2853,6 +2858,18 @@
28532858
"resolved": "https://registry.npmjs.org/get-canvas-context/-/get-canvas-context-1.0.2.tgz"
28542859
}
28552860
}
2861+
},
2862+
"world-calendars": {
2863+
"version": "1.0.3",
2864+
"from": "world-calendars@>=1.0.3 <2.0.0",
2865+
"resolved": "https://registry.npmjs.org/world-calendars/-/world-calendars-1.0.3.tgz",
2866+
"dependencies": {
2867+
"object-assign": {
2868+
"version": "4.1.0",
2869+
"from": "object-assign@>=4.0.1 <5.0.0",
2870+
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.0.tgz"
2871+
}
2872+
}
28562873
}
28572874
}
28582875
}

0 commit comments

Comments
 (0)