Skip to content

Commit

Permalink
1.50.0
Browse files Browse the repository at this point in the history
  • Loading branch information
etpinard committed Oct 7, 2019
1 parent 5b27235 commit bead43f
Show file tree
Hide file tree
Showing 35 changed files with 22,576 additions and 13,935 deletions.
102 changes: 77 additions & 25 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ object. This property must be set before the plotly.js script tag, for example:
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
Many other localizations are available - here is an example using Swiss-German (de-CH),
see the contents of this directory for the full list.
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
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
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.

*After* the plotly.js script tag, add:
Expand All @@ -74,12 +74,12 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.

It be can imported as minified javascript
- using dist file `dist/plotly.min.js`
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.49.5.min.js
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.50.0.min.js

or as raw javascript:
- using the `plotly.js-dist` npm package (starting in `v1.39.0`)
- using dist file `dist/plotly.js`
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.49.5.js
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.50.0.js
- using CommonJS with `require('plotly.js')`

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`
Expand All @@ -88,7 +88,7 @@ The main plotly.js bundle weights in at:

| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
|-----------|---------------|----------------------|---------------------|
| 6.7 MB | 3.1 MB | 934.3 kB | 7 MB |
| 6.8 MB | 3.1 MB | 948.8 kB | 7.1 MB |

## Partial bundles

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

Starting in `v1.39.0`, each plotly.js partial bundle has a corresponding npm package with no dependencies.

Starting in `v1.50.0`, the minified version of each partial bundle is also published to npm in a separate "dist min" package.

### plotly.js basic

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.3 MB | 835.6 kB | 274.3 kB |
| 2.3 MB | 840.8 kB | 276 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-basic-1.49.5.js |
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.49.5.min.js |
| Tagged | https://cdn.plot.ly/plotly-basic-1.50.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.50.0.min.js |

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

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

#### dist min npm package (starting in `v1.50.0`)

Install [`plotly.js-basic-dist-min`](https://www.npmjs.com/package/plotly.js-basic-dist-min) with
```
npm install plotly.js-basic-dist-min
```

#### Other plotly.js entry points

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.6 MB | 952.5 kB | 311.5 kB |
| 2.7 MB | 958.5 kB | 313.4 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.49.5.js |
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.49.5.min.js |
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.50.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.50.0.min.js |

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

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

#### dist min npm package (starting in `v1.50.0`)

Install [`plotly.js-cartesian-dist-min`](https://www.npmjs.com/package/plotly.js-cartesian-dist-min) with
```
npm install plotly.js-cartesian-dist-min
```

#### Other plotly.js entry points

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.3 MB | 849.2 kB | 280.5 kB |
| 2.3 MB | 852.6 kB | 281.6 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-geo-1.49.5.js |
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.49.5.min.js |
| Tagged | https://cdn.plot.ly/plotly-geo-1.50.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.50.0.min.js |

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

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

#### dist min npm package (starting in `v1.50.0`)

Install [`plotly.js-geo-dist-min`](https://www.npmjs.com/package/plotly.js-geo-dist-min) with
```
npm install plotly.js-geo-dist-min
```

#### Other plotly.js entry points

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.4 MB | 1.4 MB | 437.1 kB |
| 3.5 MB | 1.4 MB | 438.4 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.49.5.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.49.5.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.50.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.50.0.min.js |

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

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

#### dist min npm package (starting in `v1.50.0`)

Install [`plotly.js-gl3d-dist-min`](https://www.npmjs.com/package/plotly.js-gl3d-dist-min) with
```
npm install plotly.js-gl3d-dist-min
```

#### Other plotly.js entry points

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.5 MB | 1.4 MB | 455 kB |
| 3.5 MB | 1.4 MB | 456.3 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.49.5.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.49.5.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.50.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.50.0.min.js |

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

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

#### dist min npm package (starting in `v1.50.0`)

Install [`plotly.js-gl2d-dist-min`](https://www.npmjs.com/package/plotly.js-gl2d-dist-min) with
```
npm install plotly.js-gl2d-dist-min
```

#### Other plotly.js entry points

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.1 MB | 1.5 MB | 456.4 kB |
| 3.1 MB | 1.5 MB | 461.6 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.49.5.js |
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.49.5.min.js |
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.50.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.50.0.min.js |

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

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

#### dist min npm package (starting in `v1.50.0`)

Install [`plotly.js-mapbox-dist-min`](https://www.npmjs.com/package/plotly.js-mapbox-dist-min) with
```
npm install plotly.js-mapbox-dist-min
```

#### Other plotly.js entry points

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.5 MB | 921.4 kB | 298.8 kB |
| 2.5 MB | 926.7 kB | 300.6 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-finance-1.49.5.js |
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.49.5.min.js |
| Tagged | https://cdn.plot.ly/plotly-finance-1.50.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.50.0.min.js |

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

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

#### dist min npm package (starting in `v1.50.0`)

Install [`plotly.js-finance-dist-min`](https://www.npmjs.com/package/plotly.js-finance-dist-min) with
```
npm install plotly.js-finance-dist-min
```

#### Other plotly.js entry points

| Flavor | Location |
Expand Down
Loading

0 comments on commit bead43f

Please sign in to comment.