@@ -5,13 +5,13 @@ All plotly.js dist bundles inject an object `Plotly` into the global scope.
5
5
Import plotly.js as:
6
6
7
7
``` html
8
- <script type = " text/javascript " src =" plotly.min.js" ></script >
8
+ <script src =" plotly.min.js" ></script >
9
9
```
10
10
11
11
or the un-minified version as:
12
12
13
13
``` html
14
- <script type = " text/javascript " src =" plotly.js" charset =" utf-8" ></script >
14
+ <script src =" plotly.js" charset =" utf-8" ></script >
15
15
```
16
16
17
17
### To support IE9
@@ -28,7 +28,7 @@ or the un-minified version as:
28
28
* Before* the plotly.js script tag, add:
29
29
30
30
``` html
31
- <script type = " text/javascript " src =" mathjax/MathJax.js?config=TeX-AMS-MML_SVG" ></script >
31
+ <script src =" mathjax/MathJax.js?config=TeX-AMS-MML_SVG" ></script >
32
32
```
33
33
34
34
You can grab the relevant MathJax files in ` ./dist/extras/mathjax/ ` .
@@ -38,14 +38,14 @@ You can grab the relevant MathJax files in `./dist/extras/mathjax/`.
38
38
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
39
39
Many other localizations are available - here is an example using Swiss-German (de-CH),
40
40
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.31.2 .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.32.0 .js
42
42
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.
43
43
44
44
* After* the plotly.js script tag, add:
45
45
46
46
``` html
47
- <script type = " text/javascript " src =" plotly-locale-de-ch.js" ></script >
48
- <script type = " text/javascript " >Plotly .setPlotConfig ({locale: ' de-CH' }) </script >
47
+ <script src =" plotly-locale-de-ch.js" ></script >
48
+ <script >Plotly .setPlotConfig ({locale: ' de-CH' }) </script >
49
49
```
50
50
51
51
The first line loads and registers the locale definition with plotly.js, the second sets it as the default for all Plotly plots.
@@ -61,11 +61,11 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
61
61
62
62
It be can imported as minified javascript
63
63
- 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.31.2 .min.js
64
+ - using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.32.0 .min.js
65
65
66
66
or as raw javascript:
67
67
- using dist file ` dist/plotly.js `
68
- - using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.31.2 .js
68
+ - using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.32.0 .js
69
69
- using CommonJS with ` require('plotly.js') `
70
70
71
71
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 `
@@ -74,7 +74,7 @@ The main plotly.js bundle weights in at:
74
74
75
75
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
76
76
| -----------| ---------------| ----------------------| ---------------------|
77
- | 5.6 MB | 2.2 MB | 684.5 kB | 5.8 MB |
77
+ | 5.7 MB | 2.3 MB | 698.2 kB | 5.9 MB |
78
78
79
79
## Partial bundles
80
80
@@ -98,13 +98,13 @@ The `basic` partial bundle contains the `scatter`, `bar` and `pie` trace modules
98
98
| dist bundle (minified) | ` dist/plotly-basic.min.js ` |
99
99
| CDN URL (latest) | https://cdn.plot.ly/plotly-basic-latest.js |
100
100
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-basic-latest.min.js |
101
- | CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.31.2 .js |
102
- | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.31.2 .min.js |
101
+ | CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.32.0 .js |
102
+ | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.32.0 .min.js |
103
103
| CommonJS | ` require('plotly.js/lib/index-basic') ` |
104
104
105
105
| Raw size | Minified size | Minified + gzip size |
106
106
| ------| -----------------| ------------------------|
107
- | 1.9 MB | 686.2 kB | 223.1 kB |
107
+ | 2 MB | 714 kB | 231.9 kB |
108
108
109
109
### plotly.js cartesian
110
110
@@ -116,13 +116,13 @@ The `cartesian` partial bundle contains the `scatter`, `bar`, `box`, `heatmap`,
116
116
| dist bundle (minified) | ` dist/plotly-cartesian.min.js ` |
117
117
| CDN URL (latest) | https://cdn.plot.ly/plotly-cartesian-latest.js |
118
118
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
119
- | CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.31.2 .js |
120
- | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.31.2 .min.js |
119
+ | CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.32.0 .js |
120
+ | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.32.0 .min.js |
121
121
| CommonJS | ` require('plotly.js/lib/index-cartesian') ` |
122
122
123
123
| Raw size | Minified size | Minified + gzip size |
124
124
| ------| -----------------| ------------------------|
125
- | 2.1 MB | 772 kB | 249.2 kB |
125
+ | 2.2 MB | 818 kB | 264.4 kB |
126
126
127
127
### plotly.js geo
128
128
@@ -134,13 +134,13 @@ The `geo` partial bundle contains the `scatter`, `scattergeo` and `choropleth` t
134
134
| dist bundle (minified) | ` dist/plotly-geo.min.js ` |
135
135
| CDN URL (latest) | https://cdn.plot.ly/plotly-geo-latest.js |
136
136
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-geo-latest.min.js |
137
- | CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.31.2 .js |
138
- | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.31.2 .min.js |
137
+ | CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.32.0 .js |
138
+ | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.32.0 .min.js |
139
139
| CommonJS | ` require('plotly.js/lib/index-geo') ` |
140
140
141
141
| Raw size | Minified size | Minified + gzip size |
142
142
| ------| -----------------| ------------------------|
143
- | 1.9 MB | 711.2 kB | 232.7 kB |
143
+ | 2 MB | 739 kB | 241.6 kB |
144
144
145
145
### plotly.js gl3d
146
146
@@ -152,13 +152,13 @@ The `gl3d` partial bundle contains the `scatter`, `scatter3d`, `surface` and `me
152
152
| dist bundle (minified) | ` dist/plotly-gl3d.min.js ` |
153
153
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl3d-latest.js |
154
154
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
155
- | CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.31.2 .js |
156
- | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.31.2 .min.js |
155
+ | CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.32.0 .js |
156
+ | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.32.0 .min.js |
157
157
| CommonJS | ` require('plotly.js/lib/index-gl3d') ` |
158
158
159
159
| Raw size | Minified size | Minified + gzip size |
160
160
| ------| -----------------| ------------------------|
161
- | 2.8 MB | 1.1 MB | 361.7 kB |
161
+ | 2.9 MB | 1.1 MB | 370.2 kB |
162
162
163
163
### plotly.js gl2d
164
164
@@ -170,13 +170,13 @@ The `gl2d` partial bundle contains the `scatter`, `scattergl`, `pointcloud`, `he
170
170
| dist bundle (minified) | ` dist/plotly-gl2d.min.js ` |
171
171
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl2d-latest.js |
172
172
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
173
- | CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.31.2 .js |
174
- | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.31.2 .min.js |
173
+ | CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.32.0 .js |
174
+ | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.32.0 .min.js |
175
175
| CommonJS | ` require('plotly.js/lib/index-gl2d') ` |
176
176
177
177
| Raw size | Minified size | Minified + gzip size |
178
178
| ------| -----------------| ------------------------|
179
- | 2.9 MB | 1.2 MB | 371.4 kB |
179
+ | 3 MB | 1.2 MB | 380.7 kB |
180
180
181
181
### plotly.js mapbox
182
182
@@ -188,13 +188,13 @@ The `mapbox` partial bundle contains the `scatter` and `scattermapbox` trace mod
188
188
| dist bundle (minified) | ` dist/plotly-mapbox.min.js ` |
189
189
| CDN URL (latest) | https://cdn.plot.ly/plotly-mapbox-latest.js |
190
190
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
191
- | CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.31.2 .js |
192
- | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.31.2 .min.js |
191
+ | CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.32.0 .js |
192
+ | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.32.0 .min.js |
193
193
| CommonJS | ` require('plotly.js/lib/index-mapbox') ` |
194
194
195
195
| Raw size | Minified size | Minified + gzip size |
196
196
| ------| -----------------| ------------------------|
197
- | 2.9 MB | 1.1 MB | 336.5 kB |
197
+ | 3 MB | 1.1 MB | 344.6 kB |
198
198
199
199
### plotly.js finance
200
200
@@ -206,13 +206,13 @@ The `finance` partial bundle contains the `scatter`, `bar`, `histogram`, `pie`,
206
206
| dist bundle (minified) | ` dist/plotly-finance.min.js ` |
207
207
| CDN URL (latest) | https://cdn.plot.ly/plotly-finance-latest.js |
208
208
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-finance-latest.min.js |
209
- | CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.31.2 .js |
210
- | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.31.2 .min.js |
209
+ | CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.32.0 .js |
210
+ | CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.32.0 .min.js |
211
211
| CommonJS | ` require('plotly.js/lib/index-finance') ` |
212
212
213
213
| Raw size | Minified size | Minified + gzip size |
214
214
| ------| -----------------| ------------------------|
215
- | 1.9 MB | 716.6 kB | 231.6 kB |
215
+ | 2.1 MB | 750.3 kB | 242.8 kB |
216
216
217
217
----------------
218
218
0 commit comments