plotly.js 2.9.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.circleci/config.yml +39 -1
- package/.circleci/test.sh +14 -1
- package/CHANGELOG.md +24 -1
- package/CONTRIBUTING.md +18 -1
- package/README.md +12 -4
- package/dist/README.md +28 -28
- package/dist/plot-schema.json +98 -0
- package/dist/plotly-basic.js +174 -83
- package/dist/plotly-basic.min.js +3 -3
- package/dist/plotly-cartesian.js +174 -83
- package/dist/plotly-cartesian.min.js +4 -4
- package/dist/plotly-finance.js +174 -83
- package/dist/plotly-finance.min.js +3 -3
- package/dist/plotly-geo-assets.js +2 -2
- package/dist/plotly-geo.js +174 -83
- package/dist/plotly-geo.min.js +3 -3
- package/dist/plotly-gl2d.js +601 -433
- package/dist/plotly-gl2d.min.js +10 -10
- package/dist/plotly-gl3d.js +223 -91
- package/dist/plotly-gl3d.min.js +8 -8
- package/dist/plotly-mapbox.js +174 -83
- package/dist/plotly-mapbox.min.js +2 -2
- package/dist/plotly-strict.js +40414 -1028
- package/dist/plotly-strict.min.js +11 -11
- package/dist/plotly-with-meta.js +881 -704
- package/dist/plotly.js +848 -675
- package/dist/plotly.min.js +4 -4
- package/lib/index-strict.js +5 -0
- package/package.json +13 -9
- package/src/components/drawing/index.js +28 -24
- package/src/components/legend/style.js +10 -6
- package/src/generated/regl-codegen/0919c57b995304312da30a5af7873a319bfb7b7e22ff6b4fa203ecbd5774ebfc +1462 -0
- package/src/generated/regl-codegen/13c0ae156483f2bcbd7ff29404f0abfd8689ff43f41791a6c7469868690a4260 +3391 -0
- package/src/generated/regl-codegen/19769c875db736c08a744c0a6aabe28276ed06aa24fdb7c36506a9f4c1f56f13 +3375 -0
- package/src/generated/regl-codegen/21cec01aa93887c70e86d7f1bc84d6837da0b1f5c1ff4cadd42ac6eb37f9f316 +2488 -0
- package/src/generated/regl-codegen/4df455b48c9de7d9f1de4b9481b505c09613ba7f90d2b4e360e673839566688e +662 -0
- package/src/generated/regl-codegen/53f2bf051e4ba66c90f343d29aa8da9e4029454c0d428f8e46e94dfddc97c8c6 +459 -0
- package/src/generated/regl-codegen/59568c77bcbe6343ee6109df49ceeb78c8a8a8a81872e88fb077f9a3d6dc0567 +637 -0
- package/src/generated/regl-codegen/6c3ff5a68d2906faf59307b58a799389f916ebdd3f7732ce75967575041988fc +2226 -0
- package/src/generated/regl-codegen/7c8e7f36e693904898ece5f7f8b49b23c69d98397567c3915a45647209eb7da4 +2052 -0
- package/src/generated/regl-codegen/8a43b073e4f3e9c0e499c8ac9c253f2aa1e3d3de2febfccc6526b52295dbf770 +664 -0
- package/src/generated/regl-codegen/909861c036d6f1ef40ba2dfcc33ef32489d2fe05fa7b7984d5ff315ddceb17b1 +454 -0
- package/src/generated/regl-codegen/c759965c8d66b2b356ae7455825df829f2ba7d4e7e903236f8c8d3bc5f45bd44 +2116 -0
- package/src/generated/regl-codegen/f9448a214a3e3cd439b767559aa71a4d1ccf5a8f39b8b756973e71acd33ff956 +2755 -0
- package/src/generated/regl-codegen/ff8495670417d5d0e4caa9942ad63b4dff0242a390ac1cb807c78ca326d6f3ce +639 -0
- package/src/lib/prepare_regl.js +7 -3
- package/src/lib/svg_text_utils.js +106 -21
- package/src/plot_api/plot_config.js +9 -0
- package/src/snapshot/tosvg.js +14 -25
- package/src/traces/parcoords/base_index.js +24 -0
- package/src/traces/parcoords/index.js +4 -22
- package/src/traces/parcoords/plot-strict.js +9 -0
- package/src/traces/parcoords/plot.js +5 -2
- package/src/traces/parcoords/regl_precompiled.js +12 -0
- package/src/traces/parcoords/strict.js +7 -0
- package/src/traces/scatter/attributes.js +2 -0
- package/src/traces/scatter/defaults.js +2 -0
- package/src/traces/scatter/plot.js +4 -4
- package/src/traces/scatter/style.js +1 -1
- package/src/traces/scattergl/base_index.js +29 -0
- package/src/traces/scattergl/index.js +3 -26
- package/src/traces/scattergl/plot.js +5 -2
- package/src/traces/scattergl/plot_strict.js +9 -0
- package/src/traces/scattergl/regl_precompiled.js +24 -0
- package/src/traces/scattergl/strict.js +7 -0
- package/src/traces/scatterpolargl/base_index.js +29 -0
- package/src/traces/scatterpolargl/index.js +3 -26
- package/src/traces/scatterpolargl/plot.js +4 -0
- package/src/traces/scatterpolargl/plot_strict.js +13 -0
- package/src/traces/scatterpolargl/regl_precompiled.js +24 -0
- package/src/traces/scatterpolargl/strict.js +7 -0
- package/src/traces/splom/base_index.js +36 -0
- package/src/traces/splom/base_plot.js +5 -2
- package/src/traces/splom/base_plot_strict.js +9 -0
- package/src/traces/splom/index.js +3 -33
- package/src/traces/splom/regl_precompiled.js +24 -0
- package/src/traces/splom/strict.js +7 -0
- package/src/version.js +1 -1
- package/stackgl_modules/index.js +49 -8
- package/stackgl_modules/package-lock.json +10 -10
- package/stackgl_modules/package.json +2 -2
- package/tasks/bundle.js +18 -0
- package/tasks/noci_test.sh +1 -1
- package/tasks/partial_bundle.js +26 -23
- package/tasks/stats.js +3 -3
- package/tasks/util/constants.js +13 -1
package/.circleci/config.yml
CHANGED
|
@@ -89,7 +89,7 @@ jobs:
|
|
|
89
89
|
environment:
|
|
90
90
|
# Alaska time (arbitrary timezone to test date logic)
|
|
91
91
|
TZ: "America/Anchorage"
|
|
92
|
-
parallelism:
|
|
92
|
+
parallelism: 12
|
|
93
93
|
working_directory: ~/plotly.js
|
|
94
94
|
steps:
|
|
95
95
|
- browser-tools/install-browser-tools: &browser-versions
|
|
@@ -216,6 +216,24 @@ jobs:
|
|
|
216
216
|
name: Test MathJax on firefox-latest
|
|
217
217
|
command: .circleci/test.sh mathjax-firefox82+
|
|
218
218
|
|
|
219
|
+
make-baselines-mathjax3:
|
|
220
|
+
docker:
|
|
221
|
+
- image: circleci/python:3.8.9
|
|
222
|
+
working_directory: ~/plotly.js
|
|
223
|
+
steps:
|
|
224
|
+
- attach_workspace:
|
|
225
|
+
at: ~/
|
|
226
|
+
- run:
|
|
227
|
+
name: Install kaleido, plotly.io and required fonts
|
|
228
|
+
command: .circleci/env_image.sh
|
|
229
|
+
- run:
|
|
230
|
+
name: Create mathjax v3 png files
|
|
231
|
+
command: .circleci/test.sh make-baselines-mathjax3
|
|
232
|
+
- persist_to_workspace:
|
|
233
|
+
root: ~/
|
|
234
|
+
paths:
|
|
235
|
+
- plotly.js
|
|
236
|
+
|
|
219
237
|
make-baselines:
|
|
220
238
|
parallelism: 4
|
|
221
239
|
docker:
|
|
@@ -249,6 +267,20 @@ jobs:
|
|
|
249
267
|
path: build
|
|
250
268
|
destination: /
|
|
251
269
|
|
|
270
|
+
test-baselines-mathjax3:
|
|
271
|
+
docker:
|
|
272
|
+
- image: circleci/node:16.8.0
|
|
273
|
+
working_directory: ~/plotly.js
|
|
274
|
+
steps:
|
|
275
|
+
- attach_workspace:
|
|
276
|
+
at: ~/
|
|
277
|
+
- run:
|
|
278
|
+
name: Compare pixels of mathjax v3 baselines
|
|
279
|
+
command: .circleci/test.sh test-image-mathjax3
|
|
280
|
+
- store_artifacts:
|
|
281
|
+
path: build
|
|
282
|
+
destination: /
|
|
283
|
+
|
|
252
284
|
make-exports:
|
|
253
285
|
docker:
|
|
254
286
|
- image: circleci/python:3.8.9
|
|
@@ -413,6 +445,12 @@ workflows:
|
|
|
413
445
|
- flaky-no-gl-jasmine:
|
|
414
446
|
requires:
|
|
415
447
|
- install-and-cibuild
|
|
448
|
+
- make-baselines-mathjax3:
|
|
449
|
+
requires:
|
|
450
|
+
- install-and-cibuild
|
|
451
|
+
- test-baselines-mathjax3:
|
|
452
|
+
requires:
|
|
453
|
+
- make-baselines-mathjax3
|
|
416
454
|
- make-baselines:
|
|
417
455
|
requires:
|
|
418
456
|
- install-and-cibuild
|
package/.circleci/test.sh
CHANGED
|
@@ -75,7 +75,15 @@ case $1 in
|
|
|
75
75
|
;;
|
|
76
76
|
|
|
77
77
|
mathjax-firefox82+)
|
|
78
|
-
./node_modules/karma/bin/karma start test/jasmine/karma.conf.js --FF --skip-tags=noFF82 --
|
|
78
|
+
./node_modules/karma/bin/karma start test/jasmine/karma.conf.js --FF --bundleTest=mathjax --skip-tags=noFF82 --nowatch &&
|
|
79
|
+
./node_modules/karma/bin/karma start test/jasmine/karma.conf.js --FF --bundleTest=mathjax --mathjax3 --skip-tags=noFF82 --nowatch &&
|
|
80
|
+
./node_modules/karma/bin/karma start test/jasmine/karma.conf.js --FF --bundleTest=mathjax_config --mathjax3 --nowatch &&
|
|
81
|
+
./node_modules/karma/bin/karma start test/jasmine/karma.conf.js --FF --bundleTest=mathjax_config --nowatch || EXIT_STATE=$?
|
|
82
|
+
exit $EXIT_STATE
|
|
83
|
+
;;
|
|
84
|
+
|
|
85
|
+
make-baselines-mathjax3)
|
|
86
|
+
python3 test/image/make_baseline.py mathjax3 legend_mathjax_title_and_items mathjax parcats_grid_subplots table_latex_multitrace_scatter table_plain_birds table_wrapped_birds ternary-mathjax || EXIT_STATE=$?
|
|
79
87
|
exit $EXIT_STATE
|
|
80
88
|
;;
|
|
81
89
|
|
|
@@ -90,6 +98,11 @@ case $1 in
|
|
|
90
98
|
exit $EXIT_STATE
|
|
91
99
|
;;
|
|
92
100
|
|
|
101
|
+
test-image-mathjax3)
|
|
102
|
+
node test/image/compare_pixels_test.js mathjax3 || { tar -cvf build/baselines.tar build/test_images/*.png ; exit 1 ; } || EXIT_STATE=$?
|
|
103
|
+
exit $EXIT_STATE
|
|
104
|
+
;;
|
|
105
|
+
|
|
93
106
|
source-syntax)
|
|
94
107
|
npm run lint || EXIT_STATE=$?
|
|
95
108
|
npm run test-syntax || EXIT_STATE=$?
|
package/CHANGELOG.md
CHANGED
|
@@ -9,10 +9,33 @@ To see all merged commits on the master branch that will be part of the next plo
|
|
|
9
9
|
|
|
10
10
|
where X.Y.Z is the semver of most recent plotly.js release.
|
|
11
11
|
|
|
12
|
+
## [2.11.0] -- 2022-03-11
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- Add a CSP complaint variation of regl-based traces i.e. `parcoords`, `splom`, `scattergl`, `scatterpolargl` to the "strict" bundle [[#6083](https://github.com/plotly/plotly.js/pull/6083)]
|
|
16
|
+
- Add `scattersmith` trace to the "strict" bundle [[#6135](https://github.com/plotly/plotly.js/pull/6135)]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## [2.10.1] -- 2022-03-08
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
- Fix `mesh3d` generation when `alphahull` is a positive number (regression introduced in 2.5.1) [[#6133](https://github.com/plotly/plotly.js/pull/6133)]
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [2.10.0] -- 2022-03-04
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
- Add support to use version 3 of MathJax and add `typesetMath` attribute to config [[#6073](https://github.com/plotly/plotly.js/pull/6073)],
|
|
29
|
+
with thanks to [Equinor](https://www.equinor.com) for sponsoring the related development!
|
|
30
|
+
- Add `fillpattern` options to `scatter` trace [[#6101](https://github.com/plotly/plotly.js/pull/6101)],
|
|
31
|
+
with thanks to @s417-lama for the contribution!
|
|
32
|
+
|
|
33
|
+
|
|
12
34
|
## [2.9.0] -- 2022-02-04
|
|
13
35
|
|
|
14
36
|
### Added
|
|
15
|
-
- Implement `ticklabelstep` to reduce labels on 2D axes and colorbars [[#6088](https://github.com/plotly/plotly.js/pull/6088)]
|
|
37
|
+
- Implement `ticklabelstep` to reduce labels on 2D axes and colorbars [[#6088](https://github.com/plotly/plotly.js/pull/6088)],
|
|
38
|
+
this feature was anonymously sponsored: thank you to our sponsor!
|
|
16
39
|
|
|
17
40
|
### Changed
|
|
18
41
|
- Display the version of plotly.js when hovering over the modebar [[#6077](https://github.com/plotly/plotly.js/pull/6077)]
|
package/CONTRIBUTING.md
CHANGED
|
@@ -118,7 +118,7 @@ npm start
|
|
|
118
118
|
|
|
119
119
|
This command bundles up the source files with source maps using
|
|
120
120
|
[browserify](https://github.com/substack/node-browserify), starts a
|
|
121
|
-
[watchify](https://github.com/substack/watchify) file watcher (making
|
|
121
|
+
[watchify](https://github.com/substack/watchify) file watcher (making your
|
|
122
122
|
dev plotly.js bundle update every time a source file is saved) and opens up a
|
|
123
123
|
tab in your browser.
|
|
124
124
|
|
|
@@ -162,6 +162,23 @@ npm run schema
|
|
|
162
162
|
|
|
163
163
|
**IMPORTANT:** please do not change and commit any files in the "dist" folder
|
|
164
164
|
|
|
165
|
+
#### Step 9: REGL - Review & commit potential changes to precompiled regl shaders
|
|
166
|
+
|
|
167
|
+
If you are implementing a new feature that involves regl shaders, or if you are
|
|
168
|
+
making changes that affect the usage of regl shaders, you would need to run
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
npm run regl-codegen
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
to regenerate the regl code. This opens a browser window, runs through all
|
|
175
|
+
traces with 'regl' in the tags, and stores the captured code into
|
|
176
|
+
[src/generated/regl-codegen](https://github.com/plotly/plotly.js/blob/master/src/generated/regl-codegen). If no updates are necessary, it would be a no-op, but
|
|
177
|
+
if there are changes, you would need to commit them.
|
|
178
|
+
|
|
179
|
+
This is needed because regl performs codegen in runtime which breaks CSP
|
|
180
|
+
compliance, and so for strict builds we pre-generate regl shader code here.
|
|
181
|
+
|
|
165
182
|
#### Other npm scripts that may be of interest in development
|
|
166
183
|
|
|
167
184
|
- `npm run preprocess`: pre-processes the css and svg source file in js. This
|
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
|
|
|
55
55
|
|
|
56
56
|
```html
|
|
57
57
|
<head>
|
|
58
|
-
<script src="https://cdn.plot.ly/plotly-2.
|
|
58
|
+
<script src="https://cdn.plot.ly/plotly-2.11.0.min.js"></script>
|
|
59
59
|
</head>
|
|
60
60
|
<body>
|
|
61
61
|
<div id="gd"></div>
|
|
@@ -72,7 +72,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
|
|
|
72
72
|
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
|
|
73
73
|
```html
|
|
74
74
|
<script type="module">
|
|
75
|
-
import "https://cdn.plot.ly/plotly-2.
|
|
75
|
+
import "https://cdn.plot.ly/plotly-2.11.0.min.js"
|
|
76
76
|
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
|
|
77
77
|
</script>
|
|
78
78
|
```
|
|
@@ -82,16 +82,24 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
|
|
|
82
82
|
### Un-minified versions are also available on CDN
|
|
83
83
|
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
|
|
84
84
|
```html
|
|
85
|
-
<script src="https://cdn.plot.ly/plotly-2.
|
|
85
|
+
<script src="https://cdn.plot.ly/plotly-2.11.0.js" charset="utf-8"></script>
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
> Please note that as of v2 the "plotly-latest" outputs (e.g. https://cdn.plot.ly/plotly-latest.min.js) will no longer be updated on the CDN, and will stay at the last v1 patch v1.58.5. Therefore, to use the CDN with plotly.js v2 and higher, you must specify an exact plotly.js version.
|
|
89
89
|
|
|
90
|
-
To support MathJax, you
|
|
90
|
+
To support MathJax, you could load either version two or version three of MathJax files, for example:
|
|
91
91
|
```html
|
|
92
92
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG.js"></script>
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
+
```html
|
|
96
|
+
<script src="https://cdn.jsdelivr.net/npm/mathjax@3.2.0/es5/tex-svg.js"></script>
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
> When using MathJax version 3, it is also possible to use `chtml` output on the other parts of the page in addition to `svg` output for the plotly graph.
|
|
100
|
+
Please refer to `devtools/test_dashboard/index-mathjax3chtml.html` to see an example.
|
|
101
|
+
|
|
102
|
+
|
|
95
103
|
## Bundles
|
|
96
104
|
There are two kinds of plotly.js bundles:
|
|
97
105
|
1. Complete and partial official bundles that are distributed to `npm` and the `CDN`, described in [the dist README](https://github.com/plotly/plotly.js/blob/master/dist/README.md).
|
package/dist/README.md
CHANGED
|
@@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
|
|
|
46
46
|
| 8.3 MB | 3.5 MB | 1 MB | 8.6 MB |
|
|
47
47
|
|
|
48
48
|
#### CDN links
|
|
49
|
-
> https://cdn.plot.ly/plotly-2.
|
|
49
|
+
> https://cdn.plot.ly/plotly-2.11.0.js
|
|
50
50
|
|
|
51
|
-
> https://cdn.plot.ly/plotly-2.
|
|
51
|
+
> https://cdn.plot.ly/plotly-2.11.0.min.js
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
#### npm packages
|
|
@@ -79,7 +79,7 @@ plotly.js also ships with several _partial_ bundles:
|
|
|
79
79
|
|
|
80
80
|
> The minified version of each partial bundle is also published to npm in a separate "dist-min" package.
|
|
81
81
|
|
|
82
|
-
> The strict
|
|
82
|
+
> The strict bundle now includes all traces, but the regl-based traces are built differently to avoid function constructors. This results in about a 10% larger bundle size, which is why this method is not used by default. Over time we intend to use the strict bundle to work on other strict CSP issues such as inline CSS.
|
|
83
83
|
|
|
84
84
|
---
|
|
85
85
|
|
|
@@ -91,12 +91,12 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
|
|
|
91
91
|
|
|
92
92
|
| Raw size | Minified size | Minified + gzip size |
|
|
93
93
|
|------|-----------------|------------------------|
|
|
94
|
-
| 2.7 MB | 977.
|
|
94
|
+
| 2.7 MB | 977.9 kB | 318.5 kB |
|
|
95
95
|
|
|
96
96
|
#### CDN links
|
|
97
|
-
> https://cdn.plot.ly/plotly-basic-2.
|
|
97
|
+
> https://cdn.plot.ly/plotly-basic-2.11.0.js
|
|
98
98
|
|
|
99
|
-
> https://cdn.plot.ly/plotly-basic-2.
|
|
99
|
+
> https://cdn.plot.ly/plotly-basic-2.11.0.min.js
|
|
100
100
|
|
|
101
101
|
|
|
102
102
|
#### npm packages
|
|
@@ -114,12 +114,12 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
|
|
|
114
114
|
|
|
115
115
|
| Raw size | Minified size | Minified + gzip size |
|
|
116
116
|
|------|-----------------|------------------------|
|
|
117
|
-
| 3.3 MB | 1.2 MB | 391.
|
|
117
|
+
| 3.3 MB | 1.2 MB | 391.5 kB |
|
|
118
118
|
|
|
119
119
|
#### CDN links
|
|
120
|
-
> https://cdn.plot.ly/plotly-cartesian-2.
|
|
120
|
+
> https://cdn.plot.ly/plotly-cartesian-2.11.0.js
|
|
121
121
|
|
|
122
|
-
> https://cdn.plot.ly/plotly-cartesian-2.
|
|
122
|
+
> https://cdn.plot.ly/plotly-cartesian-2.11.0.min.js
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
#### npm packages
|
|
@@ -137,12 +137,12 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
|
|
|
137
137
|
|
|
138
138
|
| Raw size | Minified size | Minified + gzip size |
|
|
139
139
|
|------|-----------------|------------------------|
|
|
140
|
-
| 3 MB | 1.1 MB |
|
|
140
|
+
| 3.1 MB | 1.1 MB | 361.2 kB |
|
|
141
141
|
|
|
142
142
|
#### CDN links
|
|
143
|
-
> https://cdn.plot.ly/plotly-geo-2.
|
|
143
|
+
> https://cdn.plot.ly/plotly-geo-2.11.0.js
|
|
144
144
|
|
|
145
|
-
> https://cdn.plot.ly/plotly-geo-2.
|
|
145
|
+
> https://cdn.plot.ly/plotly-geo-2.11.0.min.js
|
|
146
146
|
|
|
147
147
|
|
|
148
148
|
#### npm packages
|
|
@@ -160,12 +160,12 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
|
|
|
160
160
|
|
|
161
161
|
| Raw size | Minified size | Minified + gzip size |
|
|
162
162
|
|------|-----------------|------------------------|
|
|
163
|
-
| 3.9 MB | 1.5 MB |
|
|
163
|
+
| 3.9 MB | 1.5 MB | 482.2 kB |
|
|
164
164
|
|
|
165
165
|
#### CDN links
|
|
166
|
-
> https://cdn.plot.ly/plotly-gl3d-2.
|
|
166
|
+
> https://cdn.plot.ly/plotly-gl3d-2.11.0.js
|
|
167
167
|
|
|
168
|
-
> https://cdn.plot.ly/plotly-gl3d-2.
|
|
168
|
+
> https://cdn.plot.ly/plotly-gl3d-2.11.0.min.js
|
|
169
169
|
|
|
170
170
|
|
|
171
171
|
#### npm packages
|
|
@@ -183,12 +183,12 @@ The `gl2d` partial bundle contains trace modules `heatmapgl`, `parcoords`, `poin
|
|
|
183
183
|
|
|
184
184
|
| Raw size | Minified size | Minified + gzip size |
|
|
185
185
|
|------|-----------------|------------------------|
|
|
186
|
-
| 4.4 MB | 1.8 MB |
|
|
186
|
+
| 4.4 MB | 1.8 MB | 574.4 kB |
|
|
187
187
|
|
|
188
188
|
#### CDN links
|
|
189
|
-
> https://cdn.plot.ly/plotly-gl2d-2.
|
|
189
|
+
> https://cdn.plot.ly/plotly-gl2d-2.11.0.js
|
|
190
190
|
|
|
191
|
-
> https://cdn.plot.ly/plotly-gl2d-2.
|
|
191
|
+
> https://cdn.plot.ly/plotly-gl2d-2.11.0.min.js
|
|
192
192
|
|
|
193
193
|
|
|
194
194
|
#### npm packages
|
|
@@ -206,12 +206,12 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
|
|
|
206
206
|
|
|
207
207
|
| Raw size | Minified size | Minified + gzip size |
|
|
208
208
|
|------|-----------------|------------------------|
|
|
209
|
-
| 4.3 MB | 1.7 MB | 515.
|
|
209
|
+
| 4.3 MB | 1.7 MB | 515.4 kB |
|
|
210
210
|
|
|
211
211
|
#### CDN links
|
|
212
|
-
> https://cdn.plot.ly/plotly-mapbox-2.
|
|
212
|
+
> https://cdn.plot.ly/plotly-mapbox-2.11.0.js
|
|
213
213
|
|
|
214
|
-
> https://cdn.plot.ly/plotly-mapbox-2.
|
|
214
|
+
> https://cdn.plot.ly/plotly-mapbox-2.11.0.min.js
|
|
215
215
|
|
|
216
216
|
|
|
217
217
|
#### npm packages
|
|
@@ -229,12 +229,12 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
|
|
|
229
229
|
|
|
230
230
|
| Raw size | Minified size | Minified + gzip size |
|
|
231
231
|
|------|-----------------|------------------------|
|
|
232
|
-
| 2.9 MB | 1.1 MB | 351 kB |
|
|
232
|
+
| 2.9 MB | 1.1 MB | 351.2 kB |
|
|
233
233
|
|
|
234
234
|
#### CDN links
|
|
235
|
-
> https://cdn.plot.ly/plotly-finance-2.
|
|
235
|
+
> https://cdn.plot.ly/plotly-finance-2.11.0.js
|
|
236
236
|
|
|
237
|
-
> https://cdn.plot.ly/plotly-finance-2.
|
|
237
|
+
> https://cdn.plot.ly/plotly-finance-2.11.0.min.js
|
|
238
238
|
|
|
239
239
|
|
|
240
240
|
#### npm packages
|
|
@@ -246,18 +246,18 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
|
|
|
246
246
|
|
|
247
247
|
### plotly.js strict
|
|
248
248
|
|
|
249
|
-
The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `candlestick`, `carpet`, `choropleth`, `choroplethmapbox`, `cone`, `contour`, `contourcarpet`, `densitymapbox`, `funnel`, `funnelarea`, `heatmap`, `heatmapgl`, `histogram`, `histogram2d`, `histogram2dcontour`, `icicle`, `image`, `indicator`, `isosurface`, `mesh3d`, `ohlc`, `parcats`, `pie`, `pointcloud`, `sankey`, `scatter`, `
|
|
249
|
+
The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `candlestick`, `carpet`, `choropleth`, `choroplethmapbox`, `cone`, `contour`, `contourcarpet`, `densitymapbox`, `funnel`, `funnelarea`, `heatmap`, `heatmapgl`, `histogram`, `histogram2d`, `histogram2dcontour`, `icicle`, `image`, `indicator`, `isosurface`, `mesh3d`, `ohlc`, `parcats`, `parcoords`, `pie`, `pointcloud`, `sankey`, `scatter`, `scattergl`, `scatter3d`, `scattercarpet`, `scattergeo`, `scattermapbox`, `scatterpolar`, `scatterpolargl`, `scattersmith`, `scatterternary`, `splom`, `streamtube`, `sunburst`, `surface`, `table`, `treemap`, `violin`, `volume` and `waterfall`.
|
|
250
250
|
|
|
251
251
|
#### Stats
|
|
252
252
|
|
|
253
253
|
| Raw size | Minified size | Minified + gzip size |
|
|
254
254
|
|------|-----------------|------------------------|
|
|
255
|
-
|
|
|
255
|
+
| 8.8 MB | 3.9 MB | 1.1 MB |
|
|
256
256
|
|
|
257
257
|
#### CDN links
|
|
258
|
-
> https://cdn.plot.ly/plotly-strict-2.
|
|
258
|
+
> https://cdn.plot.ly/plotly-strict-2.11.0.js
|
|
259
259
|
|
|
260
|
-
> https://cdn.plot.ly/plotly-strict-2.
|
|
260
|
+
> https://cdn.plot.ly/plotly-strict-2.11.0.min.js
|
|
261
261
|
|
|
262
262
|
|
|
263
263
|
#### npm packages
|
package/dist/plot-schema.json
CHANGED
|
@@ -365,6 +365,11 @@
|
|
|
365
365
|
"noBlank": true,
|
|
366
366
|
"valType": "string"
|
|
367
367
|
},
|
|
368
|
+
"typesetMath": {
|
|
369
|
+
"description": "Determines whether math should be typeset or not, when MathJax (either v2 or v3) is present on the page.",
|
|
370
|
+
"dflt": true,
|
|
371
|
+
"valType": "boolean"
|
|
372
|
+
},
|
|
368
373
|
"watermark": {
|
|
369
374
|
"description": "watermark the images with the company's logo",
|
|
370
375
|
"dflt": false,
|
|
@@ -42269,6 +42274,99 @@
|
|
|
42269
42274
|
"editType": "style",
|
|
42270
42275
|
"valType": "color"
|
|
42271
42276
|
},
|
|
42277
|
+
"fillpattern": {
|
|
42278
|
+
"bgcolor": {
|
|
42279
|
+
"arrayOk": true,
|
|
42280
|
+
"description": "When there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is *overlay*. Otherwise, defaults to a transparent background.",
|
|
42281
|
+
"editType": "style",
|
|
42282
|
+
"valType": "color"
|
|
42283
|
+
},
|
|
42284
|
+
"bgcolorsrc": {
|
|
42285
|
+
"description": "Sets the source reference on Chart Studio Cloud for `bgcolor`.",
|
|
42286
|
+
"editType": "none",
|
|
42287
|
+
"valType": "string"
|
|
42288
|
+
},
|
|
42289
|
+
"description": "Sets the pattern within the marker.",
|
|
42290
|
+
"editType": "style",
|
|
42291
|
+
"fgcolor": {
|
|
42292
|
+
"arrayOk": true,
|
|
42293
|
+
"description": "When there is no colorscale sets the color of foreground pattern fill. Defaults to a `marker.color` background when `fillmode` is *replace*. Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`.",
|
|
42294
|
+
"editType": "style",
|
|
42295
|
+
"valType": "color"
|
|
42296
|
+
},
|
|
42297
|
+
"fgcolorsrc": {
|
|
42298
|
+
"description": "Sets the source reference on Chart Studio Cloud for `fgcolor`.",
|
|
42299
|
+
"editType": "none",
|
|
42300
|
+
"valType": "string"
|
|
42301
|
+
},
|
|
42302
|
+
"fgopacity": {
|
|
42303
|
+
"description": "Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1.",
|
|
42304
|
+
"editType": "style",
|
|
42305
|
+
"max": 1,
|
|
42306
|
+
"min": 0,
|
|
42307
|
+
"valType": "number"
|
|
42308
|
+
},
|
|
42309
|
+
"fillmode": {
|
|
42310
|
+
"description": "Determines whether `marker.color` should be used as a default to `bgcolor` or a `fgcolor`.",
|
|
42311
|
+
"dflt": "replace",
|
|
42312
|
+
"editType": "style",
|
|
42313
|
+
"valType": "enumerated",
|
|
42314
|
+
"values": [
|
|
42315
|
+
"replace",
|
|
42316
|
+
"overlay"
|
|
42317
|
+
]
|
|
42318
|
+
},
|
|
42319
|
+
"role": "object",
|
|
42320
|
+
"shape": {
|
|
42321
|
+
"arrayOk": true,
|
|
42322
|
+
"description": "Sets the shape of the pattern fill. By default, no pattern is used for filling the area.",
|
|
42323
|
+
"dflt": "",
|
|
42324
|
+
"editType": "style",
|
|
42325
|
+
"valType": "enumerated",
|
|
42326
|
+
"values": [
|
|
42327
|
+
"",
|
|
42328
|
+
"/",
|
|
42329
|
+
"\\",
|
|
42330
|
+
"x",
|
|
42331
|
+
"-",
|
|
42332
|
+
"|",
|
|
42333
|
+
"+",
|
|
42334
|
+
"."
|
|
42335
|
+
]
|
|
42336
|
+
},
|
|
42337
|
+
"shapesrc": {
|
|
42338
|
+
"description": "Sets the source reference on Chart Studio Cloud for `shape`.",
|
|
42339
|
+
"editType": "none",
|
|
42340
|
+
"valType": "string"
|
|
42341
|
+
},
|
|
42342
|
+
"size": {
|
|
42343
|
+
"arrayOk": true,
|
|
42344
|
+
"description": "Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern.",
|
|
42345
|
+
"dflt": 8,
|
|
42346
|
+
"editType": "style",
|
|
42347
|
+
"min": 0,
|
|
42348
|
+
"valType": "number"
|
|
42349
|
+
},
|
|
42350
|
+
"sizesrc": {
|
|
42351
|
+
"description": "Sets the source reference on Chart Studio Cloud for `size`.",
|
|
42352
|
+
"editType": "none",
|
|
42353
|
+
"valType": "string"
|
|
42354
|
+
},
|
|
42355
|
+
"solidity": {
|
|
42356
|
+
"arrayOk": true,
|
|
42357
|
+
"description": "Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.",
|
|
42358
|
+
"dflt": 0.3,
|
|
42359
|
+
"editType": "style",
|
|
42360
|
+
"max": 1,
|
|
42361
|
+
"min": 0,
|
|
42362
|
+
"valType": "number"
|
|
42363
|
+
},
|
|
42364
|
+
"soliditysrc": {
|
|
42365
|
+
"description": "Sets the source reference on Chart Studio Cloud for `solidity`.",
|
|
42366
|
+
"editType": "none",
|
|
42367
|
+
"valType": "string"
|
|
42368
|
+
}
|
|
42369
|
+
},
|
|
42272
42370
|
"groupnorm": {
|
|
42273
42371
|
"description": "Only relevant when `stackgroup` is used, and only the first `groupnorm` found in the `stackgroup` will be used - including if `visible` is *legendonly* but not if it is `false`. Sets the normalization for the sum of this `stackgroup`. With *fraction*, the value of each trace at each location is divided by the sum of all trace values at that location. *percent* is the same but multiplied by 100 to show percentages. If there are multiple subplots, or multiple `stackgroup`s on one subplot, each will be normalized within its own set.",
|
|
42274
42372
|
"dflt": "",
|