@@ -33,6 +33,19 @@ or the un-minified version as:
3333
3434You 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
3851Plotly.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:
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+ | 6 MB | 2.7 MB | 830.5 kB | 6.2 MB |
7992
8093## Partial bundles
8194
@@ -98,7 +111,7 @@ 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 | 782.9 kB | 256.2 kB |
102115
103116#### CDN links
104117
@@ -144,7 +157,7 @@ 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.6 MB | 895.4 kB | 291.5 kB |
148161
149162#### CDN links
150163
@@ -190,7 +203,7 @@ 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.3 MB | 803.7 kB | 264.7 kB |
194207
195208#### CDN links
196209
@@ -236,7 +249,7 @@ 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.9 kB |
240253
241254#### CDN links
242255
@@ -282,7 +295,7 @@ 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.4 MB | 1.3 MB | 432.6 kB |
286299
287300#### CDN links
288301
@@ -328,7 +341,7 @@ 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.8 MB | 1.3 MB | 402.5 kB |
332345
333346#### CDN links
334347
@@ -374,7 +387,7 @@ 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 | 814.6 kB | 265.8 kB |
378391
379392#### CDN links
380393
0 commit comments