Skip to content

Commit b310e72

Browse files
committed
4.0.0-rc.0
1 parent 635a0b8 commit b310e72

51 files changed

Lines changed: 116064 additions & 263067 deletions

Some content is hidden

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

build/plotcss.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ var rules = {
5454
"X .plotly-cloud-dialog .plotly-cloud-dialog-box": "box-sizing:border-box;min-width:300px;max-width:420px;padding:20px 24px;background-color:#fff;border:1px solid #e0e2e5;border-radius:4px;box-shadow:0 4px 16px rgba(0,0,0,.25);font-size:13px;color:#2a3f5f;",
5555
"X .plotly-cloud-dialog .plotly-cloud-dialog-title": "font-size:16px;font-weight:bold;margin-bottom:12px;",
5656
"X .plotly-cloud-dialog .plotly-cloud-dialog-message": "line-height:1.5;overflow-wrap:break-word;word-wrap:break-word;",
57+
"X .plotly-cloud-dialog .plotly-cloud-dialog-message--hostname": "font-weight:bold;",
5758
"X .plotly-cloud-dialog .plotly-cloud-dialog-buttons": "display:flex;justify-content:flex-end;margin-top:20px;",
5859
"X .plotly-cloud-dialog .plotly-cloud-dialog-btn": "font-family:inherit;font-size:13px;padding:7px 16px;margin-left:8px;border-radius:3px;border:1px solid rgba(0,0,0,0);cursor:pointer;",
5960
"X .plotly-cloud-dialog .plotly-cloud-dialog-btn:focus-visible": "outline:2px solid #447adb;outline-offset:1px;",
60-
"X .plotly-cloud-dialog .plotly-cloud-dialog-btn--cancel": "background-color:#fff;border-color:#e0e2e5;color:#777;",
61-
"X .plotly-cloud-dialog .plotly-cloud-dialog-btn--cancel:hover": "background-color:#f3f3f3;",
61+
"X .plotly-cloud-dialog .plotly-cloud-dialog-btn--cancel": "background-color:#f3f3f3;margin-left:auto;color:#777;",
62+
"X .plotly-cloud-dialog .plotly-cloud-dialog-btn--cancel:hover": "background-color:#e0e2e5;",
6263
"X .plotly-cloud-dialog .plotly-cloud-dialog-btn--confirm": "background-color:#447adb;color:#fff;",
6364
"X .plotly-cloud-dialog .plotly-cloud-dialog-btn--confirm:hover": "background-color:#1d3b84;",
6465
Y: "font-family:\"Open Sans\",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;",

dist/README.md

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ 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-
| 10.7 MB | 4.6 MB | 1.4 MB | 11 MB |
46+
| 8.9 MB | 3.9 MB | 1.2 MB | 9.3 MB |
4747

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-3.7.0.js
49+
> https://cdn.plot.ly/plotly-4.0.0-rc.0.js
5050
51-
> https://cdn.plot.ly/plotly-3.7.0.min.js
51+
> https://cdn.plot.ly/plotly-4.0.0-rc.0.min.js
5252
5353

5454
#### npm packages
@@ -71,7 +71,7 @@ plotly.js also ships with several _partial_ bundles:
7171
- [geo](#plotlyjs-geo)
7272
- [gl3d](#plotlyjs-gl3d)
7373
- [gl2d](#plotlyjs-gl2d)
74-
- [mapbox](#plotlyjs-mapbox)
74+
- [map](#plotlyjs-map)
7575
- [finance](#plotlyjs-finance)
7676
- [strict](#plotlyjs-strict)
7777

@@ -91,12 +91,12 @@ 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 | 1.1 MB | 366.4 kB |
94+
| 2.7 MB | 1.1 MB | 369.7 kB |
9595

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-3.7.0.js
97+
> https://cdn.plot.ly/plotly-basic-4.0.0-rc.0.js
9898
99-
> https://cdn.plot.ly/plotly-basic-3.7.0.min.js
99+
> https://cdn.plot.ly/plotly-basic-4.0.0-rc.0.min.js
100100
101101

102102
#### npm packages
@@ -114,12 +114,12 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
114114

115115
| Raw size | Minified size | Minified + gzip size |
116116
|------|-----------------|------------------------|
117-
| 3.4 MB | 1.4 MB | 464.8 kB |
117+
| 3.4 MB | 1.4 MB | 468.6 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-3.7.0.js
120+
> https://cdn.plot.ly/plotly-cartesian-4.0.0-rc.0.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-3.7.0.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-4.0.0-rc.0.min.js
123123
124124

125125
#### npm packages
@@ -137,12 +137,12 @@ 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.2 MB | 417.4 kB |
140+
| 3.1 MB | 1.3 MB | 435.1 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-3.7.0.js
143+
> https://cdn.plot.ly/plotly-geo-4.0.0-rc.0.js
144144
145-
> https://cdn.plot.ly/plotly-geo-3.7.0.min.js
145+
> https://cdn.plot.ly/plotly-geo-4.0.0-rc.0.min.js
146146
147147

148148
#### npm packages
@@ -160,12 +160,12 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
160160

161161
| Raw size | Minified size | Minified + gzip size |
162162
|------|-----------------|------------------------|
163-
| 4.2 MB | 1.6 MB | 529.2 kB |
163+
| 4.2 MB | 1.6 MB | 532.5 kB |
164164

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-3.7.0.js
166+
> https://cdn.plot.ly/plotly-gl3d-4.0.0-rc.0.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-3.7.0.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-4.0.0-rc.0.min.js
169169
170170

171171
#### npm packages
@@ -183,12 +183,12 @@ The `gl2d` partial bundle contains trace modules `parcoords`, `scatter`, `scatte
183183

184184
| Raw size | Minified size | Minified + gzip size |
185185
|------|-----------------|------------------------|
186-
| 3.8 MB | 1.5 MB | 523.1 kB |
186+
| 3.9 MB | 1.5 MB | 526.5 kB |
187187

188188
#### CDN links
189-
> https://cdn.plot.ly/plotly-gl2d-3.7.0.js
189+
> https://cdn.plot.ly/plotly-gl2d-4.0.0-rc.0.js
190190
191-
> https://cdn.plot.ly/plotly-gl2d-3.7.0.min.js
191+
> https://cdn.plot.ly/plotly-gl2d-4.0.0-rc.0.min.js
192192
193193

194194
#### npm packages
@@ -198,26 +198,26 @@ The `gl2d` partial bundle contains trace modules `parcoords`, `scatter`, `scatte
198198
199199
---
200200

201-
### plotly.js mapbox
201+
### plotly.js map
202202

203-
The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitymapbox`, `scatter` and `scattermapbox`.
203+
The `map` partial bundle contains trace modules `choroplethmap`, `densitymap`, `scatter` and `scattermap`.
204204

205205
#### Stats
206206

207207
| Raw size | Minified size | Minified + gzip size |
208208
|------|-----------------|------------------------|
209-
| 4.5 MB | 1.9 MB | 582.2 kB |
209+
| 4.2 MB | 2 MB | 632.3 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-mapbox-3.7.0.js
212+
> https://cdn.plot.ly/plotly-map-4.0.0-rc.0.js
213213
214-
> https://cdn.plot.ly/plotly-mapbox-3.7.0.min.js
214+
> https://cdn.plot.ly/plotly-map-4.0.0-rc.0.min.js
215215
216216

217217
#### npm packages
218-
> [plotly.js-mapbox-dist](https://www.npmjs.com/package/plotly.js-mapbox-dist)
218+
> [plotly.js-map-dist](https://www.npmjs.com/package/plotly.js-map-dist)
219219
220-
> [plotly.js-mapbox-dist-min](https://www.npmjs.com/package/plotly.js-mapbox-dist-min)
220+
> [plotly.js-map-dist-min](https://www.npmjs.com/package/plotly.js-map-dist-min)
221221
222222
---
223223

@@ -229,12 +229,12 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
229229

230230
| Raw size | Minified size | Minified + gzip size |
231231
|------|-----------------|------------------------|
232-
| 2.9 MB | 1.2 MB | 400 kB |
232+
| 2.9 MB | 1.2 MB | 403.5 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-3.7.0.js
235+
> https://cdn.plot.ly/plotly-finance-4.0.0-rc.0.js
236236
237-
> https://cdn.plot.ly/plotly-finance-3.7.0.min.js
237+
> https://cdn.plot.ly/plotly-finance-4.0.0-rc.0.min.js
238238
239239

240240
#### npm packages
@@ -246,18 +246,18 @@ 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`, `histogram`, `histogram2d`, `histogram2dcontour`, `icicle`, `image`, `indicator`, `isosurface`, `mesh3d`, `ohlc`, `parcats`, `parcoords`, `pie`, `sankey`, `scatter`, `scattergl`, `scatter3d`, `scattercarpet`, `scattergeo`, `scattermapbox`, `scatterpolar`, `scatterpolargl`, `scattersmith`, `scatterternary`, `splom`, `streamtube`, `sunburst`, `surface`, `table`, `treemap`, `violin`, `volume` and `waterfall`.
249+
The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `candlestick`, `carpet`, `choropleth`, `choroplethmap`, `cone`, `contour`, `contourcarpet`, `densitymap`, `funnel`, `funnelarea`, `heatmap`, `histogram`, `histogram2d`, `histogram2dcontour`, `icicle`, `image`, `indicator`, `isosurface`, `mesh3d`, `ohlc`, `parcats`, `parcoords`, `pie`, `sankey`, `scatter`, `scattergl`, `scatter3d`, `scattercarpet`, `scattergeo`, `scattermap`, `scatterpolar`, `scatterpolargl`, `scattersmith`, `scatterternary`, `splom`, `streamtube`, `sunburst`, `surface`, `table`, `treemap`, `violin`, `volume` and `waterfall`.
250250

251251
#### Stats
252252

253253
| Raw size | Minified size | Minified + gzip size |
254254
|------|-----------------|------------------------|
255-
| 11.5 MB | 5 MB | 1.5 MB |
255+
| 9.7 MB | 4.2 MB | 1.3 MB |
256256

257257
#### CDN links
258-
> https://cdn.plot.ly/plotly-strict-3.7.0.js
258+
> https://cdn.plot.ly/plotly-strict-4.0.0-rc.0.js
259259
260-
> https://cdn.plot.ly/plotly-strict-3.7.0.min.js
260+
> https://cdn.plot.ly/plotly-strict-4.0.0-rc.0.min.js
261261
262262

263263
#### npm packages

0 commit comments

Comments
 (0)