@@ -33,6 +33,19 @@ or the un-minified version as:
33
33
34
34
You can grab the relevant MathJax files in ` ./dist/extras/mathjax/ ` .
35
35
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
+
36
49
### To include localization
37
50
38
51
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
@@ -75,7 +88,7 @@ The main plotly.js bundle weights in at:
75
88
76
89
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
77
90
| -----------| ---------------| ----------------------| ---------------------|
78
- | 5.8 MB | 2.7 MB | 819.8 kB | 6 MB |
91
+ | 6 MB | 2.7 MB | 830.5 kB | 6.2 MB |
79
92
80
93
## Partial bundles
81
94
@@ -98,7 +111,7 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.
98
111
99
112
| Raw size | Minified size | Minified + gzip size |
100
113
| ------| -----------------| ------------------------|
101
- | 2.2 MB | 775.4 kB | 254.1 kB |
114
+ | 2.2 MB | 782.9 kB | 256.2 kB |
102
115
103
116
#### CDN links
104
117
@@ -144,7 +157,7 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `
144
157
145
158
| Raw size | Minified size | Minified + gzip size |
146
159
| ------| -----------------| ------------------------|
147
- | 2.5 MB | 885.7 kB | 288.7 kB |
160
+ | 2.6 MB | 895.4 kB | 291.5 kB |
148
161
149
162
#### CDN links
150
163
@@ -190,7 +203,7 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho
190
203
191
204
| Raw size | Minified size | Minified + gzip size |
192
205
| ------| -----------------| ------------------------|
193
- | 2.2 MB | 798.5 kB | 263.2 kB |
206
+ | 2.3 MB | 803.7 kB | 264.7 kB |
194
207
195
208
#### CDN links
196
209
@@ -236,7 +249,7 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac
236
249
237
250
| Raw size | Minified size | Minified + gzip size |
238
251
| ------| -----------------| ------------------------|
239
- | 3.2 MB | 1.3 MB | 411.4 kB |
252
+ | 3.3 MB | 1.3 MB | 413.9 kB |
240
253
241
254
#### CDN links
242
255
@@ -282,7 +295,7 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`
282
295
283
296
| Raw size | Minified size | Minified + gzip size |
284
297
| ------| -----------------| ------------------------|
285
- | 3.3 MB | 1.3 MB | 431.3 kB |
298
+ | 3.4 MB | 1.3 MB | 432.6 kB |
286
299
287
300
#### CDN links
288
301
@@ -328,7 +341,7 @@ The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`
328
341
329
342
| Raw size | Minified size | Minified + gzip size |
330
343
| ------| -----------------| ------------------------|
331
- | 2.7 MB | 1.3 MB | 400.9 kB |
344
+ | 2.8 MB | 1.3 MB | 402.5 kB |
332
345
333
346
#### CDN links
334
347
@@ -374,7 +387,7 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram
374
387
375
388
| Raw size | Minified size | Minified + gzip size |
376
389
| ------| -----------------| ------------------------|
377
- | 2.3 MB | 805.5 kB | 263 kB |
390
+ | 2.3 MB | 814.6 kB | 265.8 kB |
378
391
379
392
#### CDN links
380
393
0 commit comments