Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bead43f

Browse filesBrowse files
committed
1.50.0
1 parent 5b27235 commit bead43f
Copy full SHA for bead43f
Expand file treeCollapse file tree

35 files changed

+22576
-13935
lines changed

‎dist/README.md

Copy file name to clipboardExpand all lines: dist/README.md
+77-25Lines changed: 77 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.49.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.50.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.49.5.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.50.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.49.5.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.50.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-
| 6.7 MB | 3.1 MB | 934.3 kB | 7 MB |
91+
| 6.8 MB | 3.1 MB | 948.8 kB | 7.1 MB |
9292

9393
## Partial bundles
9494

@@ -103,6 +103,9 @@ Starting in `v1.15.0`, plotly.js also ships with several _partial_ bundles:
103103
- [finance](#plotlyjs-finance)
104104

105105
Starting in `v1.39.0`, each plotly.js partial bundle has a corresponding npm package with no dependencies.
106+
107+
Starting in `v1.50.0`, the minified version of each partial bundle is also published to npm in a separate "dist min" package.
108+
106109
### plotly.js basic
107110

108111
The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.
@@ -111,16 +114,16 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.
111114

112115
| Raw size | Minified size | Minified + gzip size |
113116
|------|-----------------|------------------------|
114-
| 2.3 MB | 835.6 kB | 274.3 kB |
117+
| 2.3 MB | 840.8 kB | 276 kB |
115118

116119
#### CDN links
117120

118121
| Flavor | URL |
119122
| ------ | --- |
120123
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
121124
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
122-
| Tagged | https://cdn.plot.ly/plotly-basic-1.49.5.js |
123-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.49.5.min.js |
125+
| Tagged | https://cdn.plot.ly/plotly-basic-1.50.0.js |
126+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.50.0.min.js |
124127

125128
#### npm package (starting in `v1.39.0`)
126129

@@ -139,6 +142,13 @@ CommonJS usage:
139142
var Plotly = require('plotly.js-basic-dist');
140143
```
141144

145+
#### dist min npm package (starting in `v1.50.0`)
146+
147+
Install [`plotly.js-basic-dist-min`](https://www.npmjs.com/package/plotly.js-basic-dist-min) with
148+
```
149+
npm install plotly.js-basic-dist-min
150+
```
151+
142152
#### Other plotly.js entry points
143153

144154
| Flavor | Location |
@@ -157,16 +167,16 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `
157167

158168
| Raw size | Minified size | Minified + gzip size |
159169
|------|-----------------|------------------------|
160-
| 2.6 MB | 952.5 kB | 311.5 kB |
170+
| 2.7 MB | 958.5 kB | 313.4 kB |
161171

162172
#### CDN links
163173

164174
| Flavor | URL |
165175
| ------ | --- |
166176
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
167177
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
168-
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.49.5.js |
169-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.49.5.min.js |
178+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.50.0.js |
179+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.50.0.min.js |
170180

171181
#### npm package (starting in `v1.39.0`)
172182

@@ -185,6 +195,13 @@ CommonJS usage:
185195
var Plotly = require('plotly.js-cartesian-dist');
186196
```
187197

198+
#### dist min npm package (starting in `v1.50.0`)
199+
200+
Install [`plotly.js-cartesian-dist-min`](https://www.npmjs.com/package/plotly.js-cartesian-dist-min) with
201+
```
202+
npm install plotly.js-cartesian-dist-min
203+
```
204+
188205
#### Other plotly.js entry points
189206

190207
| Flavor | Location |
@@ -203,16 +220,16 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho
203220

204221
| Raw size | Minified size | Minified + gzip size |
205222
|------|-----------------|------------------------|
206-
| 2.3 MB | 849.2 kB | 280.5 kB |
223+
| 2.3 MB | 852.6 kB | 281.6 kB |
207224

208225
#### CDN links
209226

210227
| Flavor | URL |
211228
| ------ | --- |
212229
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
213230
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
214-
| Tagged | https://cdn.plot.ly/plotly-geo-1.49.5.js |
215-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.49.5.min.js |
231+
| Tagged | https://cdn.plot.ly/plotly-geo-1.50.0.js |
232+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.50.0.min.js |
216233

217234
#### npm package (starting in `v1.39.0`)
218235

@@ -231,6 +248,13 @@ CommonJS usage:
231248
var Plotly = require('plotly.js-geo-dist');
232249
```
233250

251+
#### dist min npm package (starting in `v1.50.0`)
252+
253+
Install [`plotly.js-geo-dist-min`](https://www.npmjs.com/package/plotly.js-geo-dist-min) with
254+
```
255+
npm install plotly.js-geo-dist-min
256+
```
257+
234258
#### Other plotly.js entry points
235259

236260
| Flavor | Location |
@@ -249,16 +273,16 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac
249273

250274
| Raw size | Minified size | Minified + gzip size |
251275
|------|-----------------|------------------------|
252-
| 3.4 MB | 1.4 MB | 437.1 kB |
276+
| 3.5 MB | 1.4 MB | 438.4 kB |
253277

254278
#### CDN links
255279

256280
| Flavor | URL |
257281
| ------ | --- |
258282
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
259283
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
260-
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.49.5.js |
261-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.49.5.min.js |
284+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.50.0.js |
285+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.50.0.min.js |
262286

263287
#### npm package (starting in `v1.39.0`)
264288

@@ -277,6 +301,13 @@ CommonJS usage:
277301
var Plotly = require('plotly.js-gl3d-dist');
278302
```
279303

304+
#### dist min npm package (starting in `v1.50.0`)
305+
306+
Install [`plotly.js-gl3d-dist-min`](https://www.npmjs.com/package/plotly.js-gl3d-dist-min) with
307+
```
308+
npm install plotly.js-gl3d-dist-min
309+
```
310+
280311
#### Other plotly.js entry points
281312

282313
| Flavor | Location |
@@ -295,16 +326,16 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`
295326

296327
| Raw size | Minified size | Minified + gzip size |
297328
|------|-----------------|------------------------|
298-
| 3.5 MB | 1.4 MB | 455 kB |
329+
| 3.5 MB | 1.4 MB | 456.3 kB |
299330

300331
#### CDN links
301332

302333
| Flavor | URL |
303334
| ------ | --- |
304335
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
305336
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
306-
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.49.5.js |
307-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.49.5.min.js |
337+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.50.0.js |
338+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.50.0.min.js |
308339

309340
#### npm package (starting in `v1.39.0`)
310341

@@ -323,6 +354,13 @@ CommonJS usage:
323354
var Plotly = require('plotly.js-gl2d-dist');
324355
```
325356

357+
#### dist min npm package (starting in `v1.50.0`)
358+
359+
Install [`plotly.js-gl2d-dist-min`](https://www.npmjs.com/package/plotly.js-gl2d-dist-min) with
360+
```
361+
npm install plotly.js-gl2d-dist-min
362+
```
363+
326364
#### Other plotly.js entry points
327365

328366
| Flavor | Location |
@@ -341,16 +379,16 @@ The `mapbox` partial bundle contains trace modules `scatter`, `scattermapbox`, `
341379

342380
| Raw size | Minified size | Minified + gzip size |
343381
|------|-----------------|------------------------|
344-
| 3.1 MB | 1.5 MB | 456.4 kB |
382+
| 3.1 MB | 1.5 MB | 461.6 kB |
345383

346384
#### CDN links
347385

348386
| Flavor | URL |
349387
| ------ | --- |
350388
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
351389
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
352-
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.49.5.js |
353-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.49.5.min.js |
390+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.50.0.js |
391+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.50.0.min.js |
354392

355393
#### npm package (starting in `v1.39.0`)
356394

@@ -369,6 +407,13 @@ CommonJS usage:
369407
var Plotly = require('plotly.js-mapbox-dist');
370408
```
371409

410+
#### dist min npm package (starting in `v1.50.0`)
411+
412+
Install [`plotly.js-mapbox-dist-min`](https://www.npmjs.com/package/plotly.js-mapbox-dist-min) with
413+
```
414+
npm install plotly.js-mapbox-dist-min
415+
```
416+
372417
#### Other plotly.js entry points
373418

374419
| Flavor | Location |
@@ -387,16 +432,16 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram
387432

388433
| Raw size | Minified size | Minified + gzip size |
389434
|------|-----------------|------------------------|
390-
| 2.5 MB | 921.4 kB | 298.8 kB |
435+
| 2.5 MB | 926.7 kB | 300.6 kB |
391436

392437
#### CDN links
393438

394439
| Flavor | URL |
395440
| ------ | --- |
396441
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
397442
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
398-
| Tagged | https://cdn.plot.ly/plotly-finance-1.49.5.js |
399-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.49.5.min.js |
443+
| Tagged | https://cdn.plot.ly/plotly-finance-1.50.0.js |
444+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.50.0.min.js |
400445

401446
#### npm package (starting in `v1.39.0`)
402447

@@ -415,6 +460,13 @@ CommonJS usage:
415460
var Plotly = require('plotly.js-finance-dist');
416461
```
417462

463+
#### dist min npm package (starting in `v1.50.0`)
464+
465+
Install [`plotly.js-finance-dist-min`](https://www.npmjs.com/package/plotly.js-finance-dist-min) with
466+
```
467+
npm install plotly.js-finance-dist-min
468+
```
469+
418470
#### Other plotly.js entry points
419471

420472
| Flavor | Location |

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.