Skip to content

Commit a2ffd0c

Browse files
committed
Merge branch 'master' into date-iso8601
2 parents 899866b + 0fc37d6 commit a2ffd0c

Some content is hidden

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

52 files changed

+21920
-18272
lines changed

.eslintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"no-trailing-spaces": [2],
2323
"no-multiple-empty-lines": [2, {"max": 2, "maxEOF": 0}],
2424
"eol-last": [2],
25-
"linebreak-style": [2, "unix"],
2625
"indent": [2, 4, {"SwitchCase": 1}],
2726
"max-len": [0, 80],
2827
"brace-style": [0, "stroustrup", {"allowSingleLine": true}],

CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,79 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
99

1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

12+
13+
## [1.20.5] -- 2016-11-23
14+
15+
### Fixed
16+
- Fix 1.20.0 regression in handling numerical strings including commas and spaces
17+
[#1185]
18+
- Fix 1.20.0 regression involving date histograms [#1186]
19+
- Fix numerous tickvals` and `ticktext` edge cases [#1191]
20+
21+
22+
## [1.20.4] -- 2016-11-21
23+
24+
### Fixed
25+
- Fix metaKeys field `PlotSchema.get()` output
26+
27+
## [1.20.3] -- 2016-11-21
28+
29+
### Fixed
30+
- Remove infinite loop when plotting 1-pt `scattergl` traces [#1168]
31+
- Fix updatemenu bug where the wrong button was set to active [#1176]
32+
- Fix `addTraces` when called with existing traces as input [#1175]
33+
34+
35+
## [1.20.2] -- 2016-11-17
36+
37+
### Fixed
38+
- Fix hover labels in stacked bar charts [#1163]
39+
- Fix mode bar zoom buttons on date axes [#1162]
40+
41+
42+
## [1.20.1] -- 2016-11-16
43+
44+
### Fixed
45+
- Fix annotation positioning on categorical axes [#1155]
46+
47+
48+
## [1.20.0] -- 2016-11-15
49+
50+
### Added
51+
- Allow date string inputs for axis ranges, `tick0`, `dtick`, annotation / image
52+
positions, histogram bins [#1078, #1150]
53+
- Add special `dtick` values for log axes [#1078]
54+
- Add `visible` attribute to annotations, shapes and images items [#1110]
55+
- Expose events on slider start/change/end [#1126]
56+
- Expose event on updatemenu button click [#1128]
57+
- Allow custom transform module to have supply layout default handler [#1122]
58+
59+
### Changed
60+
- Increase `scattergl` precision [#1114]
61+
- Use `topojson-client` to convert topojson to geojson [#1147]
62+
63+
### Fixed
64+
- Fix hover labels for multi-trace `scattergl` graphs (bug introduced in
65+
`1.18.0`) [#1148]
66+
- Fix date format on hover on full hour [#1078]
67+
- Fix bar labels for non-zero `base` values [#1142]
68+
- Scatter colorscale now yield correct colors when cmin and cmax ashow re equal
69+
[#1112]
70+
- Fix `filter` transform for categorical `target` arrays with range operations
71+
[#1120]
72+
- Make sure frames with `null` values clear array containers [#1118]
73+
- Fix animations involving trace `opacity` [#1146]
74+
- Fix fallback for non-animatable trace modules (bug introduced in `1.18.1`)
75+
[#1141]
76+
- Fix race condition in animation resolution when coupled with `relayout`
77+
[#1108]
78+
- Enforce casting requested frame names to strings [#1124]
79+
- `Plotly.animte` no longer breaks when passing `null` frames [#1121]
80+
- `Plotly.PlotSchema.get` now correctly list rangeslider and rangeselector under
81+
`xaxis` only [#1144]
82+
- `Plotly.relayout` correctly updates arbitrary layout attributes [#1133]
83+
84+
1285
## [1.19.2] -- 2016-11-02
1386

1487
### Fixed

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-plotly-latest.min.js OR https://cdn.plot.ly/plotly-plotly-1.19.2.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
4141

4242
or as raw javascript:
4343
- using dist file `dist/plotly.js`
44-
- using CDN URL https://cdn.plot.ly/plotly-plotly-latest.js OR https://cdn.plot.ly/plotly-plotly-1.19.2.js
44+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.20.5.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 | 525.1 kB | 4.3 MB |
53+
| 4.2 MB | 1.7 MB | 526.5 kB | 4.3 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.19.2.js |
78-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.19.2.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 |
7979
| CommonJS | `require('plotly.js/lib/index-basic')` |
8080

8181
| Raw size | Minified size | Minified + gzip size |
8282
|------|-----------------|------------------------|
83-
| 1.6 MB | 605.4 kB | 196.1 kB |
83+
| 1.6 MB | 607 kB | 196.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.19.2.js |
96-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.19.2.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 |
9797
| CommonJS | `require('plotly.js/lib/index-cartesian')` |
9898

9999
| Raw size | Minified size | Minified + gzip size |
100100
|------|-----------------|------------------------|
101-
| 1.7 MB | 674.9 kB | 216.9 kB |
101+
| 1.8 MB | 677.8 kB | 218 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.19.2.js |
114-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.19.2.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 |
115115
| CommonJS | `require('plotly.js/lib/index-geo')` |
116116

117117
| Raw size | Minified size | Minified + gzip size |
118118
|------|-----------------|------------------------|
119-
| 1.6 MB | 633.4 kB | 206.7 kB |
119+
| 1.6 MB | 635.5 kB | 207.3 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.19.2.js |
132-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.19.2.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 |
133133
| CommonJS | `require('plotly.js/lib/index-gl3d')` |
134134

135135
| Raw size | Minified size | Minified + gzip size |
136136
|------|-----------------|------------------------|
137-
| 2.4 MB | 1 MB | 327.4 kB |
137+
| 2.5 MB | 1 MB | 328.1 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.19.2.js |
150-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.19.2.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 |
151151
| CommonJS | `require('plotly.js/lib/index-gl2d')` |
152152

153153
| Raw size | Minified size | Minified + gzip size |
154154
|------|-----------------|------------------------|
155-
| 2.2 MB | 926.3 kB | 289.8 kB |
155+
| 2.2 MB | 929.5 kB | 290.9 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.19.2.js |
168-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.19.2.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 |
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.1 kB |
173+
| 2.6 MB | 1 MB | 310.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.19.2.js |
186-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.19.2.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 |
187187
| CommonJS | `require('plotly.js/lib/index-finance')` |
188188

189189
| Raw size | Minified size | Minified + gzip size |
190190
|------|-----------------|------------------------|
191-
| 1.6 MB | 629.9 kB | 202.7 kB |
191+
| 1.6 MB | 632.3 kB | 203.6 kB |
192192

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

0 commit comments

Comments
 (0)