Skip to content

Commit 58d43df

Browse files
committed
1.42.0
1 parent 9ace60e commit 58d43df

25 files changed

+76396
-62224
lines changed

dist/README.md

+38-25
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,25 @@ or the un-minified version as:
3333

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

36+
By default, plotly.js will modify the global MathJax configuration on load.
37+
This can lead to undesirable behavior if plotly.js is loaded alongside
38+
other libraries that also rely on MathJax. To disable this global configuration
39+
process, set the `MathJaxConfig` property to `'local'` in the `window.PlotlyConfig`
40+
object. This property must be set before the plotly.js script tag, for example:
41+
42+
```html
43+
<script>
44+
window.PlotlyConfig = {MathJaxConfig: 'local'}
45+
</script>
46+
<script src="plotly.min.js"></script>
47+
```
48+
3649
### To include localization
3750

3851
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
3952
Many other localizations are available - here is an example using Swiss-German (de-CH),
4053
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.41.3.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.42.0.js
4255
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.
4356

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

6275
It be can imported as minified javascript
6376
- 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.41.3.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.42.0.min.js
6578

6679
or as raw javascript:
6780
- using the `plotly.js-dist` npm package (starting in `v1.39.0`)
6881
- using dist file `dist/plotly.js`
69-
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.41.3.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.42.0.js
7083
- using CommonJS with `require('plotly.js')`
7184

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

7689
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
7790
|-----------|---------------|----------------------|---------------------|
78-
| 5.8 MB | 2.7 MB | 819.8 kB | 6 MB |
91+
| 5.9 MB | 2.7 MB | 832 kB | 6.2 MB |
7992

8093
## Partial bundles
8194

@@ -98,16 +111,16 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.
98111

99112
| Raw size | Minified size | Minified + gzip size |
100113
|------|-----------------|------------------------|
101-
| 2.2 MB | 775.4 kB | 254.1 kB |
114+
| 2.2 MB | 785.7 kB | 256.9 kB |
102115

103116
#### CDN links
104117

105118
| Flavor | URL |
106119
| ------ | --- |
107120
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
108121
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
109-
| Tagged | https://cdn.plot.ly/plotly-basic-1.41.3.js |
110-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.41.3.min.js |
122+
| Tagged | https://cdn.plot.ly/plotly-basic-1.42.0.js |
123+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.42.0.min.js |
111124

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

@@ -144,16 +157,16 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `
144157

145158
| Raw size | Minified size | Minified + gzip size |
146159
|------|-----------------|------------------------|
147-
| 2.5 MB | 885.7 kB | 288.7 kB |
160+
| 2.5 MB | 898.2 kB | 292.3 kB |
148161

149162
#### CDN links
150163

151164
| Flavor | URL |
152165
| ------ | --- |
153166
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
154167
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
155-
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.41.3.js |
156-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.41.3.min.js |
168+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.42.0.js |
169+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.42.0.min.js |
157170

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

@@ -190,16 +203,16 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho
190203

191204
| Raw size | Minified size | Minified + gzip size |
192205
|------|-----------------|------------------------|
193-
| 2.2 MB | 798.5 kB | 263.2 kB |
206+
| 2.2 MB | 804.6 kB | 265 kB |
194207

195208
#### CDN links
196209

197210
| Flavor | URL |
198211
| ------ | --- |
199212
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
200213
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
201-
| Tagged | https://cdn.plot.ly/plotly-geo-1.41.3.js |
202-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.41.3.min.js |
214+
| Tagged | https://cdn.plot.ly/plotly-geo-1.42.0.js |
215+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.42.0.min.js |
203216

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

@@ -236,16 +249,16 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac
236249

237250
| Raw size | Minified size | Minified + gzip size |
238251
|------|-----------------|------------------------|
239-
| 3.2 MB | 1.3 MB | 411.4 kB |
252+
| 3.3 MB | 1.3 MB | 413.7 kB |
240253

241254
#### CDN links
242255

243256
| Flavor | URL |
244257
| ------ | --- |
245258
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
246259
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
247-
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.41.3.js |
248-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.41.3.min.js |
260+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.42.0.js |
261+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.42.0.min.js |
249262

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

@@ -282,16 +295,16 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`
282295

283296
| Raw size | Minified size | Minified + gzip size |
284297
|------|-----------------|------------------------|
285-
| 3.3 MB | 1.3 MB | 431.3 kB |
298+
| 3.3 MB | 1.3 MB | 433.4 kB |
286299

287300
#### CDN links
288301

289302
| Flavor | URL |
290303
| ------ | --- |
291304
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
292305
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
293-
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.41.3.js |
294-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.41.3.min.js |
306+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.42.0.js |
307+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.42.0.min.js |
295308

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

@@ -328,16 +341,16 @@ The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`
328341

329342
| Raw size | Minified size | Minified + gzip size |
330343
|------|-----------------|------------------------|
331-
| 2.7 MB | 1.3 MB | 400.9 kB |
344+
| 2.7 MB | 1.3 MB | 402.8 kB |
332345

333346
#### CDN links
334347

335348
| Flavor | URL |
336349
| ------ | --- |
337350
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
338351
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
339-
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.41.3.js |
340-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.41.3.min.js |
352+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.42.0.js |
353+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.42.0.min.js |
341354

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

@@ -374,16 +387,16 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram
374387

375388
| Raw size | Minified size | Minified + gzip size |
376389
|------|-----------------|------------------------|
377-
| 2.3 MB | 805.5 kB | 263 kB |
390+
| 2.3 MB | 817.4 kB | 266.5 kB |
378391

379392
#### CDN links
380393

381394
| Flavor | URL |
382395
| ------ | --- |
383396
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
384397
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
385-
| Tagged | https://cdn.plot.ly/plotly-finance-1.41.3.js |
386-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.41.3.min.js |
398+
| Tagged | https://cdn.plot.ly/plotly-finance-1.42.0.js |
399+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.42.0.min.js |
387400

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

0 commit comments

Comments
 (0)