Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into finalist-cluster-sc…
Browse files Browse the repository at this point in the history
…attermapbox
  • Loading branch information
archmoj committed Oct 14, 2022
2 parents d8d97bc + e377c38 commit fcacb30
Show file tree
Hide file tree
Showing 275 changed files with 231,666 additions and 199,425 deletions.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ jobs:
command: .circleci/env_image.sh
- run:
name: Install poppler-utils to have pdftops for exporting eps
command: sudo apt-get install poppler-utils
command: |
sudo apt-get update --allow-releaseinfo-change
sudo apt-get install poppler-utils
- run:
name: Create svg, jpg, jpeg, webp, pdf and eps files
command: python3 test/image/make_exports.py
Expand Down
83 changes: 83 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,89 @@ 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.15.1] -- 2022-10-11

### Fixed
- Fix latest version of plotly.js main module on npm


## [2.15.0] -- 2022-10-06

### Added
- Add `angle`, `angleref` and `standoff` to `marker` and add `backoff` to `line`; also introduce new arrow symbols to facilitate drawing networks [[#6297](https://github.com/plotly/plotly.js/pull/6297)]
- Add `minreducedwidth` and `minreducedheight` to layout for increasing control over automargin [[#6307](https://github.com/plotly/plotly.js/pull/6307)]
- Add `entrywidth` and `entrywidthmode` to legend [[#6202](https://github.com/plotly/plotly.js/pull/6202), [#6324](https://github.com/plotly/plotly.js/pull/6324)]

### Changed
- Use valType of `angle` for `rotation` in `pie` [[#6304](https://github.com/plotly/plotly.js/pull/6304)]

### Fixed
- Fix mapbox `touch event` after switching back from select mode [[#6281](https://github.com/plotly/plotly.js/pull/6281)],
with thanks to @mmtmr for the contribution!
- Fix automargin to update axis titles in redraws [[#6312](https://github.com/plotly/plotly.js/pull/6312)]
- Fix exporting patterns with transparent color [[#6318](https://github.com/plotly/plotly.js/pull/6318)]
- Fix exporting text on empty slices [[#6335](https://github.com/plotly/plotly.js/pull/6335)]
- Disable interactions for `treemap`, `icicle`, `sunburst`, `pie`, `funnelarea`,
`parcats`, `parcoords` and `sankey` traces when `staticPlot` is set to true [[#6296](https://github.com/plotly/plotly.js/pull/6296)]


## [2.14.0] -- 2022-08-10

### Added
- Add support for sankey links with arrows [[#6276](https://github.com/plotly/plotly.js/pull/6276)],
with thanks to @Andy2003 for the contribution!
- Add `editSelection` option to config [[#6285](https://github.com/plotly/plotly.js/pull/6285)]

### Changed
- Update dutch translations and fix dateMonth format for `nl` locale to confirm with expected nl format [[#6261](https://github.com/plotly/plotly.js/pull/6261)],
with thanks to @eirvandelden for the contribution!


## [2.13.3] -- 2022-07-25

### Fixed
- Emit plotly_selected event on plot API calls and GUI edits [[#6277](https://github.com/plotly/plotly.js/pull/6277)]


## [2.13.2] -- 2022-07-21

### Fixed
- Fix `sankey` select error (regression introduced in 2.13.0) [[#6265](https://github.com/plotly/plotly.js/pull/6265)]
- Handle missing drag layer of invisible `sankey` traces to fix select error [[#6267](https://github.com/plotly/plotly.js/pull/6267)]
- Emit selection event in shape drawing `dragmode`s when an existing selection is modified [[#6262](https://github.com/plotly/plotly.js/pull/6262)]


## [2.13.1] -- 2022-07-14

### Fixed
- Avoid attaching `selections` to undefined eventData (regression introduced in 2.13.0) [[#6260](https://github.com/plotly/plotly.js/pull/6260)]


## [2.13.0] -- 2022-07-14

### Added
- Add `selections`, `newselection` and `activeselection` layout attributes to have
persistent and editable selections over cartesian subplots [[#6243](https://github.com/plotly/plotly.js/pull/6243)]
- Add `unselected.line.color` and `unselected.line.opacity` options to `parcoords` trace [[#6216](https://github.com/plotly/plotly.js/pull/6216), [#6236](https://github.com/plotly/plotly.js/pull/6236)]
- Add "exclusive" and "inclusive" quartile-computing algorithm to `violin` trace
via `quartilemethod` attribute [[#6187](https://github.com/plotly/plotly.js/pull/6187)]
- Add flaglist options including "left", "right", "top", "bottom", "width" and "height"
to control the direction of `automargin` on cartesian axes [[#6193](https://github.com/plotly/plotly.js/pull/6193)]
- Add `delta.prefix` and `delta.suffix` to `indicator` trace [[#6246](https://github.com/plotly/plotly.js/pull/6246)],
with thanks to @paulovieira for the contribution!
- Add official Chinese (Taiwan) translation (locale `zh-tw`) [[#6247](https://github.com/plotly/plotly.js/pull/6247)],
with thanks to @sec2 for the contribution!
- Add official Sinhala translation (locale `si`) [[#6238](https://github.com/plotly/plotly.js/pull/6238)],
with thanks to @sujithranga for the contribution!

### Changed
- Display Plotly's new logo in the modebar [[#6232](https://github.com/plotly/plotly.js/pull/6232)]

### Fixed
- Fix undesirable missing hover labels of `box` & `violin` traces [[#6189](https://github.com/plotly/plotly.js/pull/6189)]
- Fix `xref` description of `shapes` [[#6194](https://github.com/plotly/plotly.js/pull/6194)]


## [2.12.1] -- 2022-05-09

### Fixed
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,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.12.1.min.js"></script>
<script src="https://cdn.plot.ly/plotly-2.15.1.min.js"></script>
</head>
<body>
<div id="gd"></div>
Expand All @@ -72,7 +72,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.12.1.min.js"
import "https://cdn.plot.ly/plotly-2.15.1.min.js"
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
</script>
```
Expand All @@ -82,18 +82,19 @@ 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.12.1.js" charset="utf-8"></script>
<script src="https://cdn.plot.ly/plotly-2.15.1.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.
To support MathJax, you could load either version two or version three of MathJax files, for example:
### MathJax
You could load either version two or version three of MathJax files, for example:
```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG.js"></script>
```

```html
<script src="https://cdn.jsdelivr.net/npm/mathjax@3.2.0/es5/tex-svg.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-svg.js"></script>
```

> When using MathJax version 3, it is also possible to use `chtml` output on the other parts of the page in addition to `svg` output for the plotly graph.
Expand Down
3 changes: 0 additions & 3 deletions build/plotcss.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ var rules = {
"X [data-title]:after": "content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;",
"X .vertical [data-title]:before,X .vertical [data-title]:after": "top:0%;right:200%;",
"X .vertical [data-title]:before": "border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",
"X .select-outline": "fill:none;stroke-width:1;shape-rendering:crispEdges;",
"X .select-outline-1": "stroke:#fff;",
"X .select-outline-2": "stroke:#000;stroke-dasharray:2px 2px;",
Y: "font-family:\"Open Sans\",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;",
"Y p": "margin:0;",
"Y .notifier-note": "min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;",
Expand Down
54 changes: 27 additions & 27 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.6 MB |
| 8.4 MB | 3.5 MB | 1 MB | 8.7 MB |

#### CDN links
> https://cdn.plot.ly/plotly-2.12.1.js
> https://cdn.plot.ly/plotly-2.15.1.js
> https://cdn.plot.ly/plotly-2.12.1.min.js
> https://cdn.plot.ly/plotly-2.15.1.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 | 982.5 kB | 320.1 kB |
| 2.8 MB | 1004.5 kB | 326.8 kB |

#### CDN links
> https://cdn.plot.ly/plotly-basic-2.12.1.js
> https://cdn.plot.ly/plotly-basic-2.15.1.js
> https://cdn.plot.ly/plotly-basic-2.12.1.min.js
> https://cdn.plot.ly/plotly-basic-2.15.1.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.3 MB | 1.2 MB | 393.2 kB |
| 3.4 MB | 1.2 MB | 400.1 kB |

#### CDN links
> https://cdn.plot.ly/plotly-cartesian-2.12.1.js
> https://cdn.plot.ly/plotly-cartesian-2.15.1.js
> https://cdn.plot.ly/plotly-cartesian-2.12.1.min.js
> https://cdn.plot.ly/plotly-cartesian-2.15.1.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.1 MB | 1.1 MB | 362.8 kB |
| 3.1 MB | 1.1 MB | 369.6 kB |

#### CDN links
> https://cdn.plot.ly/plotly-geo-2.12.1.js
> https://cdn.plot.ly/plotly-geo-2.15.1.js
> https://cdn.plot.ly/plotly-geo-2.12.1.min.js
> https://cdn.plot.ly/plotly-geo-2.15.1.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.9 MB | 1.5 MB | 483.8 kB |
| 3.9 MB | 1.6 MB | 490.5 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl3d-2.12.1.js
> https://cdn.plot.ly/plotly-gl3d-2.15.1.js
> https://cdn.plot.ly/plotly-gl3d-2.12.1.min.js
> https://cdn.plot.ly/plotly-gl3d-2.15.1.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.8 MB | 576 kB |
| 4.5 MB | 1.8 MB | 583 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl2d-2.12.1.js
> https://cdn.plot.ly/plotly-gl2d-2.15.1.js
> https://cdn.plot.ly/plotly-gl2d-2.12.1.min.js
> https://cdn.plot.ly/plotly-gl2d-2.15.1.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.7 MB | 517 kB |
| 4.4 MB | 1.7 MB | 523.8 kB |

#### CDN links
> https://cdn.plot.ly/plotly-mapbox-2.12.1.js
> https://cdn.plot.ly/plotly-mapbox-2.15.1.js
> https://cdn.plot.ly/plotly-mapbox-2.12.1.min.js
> https://cdn.plot.ly/plotly-mapbox-2.15.1.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 | 352.8 kB |
| 3 MB | 1.1 MB | 359.5 kB |

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

#### npm packages
Expand All @@ -252,12 +252,12 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 8.8 MB | 3.8 MB | 1.1 MB |
| 8.8 MB | 3.9 MB | 1.1 MB |

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

#### npm packages
Expand Down
Loading

0 comments on commit fcacb30

Please sign in to comment.