Skip to content

Commit c7ec94f

Browse files
committed
Merge remote-tracking branch 'origin/master' into handle-coded-typed-arrays
2 parents e9e221e + 3f8cfe7 commit c7ec94f

Some content is hidden

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

59 files changed

+2384
-307
lines changed

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,25 @@ To see all merged commits on the master branch that will be part of the next plo
99

1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

12+
## [2.20.0] -- 2023-03-15
13+
14+
### Added
15+
- Add `title.automargin` to enable automatic top and bottom margining for both container and paper referenced titles [[#6428](https://github.com/plotly/plotly.js/pull/6428)],
16+
with thanks to [Gamma Technologies](https://www.gtisoft.com/) for sponsoring the related development.
17+
18+
19+
## [2.19.1] -- 2023-03-14
20+
21+
### Fixed
22+
- Ensure slider range stays in bounds during the drag [[#4448](https://github.com/plotly/plotly.js/pull/4448)],
23+
with thanks to @jay-bis for the contribution!
24+
25+
1226
## [2.19.0] -- 2023-03-13
1327

1428
### Added
1529
- Add `label` attribute to shapes [[#6454](https://github.com/plotly/plotly.js/pull/6454)],
16-
with thanks to the [Volkswagen](https://www.volkswagenag.com) Center of Excellence for Battery Cells for sponsoring development!
30+
with thanks to the [Volkswagen](https://www.volkswagenag.com) Center of Excellence for Battery Systems for sponsoring development!
1731
- Add `labelalias` to various axes namely cartesian, gl3d, polar, smith, ternary, carpet,
1832
indicator and colorbar [[#6481](https://github.com/plotly/plotly.js/pull/6481)],
1933
this feature was anonymously sponsored: thank you to our sponsor!

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
5555
5656
```html
5757
<head>
58-
<script src="https://cdn.plot.ly/plotly-2.19.0.min.js" charset="utf-8"></script>
58+
<script src="https://cdn.plot.ly/plotly-2.20.0.min.js" charset="utf-8"></script>
5959
</head>
6060
<body>
6161
<div id="gd"></div>
@@ -72,7 +72,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
7272
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
7373
```html
7474
<script type="module">
75-
import "https://cdn.plot.ly/plotly-2.19.0.min.js"
75+
import "https://cdn.plot.ly/plotly-2.20.0.min.js"
7676
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
7777
</script>
7878
```
@@ -82,7 +82,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
8282
### Un-minified versions are also available on CDN
8383
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
8484
```html
85-
<script src="https://cdn.plot.ly/plotly-2.19.0.js" charset="utf-8"></script>
85+
<script src="https://cdn.plot.ly/plotly-2.20.0.js" charset="utf-8"></script>
8686
```
8787

8888
> 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.

dist/README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
4646
| 8.1 MB | 3.4 MB | 1 MB | 8.4 MB |
4747

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-2.19.0.js
49+
> https://cdn.plot.ly/plotly-2.20.0.js
5050
51-
> https://cdn.plot.ly/plotly-2.19.0.min.js
51+
> https://cdn.plot.ly/plotly-2.20.0.min.js
5252
5353

5454
#### npm packages
@@ -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.6 MB | 959.5 kB | 320.6 kB |
94+
| 2.6 MB | 961.3 kB | 321.3 kB |
9595

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-2.19.0.js
97+
> https://cdn.plot.ly/plotly-basic-2.20.0.js
9898
99-
> https://cdn.plot.ly/plotly-basic-2.19.0.min.js
99+
> https://cdn.plot.ly/plotly-basic-2.20.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.2 MB | 1.2 MB | 406.4 kB |
117+
| 3.3 MB | 1.2 MB | 407.1 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-2.19.0.js
120+
> https://cdn.plot.ly/plotly-cartesian-2.20.0.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-2.19.0.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-2.20.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.1 MB | 1.1 MB | 364.5 kB |
140+
| 3.1 MB | 1.1 MB | 365.2 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-2.19.0.js
143+
> https://cdn.plot.ly/plotly-geo-2.20.0.js
144144
145-
> https://cdn.plot.ly/plotly-geo-2.19.0.min.js
145+
> https://cdn.plot.ly/plotly-geo-2.20.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-
| 3.5 MB | 1.5 MB | 485.1 kB |
163+
| 3.5 MB | 1.5 MB | 485.8 kB |
164164

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-2.19.0.js
166+
> https://cdn.plot.ly/plotly-gl3d-2.20.0.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-2.19.0.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-2.20.0.min.js
169169
170170

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

184184
| Raw size | Minified size | Minified + gzip size |
185185
|------|-----------------|------------------------|
186-
| 4.3 MB | 1.8 MB | 590.9 kB |
186+
| 4.3 MB | 1.8 MB | 591.6 kB |
187187

188188
#### CDN links
189-
> https://cdn.plot.ly/plotly-gl2d-2.19.0.js
189+
> https://cdn.plot.ly/plotly-gl2d-2.20.0.js
190190
191-
> https://cdn.plot.ly/plotly-gl2d-2.19.0.min.js
191+
> https://cdn.plot.ly/plotly-gl2d-2.20.0.min.js
192192
193193

194194
#### npm packages
@@ -206,12 +206,12 @@ 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 | 521.4 kB |
209+
| 4.3 MB | 1.7 MB | 522.1 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-mapbox-2.19.0.js
212+
> https://cdn.plot.ly/plotly-mapbox-2.20.0.js
213213
214-
> https://cdn.plot.ly/plotly-mapbox-2.19.0.min.js
214+
> https://cdn.plot.ly/plotly-mapbox-2.20.0.min.js
215215
216216

217217
#### npm packages
@@ -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.8 MB | 1 MB | 349.2 kB |
232+
| 2.8 MB | 1 MB | 349.9 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-2.19.0.js
235+
> https://cdn.plot.ly/plotly-finance-2.20.0.js
236236
237-
> https://cdn.plot.ly/plotly-finance-2.19.0.min.js
237+
> https://cdn.plot.ly/plotly-finance-2.20.0.min.js
238238
239239

240240
#### npm packages
@@ -255,9 +255,9 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
255255
| 8.6 MB | 3.7 MB | 1.1 MB |
256256

257257
#### CDN links
258-
> https://cdn.plot.ly/plotly-strict-2.19.0.js
258+
> https://cdn.plot.ly/plotly-strict-2.20.0.js
259259
260-
> https://cdn.plot.ly/plotly-strict-2.19.0.min.js
260+
> https://cdn.plot.ly/plotly-strict-2.20.0.min.js
261261
262262

263263
#### npm packages

dist/plot-schema.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9661,6 +9661,12 @@
96619661
}
96629662
},
96639663
"title": {
9664+
"automargin": {
9665+
"description": "Determines whether the title can automatically push the figure margins. If `yref='paper'` then the margin will expand to ensure that the title doesn’t overlap with the edges of the container. If `yref='container'` then the margins will ensure that the title doesn’t overlap with the plot area, tick labels, and axis titles. If `automargin=true` and the margins need to be expanded, then y will be set to a default 1 and yanchor will be set to an appropriate default to ensure that minimal margin space is needed. Note that when `yref='paper'`, only 1 or 0 are allowed y values. Invalid values will be reset to the default 1.",
9666+
"dflt": false,
9667+
"editType": "plot",
9668+
"valType": "boolean"
9669+
},
96649670
"editType": "layoutstyle",
96659671
"font": {
96669672
"color": {

0 commit comments

Comments
 (0)