Skip to content

Commit

Permalink
Merge pull request #3104 from plotly/undo_dist_changes
Browse files Browse the repository at this point in the history
Undo dist changes to be the same as the last official release.
  • Loading branch information
archmoj authored Oct 13, 2018
2 parents 68bd3f7 + bfd9e9c commit c922c61
Show file tree
Hide file tree
Showing 20 changed files with 600,796 additions and 612,931 deletions.
29 changes: 8 additions & 21 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,6 @@ or the un-minified version as:

You can grab the relevant MathJax files in `./dist/extras/mathjax/`.

By default, plotly.js will modify the global MathJax configuration on load.
This can lead to undesirable behavior if plotly.js is loaded alongside
other libraries that also rely on MathJax. To disable this global configuration
process, set the `MathJaxConfig` property to `'local'` in the `window.PlotlyConfig`
object. This property must be set before the plotly.js script tag, for example:

```html
<script>
window.PlotlyConfig = {MathJaxConfig: 'local'}
</script>
<script src="plotly.min.js"></script>
```

### To include localization

Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
Expand Down Expand Up @@ -88,7 +75,7 @@ The main plotly.js bundle weights in at:

| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
|-----------|---------------|----------------------|---------------------|
| 6 MB | 2.7 MB | 830.5 kB | 6.2 MB |
| 5.8 MB | 2.7 MB | 819.8 kB | 6 MB |

## Partial bundles

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.2 MB | 782.9 kB | 256.2 kB |
| 2.2 MB | 775.4 kB | 254.1 kB |

#### CDN links

Expand Down Expand Up @@ -157,7 +144,7 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.6 MB | 895.4 kB | 291.5 kB |
| 2.5 MB | 885.7 kB | 288.7 kB |

#### CDN links

Expand Down Expand Up @@ -203,7 +190,7 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.3 MB | 803.7 kB | 264.7 kB |
| 2.2 MB | 798.5 kB | 263.2 kB |

#### CDN links

Expand Down Expand Up @@ -249,7 +236,7 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.3 MB | 1.3 MB | 413.9 kB |
| 3.2 MB | 1.3 MB | 411.4 kB |

#### CDN links

Expand Down Expand Up @@ -295,7 +282,7 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.4 MB | 1.3 MB | 432.6 kB |
| 3.3 MB | 1.3 MB | 431.3 kB |

#### CDN links

Expand Down Expand Up @@ -341,7 +328,7 @@ The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.8 MB | 1.3 MB | 402.5 kB |
| 2.7 MB | 1.3 MB | 400.9 kB |

#### CDN links

Expand Down Expand Up @@ -387,7 +374,7 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.3 MB | 814.6 kB | 265.8 kB |
| 2.3 MB | 805.5 kB | 263 kB |

#### CDN links

Expand Down
1,714 changes: 422 additions & 1,292 deletions dist/plot-schema.json

Large diffs are not rendered by default.

Loading

0 comments on commit c922c61

Please sign in to comment.