Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into add-maplibre-option
Browse files Browse the repository at this point in the history
  • Loading branch information
archmoj committed Jul 18, 2024
2 parents 240a392 + b6411b5 commit d09cdd4
Show file tree
Hide file tree
Showing 133 changed files with 10,297 additions and 3,209 deletions.
2 changes: 1 addition & 1 deletion .circleci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ case $1 in
;;

make-baselines-mathjax3)
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=$?
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=$?
exit $EXIT_STATE
;;

Expand Down
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,31 @@ To see all merged commits on the master branch that will be part of the next plo

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

## [2.34.0] -- 2024-07-18

### Added
- Add `subtitle` attribute to `layout.title` to enable adding subtitles to plots [[#7012](https://github.com/plotly/plotly.js/pull/7012)]
- 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)]
- 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)],
with thanks to @acxz and @prabhathc for the contribution!
- Add axis property `ticklabelindex` for drawing the label for each minor tick n positions away from a major tick,
with thanks to @my-tien for the contribution! [[#7036](https://github.com/plotly/plotly.js/pull/7036)]
- Add property `ticklabelstandoff` and `ticklabelshift` to cartesian axes to adjust positioning of tick labels,
with thanks to @my-tien for the contribution! [[#7006](https://github.com/plotly/plotly.js/pull/7006)]
- Add `x0shift`, `x1shift`, `y0shift`, `y1shift` to shapes to add control over positioning of shape vertices on (multi-)category axes,
with thanks to @my-tien for the contribution! [[#7005](https://github.com/plotly/plotly.js/pull/7005)]

### Fixed
- Fix displaying scattergl traces while zooming or panning (regression introduced in 2.26.0) [[#7018](https://github.com/plotly/plotly.js/pull/7018)],
with thanks to @eiriklv for the contribution!
- Fix for excessive hoverlabel removal and overlap for plots with both scatter and bar traces [[#6954](https://github.com/plotly/plotly.js/pull/6954)],
with thanks to @mbant for the contribution!
- Fix adding cartesian "togglehover" when included in `modebar.add` [[#5879](https://github.com/plotly/plotly.js/pull/5879)],
with thanks to @Sizurka for the contribution!
- Handle `zorder` between overlaying cartesian subplots [[#7032](https://github.com/plotly/plotly.js/pull/7032)],
This feature was anonymously sponsored: thank you to our sponsor!


## [2.33.0] -- 2024-05-29

### Added
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
```html
<head>
<script src="https://cdn.plot.ly/plotly-2.33.0.min.js" charset="utf-8"></script>
<script src="https://cdn.plot.ly/plotly-2.34.0.min.js" charset="utf-8"></script>
</head>
<body>
<div id="gd"></div>
Expand All @@ -79,7 +79,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
```html
<script type="module">
import "https://cdn.plot.ly/plotly-2.33.0.min.js"
import "https://cdn.plot.ly/plotly-2.34.0.min.js"
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
</script>
```
Expand All @@ -89,7 +89,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
### Un-minified versions are also available on CDN
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
```html
<script src="https://cdn.plot.ly/plotly-2.33.0.js" charset="utf-8"></script>
<script src="https://cdn.plot.ly/plotly-2.34.0.js" charset="utf-8"></script>
```

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

Expand Down
52 changes: 26 additions & 26 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ The main plotly.js bundles weight in at:

| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
|-----------|---------------|----------------------|---------------------|
| 8.3 MB | 3.5 MB | 1 MB | 8.5 MB |
| 8.3 MB | 3.5 MB | 1 MB | 8.6 MB |

#### CDN links
> https://cdn.plot.ly/plotly-2.33.0.js
> https://cdn.plot.ly/plotly-2.34.0.js
> https://cdn.plot.ly/plotly-2.33.0.min.js
> https://cdn.plot.ly/plotly-2.34.0.min.js

#### npm packages
Expand Down Expand Up @@ -91,12 +91,12 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.7 MB | 994.7 kB | 332.5 kB |
| 2.7 MB | 1000.7 kB | 334.3 kB |

#### CDN links
> https://cdn.plot.ly/plotly-basic-2.33.0.js
> https://cdn.plot.ly/plotly-basic-2.34.0.js
> https://cdn.plot.ly/plotly-basic-2.33.0.min.js
> https://cdn.plot.ly/plotly-basic-2.34.0.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.4 MB | 1.2 MB | 420.3 kB |
| 3.4 MB | 1.2 MB | 422.4 kB |

#### CDN links
> https://cdn.plot.ly/plotly-cartesian-2.33.0.js
> https://cdn.plot.ly/plotly-cartesian-2.34.0.js
> https://cdn.plot.ly/plotly-cartesian-2.33.0.min.js
> https://cdn.plot.ly/plotly-cartesian-2.34.0.min.js

#### npm packages
Expand All @@ -137,12 +137,12 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.2 MB | 1.1 MB | 375.2 kB |
| 3.2 MB | 1.1 MB | 377.2 kB |

#### CDN links
> https://cdn.plot.ly/plotly-geo-2.33.0.js
> https://cdn.plot.ly/plotly-geo-2.34.0.js
> https://cdn.plot.ly/plotly-geo-2.33.0.min.js
> https://cdn.plot.ly/plotly-geo-2.34.0.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.6 MB | 1.5 MB | 496.8 kB |
| 3.6 MB | 1.5 MB | 498.9 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl3d-2.33.0.js
> https://cdn.plot.ly/plotly-gl3d-2.34.0.js
> https://cdn.plot.ly/plotly-gl3d-2.33.0.min.js
> https://cdn.plot.ly/plotly-gl3d-2.34.0.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 4.4 MB | 1.9 MB | 603.7 kB |
| 4.4 MB | 1.9 MB | 605.6 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl2d-2.33.0.js
> https://cdn.plot.ly/plotly-gl2d-2.34.0.js
> https://cdn.plot.ly/plotly-gl2d-2.33.0.min.js
> https://cdn.plot.ly/plotly-gl2d-2.34.0.min.js

#### npm packages
Expand All @@ -206,12 +206,12 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 4.4 MB | 1.8 MB | 534.3 kB |
| 4.4 MB | 1.8 MB | 536.1 kB |

#### CDN links
> https://cdn.plot.ly/plotly-mapbox-2.33.0.js
> https://cdn.plot.ly/plotly-mapbox-2.34.0.js
> https://cdn.plot.ly/plotly-mapbox-2.33.0.min.js
> https://cdn.plot.ly/plotly-mapbox-2.34.0.min.js

#### npm packages
Expand All @@ -229,12 +229,12 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.9 MB | 1.1 MB | 361.8 kB |
| 2.9 MB | 1.1 MB | 363.7 kB |

#### CDN links
> https://cdn.plot.ly/plotly-finance-2.33.0.js
> https://cdn.plot.ly/plotly-finance-2.34.0.js
> https://cdn.plot.ly/plotly-finance-2.33.0.min.js
> https://cdn.plot.ly/plotly-finance-2.34.0.min.js

#### npm packages
Expand All @@ -255,9 +255,9 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
| 8.7 MB | 3.8 MB | 1.1 MB |

#### CDN links
> https://cdn.plot.ly/plotly-strict-2.33.0.js
> https://cdn.plot.ly/plotly-strict-2.34.0.js
> https://cdn.plot.ly/plotly-strict-2.33.0.min.js
> https://cdn.plot.ly/plotly-strict-2.34.0.min.js

#### npm packages
Expand Down
Loading

0 comments on commit d09cdd4

Please sign in to comment.