Skip to content

Commit 3314377

Browse files
committed
Merge remote-tracking branch 'origin/master' into handle-coded-typed-arrays
2 parents 02557e5 + 1ef43ae commit 3314377

Some content is hidden

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

53 files changed

+2025
-518
lines changed

Diff for: CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,20 @@ 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.27.0] -- 2023-10-20
13+
14+
### Added
15+
- Add `insiderange` to cartesian axes to help avoid overlap between visible grid lines and tick labels of the counter axis when they are positioned inside [[#6735](https://github.com/plotly/plotly.js/pull/6735)],
16+
this feature was anonymously sponsored: thank you to our sponsor!
17+
18+
### Fixed
19+
- Fix column order changes on hover [[#6718](https://github.com/plotly/plotly.js/pull/6718)],
20+
with thanks to @bhavinpatel1109 for the contribution!
21+
- Fix hover at timestamp '1970-01-01 00:00:00' [[#6752](https://github.com/plotly/plotly.js/pull/6752)],
22+
with thanks to @adamjhawley for the contribution!
23+
- Fix clearing empty `candlestick` using react [[#6757](https://github.com/plotly/plotly.js/pull/6757)]
24+
25+
1226
## [2.26.2] -- 2023-10-04
1327

1428
### Fixed

Diff for: README.md

+3-3
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.26.2.min.js" charset="utf-8"></script>
58+
<script src="https://cdn.plot.ly/plotly-2.27.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.26.2.min.js"
75+
import "https://cdn.plot.ly/plotly-2.27.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.26.2.js" charset="utf-8"></script>
85+
<script src="https://cdn.plot.ly/plotly-2.27.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.

Diff for: dist/README.md

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

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-2.26.2.js
49+
> https://cdn.plot.ly/plotly-2.27.0.js
5050
51-
> https://cdn.plot.ly/plotly-2.26.2.min.js
51+
> https://cdn.plot.ly/plotly-2.27.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 | 974 kB | 325.6 kB |
94+
| 2.6 MB | 975 kB | 326.1 kB |
9595

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-2.26.2.js
97+
> https://cdn.plot.ly/plotly-basic-2.27.0.js
9898
99-
> https://cdn.plot.ly/plotly-basic-2.26.2.min.js
99+
> https://cdn.plot.ly/plotly-basic-2.27.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.3 MB | 1.2 MB | 412 kB |
117+
| 3.3 MB | 1.2 MB | 412.4 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-2.26.2.js
120+
> https://cdn.plot.ly/plotly-cartesian-2.27.0.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-2.26.2.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-2.27.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 | 369.7 kB |
140+
| 3.1 MB | 1.1 MB | 370.1 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-2.26.2.js
143+
> https://cdn.plot.ly/plotly-geo-2.27.0.js
144144
145-
> https://cdn.plot.ly/plotly-geo-2.26.2.min.js
145+
> https://cdn.plot.ly/plotly-geo-2.27.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.6 MB | 1.5 MB | 490.3 kB |
163+
| 3.6 MB | 1.5 MB | 490.7 kB |
164164

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-2.26.2.js
166+
> https://cdn.plot.ly/plotly-gl3d-2.27.0.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-2.26.2.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-2.27.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.4 MB | 1.8 MB | 596.2 kB |
186+
| 4.4 MB | 1.8 MB | 596.5 kB |
187187

188188
#### CDN links
189-
> https://cdn.plot.ly/plotly-gl2d-2.26.2.js
189+
> https://cdn.plot.ly/plotly-gl2d-2.27.0.js
190190
191-
> https://cdn.plot.ly/plotly-gl2d-2.26.2.min.js
191+
> https://cdn.plot.ly/plotly-gl2d-2.27.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.4 MB | 1.7 MB | 526.9 kB |
209+
| 4.4 MB | 1.7 MB | 527.3 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-mapbox-2.26.2.js
212+
> https://cdn.plot.ly/plotly-mapbox-2.27.0.js
213213
214-
> https://cdn.plot.ly/plotly-mapbox-2.26.2.min.js
214+
> https://cdn.plot.ly/plotly-mapbox-2.27.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 | 354.4 kB |
232+
| 2.8 MB | 1 MB | 354.8 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-2.26.2.js
235+
> https://cdn.plot.ly/plotly-finance-2.27.0.js
236236
237-
> https://cdn.plot.ly/plotly-finance-2.26.2.min.js
237+
> https://cdn.plot.ly/plotly-finance-2.27.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.26.2.js
258+
> https://cdn.plot.ly/plotly-strict-2.27.0.js
259259
260-
> https://cdn.plot.ly/plotly-strict-2.26.2.min.js
260+
> https://cdn.plot.ly/plotly-strict-2.27.0.min.js
261261
262262

263263
#### npm packages

Diff for: dist/plot-schema.json

+30
Original file line numberDiff line numberDiff line change
@@ -10892,6 +10892,21 @@
1089210892
"editType": "none",
1089310893
"valType": "string"
1089410894
},
10895+
"insiderange": {
10896+
"description": "Could be used to set the desired inside range of this axis (excluding the labels) when `ticklabelposition` of the anchored axis has *inside*. Not implemented for axes with `type` *log*. This would be ignored when `range` is provided.",
10897+
"editType": "plot",
10898+
"items": [
10899+
{
10900+
"editType": "plot",
10901+
"valType": "any"
10902+
},
10903+
{
10904+
"editType": "plot",
10905+
"valType": "any"
10906+
}
10907+
],
10908+
"valType": "info_array"
10909+
},
1089510910
"labelalias": {
1089610911
"description": "Replacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.",
1089710912
"dflt": false,
@@ -12217,6 +12232,21 @@
1221712232
"editType": "none",
1221812233
"valType": "string"
1221912234
},
12235+
"insiderange": {
12236+
"description": "Could be used to set the desired inside range of this axis (excluding the labels) when `ticklabelposition` of the anchored axis has *inside*. Not implemented for axes with `type` *log*. This would be ignored when `range` is provided.",
12237+
"editType": "plot",
12238+
"items": [
12239+
{
12240+
"editType": "plot",
12241+
"valType": "any"
12242+
},
12243+
{
12244+
"editType": "plot",
12245+
"valType": "any"
12246+
}
12247+
],
12248+
"valType": "info_array"
12249+
},
1222012250
"labelalias": {
1222112251
"description": "Replacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.",
1222212252
"dflt": false,

0 commit comments

Comments
 (0)