Skip to content

Commit 1799925

Browse files
committed
added strict version of parcoords, scattergl and splom traces, and included them exclusively in the strict build.
1 parent 9069efd commit 1799925

File tree

51 files changed

+614171
-459265
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+614171
-459265
lines changed

devtools/regl_codegen/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function handleCodegen(data) {
206206

207207
Object.entries(generated).forEach(function ([key, value], i) {
208208
var filePath = path.join(pathToReglCodegenSrc, key);
209-
fs.writeFileSync(filePath, value);
209+
fs.writeFileSync(filePath, 'module.exports = ' + value);
210210

211211
imports += "var v" + varId + " = require('../../" + path.join(constants.reglCodegenSubdir, key) + "');\n";
212212
exports += ' "' + key + '": v' + varId + ',\n';

dist/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The main plotly.js bundles weight in at:
4343

4444
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
4545
|-----------|---------------|----------------------|---------------------|
46-
| 8.3 MB | 3.5 MB | 1 MB | 8.6 MB |
46+
| 8.9 MB | 3.8 MB | 1.1 MB | 9.3 MB |
4747

4848
#### CDN links
4949
> https://cdn.plot.ly/plotly-2.8.3.js
@@ -91,7 +91,7 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
9191

9292
| Raw size | Minified size | Minified + gzip size |
9393
|------|-----------------|------------------------|
94-
| 2.7 MB | 976.6 kB | 318.1 kB |
94+
| 2.7 MB | 977.4 kB | 318.2 kB |
9595

9696
#### CDN links
9797
> https://cdn.plot.ly/plotly-basic-2.8.3.js
@@ -114,7 +114,7 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
114114

115115
| Raw size | Minified size | Minified + gzip size |
116116
|------|-----------------|------------------------|
117-
| 3.3 MB | 1.2 MB | 391 kB |
117+
| 3.3 MB | 1.2 MB | 391.4 kB |
118118

119119
#### CDN links
120120
> https://cdn.plot.ly/plotly-cartesian-2.8.3.js
@@ -137,7 +137,7 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
137137

138138
| Raw size | Minified size | Minified + gzip size |
139139
|------|-----------------|------------------------|
140-
| 3 MB | 1.1 MB | 360.7 kB |
140+
| 3 MB | 1.1 MB | 360.5 kB |
141141

142142
#### CDN links
143143
> https://cdn.plot.ly/plotly-geo-2.8.3.js
@@ -160,7 +160,7 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
160160

161161
| Raw size | Minified size | Minified + gzip size |
162162
|------|-----------------|------------------------|
163-
| 3.9 MB | 1.5 MB | 480.8 kB |
163+
| 3.9 MB | 1.5 MB | 481 kB |
164164

165165
#### CDN links
166166
> https://cdn.plot.ly/plotly-gl3d-2.8.3.js
@@ -183,7 +183,7 @@ The `gl2d` partial bundle contains trace modules `heatmapgl`, `parcoords`, `poin
183183

184184
| Raw size | Minified size | Minified + gzip size |
185185
|------|-----------------|------------------------|
186-
| 4.4 MB | 1.8 MB | 571.5 kB |
186+
| 5.2 MB | 2.2 MB | 681 kB |
187187

188188
#### CDN links
189189
> https://cdn.plot.ly/plotly-gl2d-2.8.3.js
@@ -206,7 +206,7 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
206206

207207
| Raw size | Minified size | Minified + gzip size |
208208
|------|-----------------|------------------------|
209-
| 4.3 MB | 1.7 MB | 514.9 kB |
209+
| 4.3 MB | 1.7 MB | 514.7 kB |
210210

211211
#### CDN links
212212
> https://cdn.plot.ly/plotly-mapbox-2.8.3.js
@@ -246,13 +246,13 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
246246

247247
### plotly.js strict
248248

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`, `scatter`, `scatter3d`, `scattercarpet`, `scattergeo`, `scattermapbox`, `scatterpolar`, `scatterternary`, `streamtube`, `sunburst`, `surface`, `table`, `treemap`, `violin`, `volume` and `waterfall`.
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-strict`, `pie`, `pointcloud`, `sankey`, `scatter`, `scattergl-strict`, `scatter3d`, `scattercarpet`, `scattergeo`, `scattermapbox`, `scatterpolar`, `scatterpolargl-strict`, `scatterternary`, `splom-strict`, `streamtube`, `sunburst`, `surface`, `table`, `treemap`, `violin`, `volume` and `waterfall`.
250250

251251
#### Stats
252252

253253
| Raw size | Minified size | Minified + gzip size |
254254
|------|-----------------|------------------------|
255-
| 7.7 MB | 3.2 MB | 958.7 kB |
255+
| 7.7 MB | 3.2 MB | 958.6 kB |
256256

257257
#### CDN links
258258
> https://cdn.plot.ly/plotly-strict-2.8.3.js

0 commit comments

Comments
 (0)