Skip to content

Commit d09cdd4

Browse files
committed
Merge remote-tracking branch 'origin/master' into add-maplibre-option
2 parents 240a392 + b6411b5 commit d09cdd4

File tree

133 files changed

+10297
-3209
lines changed

Some content is hidden

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

133 files changed

+10297
-3209
lines changed

.circleci/test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ case $1 in
102102
;;
103103

104104
make-baselines-mathjax3)
105-
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=$?
105+
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 ternary-mathjax-title-place-subtitle || EXIT_STATE=$?
106106
exit $EXIT_STATE
107107
;;
108108

CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,31 @@ 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.34.0] -- 2024-07-18
13+
14+
### Added
15+
- Add `subtitle` attribute to `layout.title` to enable adding subtitles to plots [[#7012](https://github.com/plotly/plotly.js/pull/7012)]
16+
- Introduce "u" and "s" pseudo html tags to add partial underline and strike-through styles to SVG text elements [[#7043](https://github.com/plotly/plotly.js/pull/7043)]
17+
- Add geometric mean functionality and 'geometric mean ascending' + 'geometric mean descending' to `category_order` on cartesian axes [[#6223](https://github.com/plotly/plotly.js/pull/6223)],
18+
with thanks to @acxz and @prabhathc for the contribution!
19+
- Add axis property `ticklabelindex` for drawing the label for each minor tick n positions away from a major tick,
20+
with thanks to @my-tien for the contribution! [[#7036](https://github.com/plotly/plotly.js/pull/7036)]
21+
- Add property `ticklabelstandoff` and `ticklabelshift` to cartesian axes to adjust positioning of tick labels,
22+
with thanks to @my-tien for the contribution! [[#7006](https://github.com/plotly/plotly.js/pull/7006)]
23+
- Add `x0shift`, `x1shift`, `y0shift`, `y1shift` to shapes to add control over positioning of shape vertices on (multi-)category axes,
24+
with thanks to @my-tien for the contribution! [[#7005](https://github.com/plotly/plotly.js/pull/7005)]
25+
26+
### Fixed
27+
- Fix displaying scattergl traces while zooming or panning (regression introduced in 2.26.0) [[#7018](https://github.com/plotly/plotly.js/pull/7018)],
28+
with thanks to @eiriklv for the contribution!
29+
- Fix for excessive hoverlabel removal and overlap for plots with both scatter and bar traces [[#6954](https://github.com/plotly/plotly.js/pull/6954)],
30+
with thanks to @mbant for the contribution!
31+
- Fix adding cartesian "togglehover" when included in `modebar.add` [[#5879](https://github.com/plotly/plotly.js/pull/5879)],
32+
with thanks to @Sizurka for the contribution!
33+
- Handle `zorder` between overlaying cartesian subplots [[#7032](https://github.com/plotly/plotly.js/pull/7032)],
34+
This feature was anonymously sponsored: thank you to our sponsor!
35+
36+
1237
## [2.33.0] -- 2024-05-29
1338

1439
### Added

README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
6262
6363
```html
6464
<head>
65-
<script src="https://cdn.plot.ly/plotly-2.33.0.min.js" charset="utf-8"></script>
65+
<script src="https://cdn.plot.ly/plotly-2.34.0.min.js" charset="utf-8"></script>
6666
</head>
6767
<body>
6868
<div id="gd"></div>
@@ -79,7 +79,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
7979
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
8080
```html
8181
<script type="module">
82-
import "https://cdn.plot.ly/plotly-2.33.0.min.js"
82+
import "https://cdn.plot.ly/plotly-2.34.0.min.js"
8383
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
8484
</script>
8585
```
@@ -89,7 +89,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
8989
### Un-minified versions are also available on CDN
9090
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
9191
```html
92-
<script src="https://cdn.plot.ly/plotly-2.33.0.js" charset="utf-8"></script>
92+
<script src="https://cdn.plot.ly/plotly-2.34.0.js" charset="utf-8"></script>
9393
```
9494

9595
> 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.
@@ -149,22 +149,23 @@ Plotly.js is at the core of a large and dynamic ecosystem with many contributors
149149
|---|--------|---------|--------|
150150
|**Alex C. Johnson**| [@alexcjohnson](https://github.com/alexcjohnson) | | Active, Maintainer |
151151
|**Mojtaba Samimi** | [@archmoj](https://github.com/archmoj) | [@solarchvision](https://twitter.com/solarchvision) | Active, Maintainer |
152-
|**Antoine Roy-Gobeil** | [@antoinerg](https://github.com/antoinerg) | | Active, Maintainer |
153152
|**Emily Kellison-Linn** | [@emilykl](https://github.com/emilykl) | | Active, Maintainer |
154-
|**Hannah Ker** | [@hannahker](https://github.com/hannahker) | [@hannahker11](https://twitter.com/hannahker11)| Active, Maintainer |
153+
|**my-tien.nguyen**| [@my-tien](https://github.com/my-tien) | | Active, Community Contributor |
155154
|**Étienne Tétreault-Pinard**| [@etpinard](https://github.com/etpinard) | [@etpinard](https://twitter.com/etpinard) | Hall of Fame |
155+
|**Antoine Roy-Gobeil** | [@antoinerg](https://github.com/antoinerg) | | Hall of Fame |
156+
|**Jack Parmer**| [@jackparmer](https://github.com/jackparmer) | | Hall of Fame |
156157
|**Nicolas Kruchten** | [@nicolaskruchten](https://github.com/nicolaskruchten) | [@nicolaskruchten](https://twitter.com/nicolaskruchten) | Hall of Fame |
157-
|**Jon Mease** | [@jonmmease](https://github.com/jonmmease) | [@jonmmease](https://twitter.com/jonmmease) | Hall of Fame |
158158
|**Mikola Lysenko**| [@mikolalysenko](https://github.com/mikolalysenko) | [@MikolaLysenko](https://twitter.com/MikolaLysenko) | Hall of Fame |
159159
|**Ricky Reusser**| [@rreusser](https://github.com/rreusser) | [@rickyreusser](https://twitter.com/rickyreusser) | Hall of Fame |
160160
|**Dmitry Yv.** | [@dy](https://github.com/dy) | [@DimaYv](https://twitter.com/dimayv)| Hall of Fame |
161+
|**Jon Mease** | [@jonmmease](https://github.com/jonmmease) | [@jonmmease](https://twitter.com/jonmmease) | Hall of Fame |
161162
|**Robert Monfera**| [@monfera](https://github.com/monfera) | [@monfera](https://twitter.com/monfera) | Hall of Fame |
162163
|**Robert Möstl** | [@rmoestl](https://github.com/rmoestl) | [@rmoestl](https://twitter.com/rmoestl) | Hall of Fame |
163164
|**Nicolas Riesco**| [@n-riesco](https://github.com/n-riesco) | | Hall of Fame |
164165
|**Miklós Tusz**| [@mdtusz](https://github.com/mdtusz) | [@mdtusz](https://twitter.com/mdtusz)| Hall of Fame |
165166
|**Chelsea Douglas**| [@cldougl](https://github.com/cldougl) | | Hall of Fame |
166167
|**Ben Postlethwaite**| [@bpostlethwaite](https://github.com/bpostlethwaite) | | Hall of Fame |
167-
|**Jack Parmer**| [@jackparmer](https://github.com/jackparmer) | | Hall of Fame |
168+
|**Hannah Ker** | [@hannahker](https://github.com/hannahker) | [@hannahker11](https://twitter.com/hannahker11)| Hall of Fame |
168169
|**Chris Parmer**| [@chriddyp](https://github.com/chriddyp) | | Hall of Fame |
169170
|**Alex Vados**| [@alexander-daniel](https://github.com/alexander-daniel) | | Hall of Fame |
170171

dist/README.md

+26-26
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-
| 8.3 MB | 3.5 MB | 1 MB | 8.5 MB |
46+
| 8.3 MB | 3.5 MB | 1 MB | 8.6 MB |
4747

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-2.33.0.js
49+
> https://cdn.plot.ly/plotly-2.34.0.js
5050
51-
> https://cdn.plot.ly/plotly-2.33.0.min.js
51+
> https://cdn.plot.ly/plotly-2.34.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.7 MB | 994.7 kB | 332.5 kB |
94+
| 2.7 MB | 1000.7 kB | 334.3 kB |
9595

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-2.33.0.js
97+
> https://cdn.plot.ly/plotly-basic-2.34.0.js
9898
99-
> https://cdn.plot.ly/plotly-basic-2.33.0.min.js
99+
> https://cdn.plot.ly/plotly-basic-2.34.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.2 MB | 420.3 kB |
117+
| 3.4 MB | 1.2 MB | 422.4 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-2.33.0.js
120+
> https://cdn.plot.ly/plotly-cartesian-2.34.0.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-2.33.0.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-2.34.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.2 MB | 1.1 MB | 375.2 kB |
140+
| 3.2 MB | 1.1 MB | 377.2 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-2.33.0.js
143+
> https://cdn.plot.ly/plotly-geo-2.34.0.js
144144
145-
> https://cdn.plot.ly/plotly-geo-2.33.0.min.js
145+
> https://cdn.plot.ly/plotly-geo-2.34.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 | 496.8 kB |
163+
| 3.6 MB | 1.5 MB | 498.9 kB |
164164

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-2.33.0.js
166+
> https://cdn.plot.ly/plotly-gl3d-2.34.0.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-2.33.0.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-2.34.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.9 MB | 603.7 kB |
186+
| 4.4 MB | 1.9 MB | 605.6 kB |
187187

188188
#### CDN links
189-
> https://cdn.plot.ly/plotly-gl2d-2.33.0.js
189+
> https://cdn.plot.ly/plotly-gl2d-2.34.0.js
190190
191-
> https://cdn.plot.ly/plotly-gl2d-2.33.0.min.js
191+
> https://cdn.plot.ly/plotly-gl2d-2.34.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.8 MB | 534.3 kB |
209+
| 4.4 MB | 1.8 MB | 536.1 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-mapbox-2.33.0.js
212+
> https://cdn.plot.ly/plotly-mapbox-2.34.0.js
213213
214-
> https://cdn.plot.ly/plotly-mapbox-2.33.0.min.js
214+
> https://cdn.plot.ly/plotly-mapbox-2.34.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.9 MB | 1.1 MB | 361.8 kB |
232+
| 2.9 MB | 1.1 MB | 363.7 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-2.33.0.js
235+
> https://cdn.plot.ly/plotly-finance-2.34.0.js
236236
237-
> https://cdn.plot.ly/plotly-finance-2.33.0.min.js
237+
> https://cdn.plot.ly/plotly-finance-2.34.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.7 MB | 3.8 MB | 1.1 MB |
256256

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

263263
#### npm packages

0 commit comments

Comments
 (0)