@@ -5,13 +5,13 @@ All plotly.js dist bundles inject an object `Plotly` into the global scope.
55Import plotly.js as:
66
77``` html
8- <script type = " text/javascript " src =" plotly.min.js" ></script >
8+ <script src =" plotly.min.js" ></script >
99```
1010
1111or the un-minified version as:
1212
1313``` html
14- <script type = " text/javascript " src =" plotly.js" charset =" utf-8" ></script >
14+ <script src =" plotly.js" charset =" utf-8" ></script >
1515```
1616
1717### To support IE9
@@ -28,7 +28,7 @@ or the un-minified version as:
2828* Before* the plotly.js script tag, add:
2929
3030``` 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 >
3232```
3333
3434You 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/`.
3838Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
3939Many other localizations are available - here is an example using Swiss-German (de-CH),
4040see 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
4242Note 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:
4545
4646``` 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 >
4949```
5050
5151The 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.
6161
6262It 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.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
6565
6666or as raw javascript:
6767- 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
6969- using CommonJS with ` require('plotly.js') `
7070
7171If 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:
7474
7575| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
7676| -----------| ---------------| ----------------------| ---------------------|
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 |
7878
7979## Partial bundles
8080
@@ -98,13 +98,13 @@ The `basic` partial bundle contains the `scatter`, `bar` and `pie` trace modules
9898| dist bundle (minified) | ` dist/plotly-basic.min.js ` |
9999| CDN URL (latest) | https://cdn.plot.ly/plotly-basic-latest.js |
100100| 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 |
103103| CommonJS | ` require('plotly.js/lib/index-basic') ` |
104104
105105| Raw size | Minified size | Minified + gzip size |
106106| ------| -----------------| ------------------------|
107- | 1.9 MB | 686.2 kB | 223.1 kB |
107+ | 2 MB | 714 kB | 231.9 kB |
108108
109109### plotly.js cartesian
110110
@@ -116,13 +116,13 @@ The `cartesian` partial bundle contains the `scatter`, `bar`, `box`, `heatmap`,
116116| dist bundle (minified) | ` dist/plotly-cartesian.min.js ` |
117117| CDN URL (latest) | https://cdn.plot.ly/plotly-cartesian-latest.js |
118118| 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 |
121121| CommonJS | ` require('plotly.js/lib/index-cartesian') ` |
122122
123123| Raw size | Minified size | Minified + gzip size |
124124| ------| -----------------| ------------------------|
125- | 2.1 MB | 772 kB | 249.2 kB |
125+ | 2.2 MB | 818 kB | 264.4 kB |
126126
127127### plotly.js geo
128128
@@ -134,13 +134,13 @@ The `geo` partial bundle contains the `scatter`, `scattergeo` and `choropleth` t
134134| dist bundle (minified) | ` dist/plotly-geo.min.js ` |
135135| CDN URL (latest) | https://cdn.plot.ly/plotly-geo-latest.js |
136136| 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 |
139139| CommonJS | ` require('plotly.js/lib/index-geo') ` |
140140
141141| Raw size | Minified size | Minified + gzip size |
142142| ------| -----------------| ------------------------|
143- | 1.9 MB | 711.2 kB | 232.7 kB |
143+ | 2 MB | 739 kB | 241.6 kB |
144144
145145### plotly.js gl3d
146146
@@ -152,13 +152,13 @@ The `gl3d` partial bundle contains the `scatter`, `scatter3d`, `surface` and `me
152152| dist bundle (minified) | ` dist/plotly-gl3d.min.js ` |
153153| CDN URL (latest) | https://cdn.plot.ly/plotly-gl3d-latest.js |
154154| 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 |
157157| CommonJS | ` require('plotly.js/lib/index-gl3d') ` |
158158
159159| Raw size | Minified size | Minified + gzip size |
160160| ------| -----------------| ------------------------|
161- | 2.8 MB | 1.1 MB | 361.7 kB |
161+ | 2.9 MB | 1.1 MB | 370.2 kB |
162162
163163### plotly.js gl2d
164164
@@ -170,13 +170,13 @@ The `gl2d` partial bundle contains the `scatter`, `scattergl`, `pointcloud`, `he
170170| dist bundle (minified) | ` dist/plotly-gl2d.min.js ` |
171171| CDN URL (latest) | https://cdn.plot.ly/plotly-gl2d-latest.js |
172172| 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 |
175175| CommonJS | ` require('plotly.js/lib/index-gl2d') ` |
176176
177177| Raw size | Minified size | Minified + gzip size |
178178| ------| -----------------| ------------------------|
179- | 2.9 MB | 1.2 MB | 371.4 kB |
179+ | 3 MB | 1.2 MB | 380.7 kB |
180180
181181### plotly.js mapbox
182182
@@ -188,13 +188,13 @@ The `mapbox` partial bundle contains the `scatter` and `scattermapbox` trace mod
188188| dist bundle (minified) | ` dist/plotly-mapbox.min.js ` |
189189| CDN URL (latest) | https://cdn.plot.ly/plotly-mapbox-latest.js |
190190| 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 |
193193| CommonJS | ` require('plotly.js/lib/index-mapbox') ` |
194194
195195| Raw size | Minified size | Minified + gzip size |
196196| ------| -----------------| ------------------------|
197- | 2.9 MB | 1.1 MB | 336.5 kB |
197+ | 3 MB | 1.1 MB | 344.6 kB |
198198
199199### plotly.js finance
200200
@@ -206,13 +206,13 @@ The `finance` partial bundle contains the `scatter`, `bar`, `histogram`, `pie`,
206206| dist bundle (minified) | ` dist/plotly-finance.min.js ` |
207207| CDN URL (latest) | https://cdn.plot.ly/plotly-finance-latest.js |
208208| 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 |
211211| CommonJS | ` require('plotly.js/lib/index-finance') ` |
212212
213213| Raw size | Minified size | Minified + gzip size |
214214| ------| -----------------| ------------------------|
215- | 1.9 MB | 716.6 kB | 231.6 kB |
215+ | 2.1 MB | 750.3 kB | 242.8 kB |
216216
217217----------------
218218
0 commit comments