Skip to content

Commit

Permalink
Merge branch 'master' into filter-enabled-false-when-empty-target-array
Browse files Browse the repository at this point in the history
  • Loading branch information
etpinard committed Apr 26, 2019
2 parents 66645ed + 29f94b6 commit 1e57928
Show file tree
Hide file tree
Showing 109 changed files with 10,276 additions and 14,459 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"no-loop-func": [2],
"no-console": [0],
"no-unused-labels": [2],
"no-useless-escape": [0]
"no-useless-escape": [0],
"func-name-matching": ["error", "always"]
}
}
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,32 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.


## [1.47.4] -- 2019-04-25

### Fixed
- Fix graphs with `sankey` and cartesian subplots [#3802]
- Fix selection of `bar` traces on subplot with a range slider [#3806]


## [1.47.3] -- 2019-04-18

### Fixed
- Fix MathJax rendering in Firefox [#3783]
- Fix `waterfall` hover under `hovermode: 'closest'` [#3778]
- Fix `waterfall` `connector.line.width` updates [#3789]
- Fix `waterfall` positioning on date axes [#3791]
- Fix `waterfall` default connector line color [#3788]
- Fix `hoverlabel.align` behavior for centered hover labels [#3781]


## [1.47.2] -- 2019-04-15

### Fixed
- Fix bar `'auto'` and `'inside'` `textposition` rendering on log size axes [#3762, #3773]
- Fix matching axes autorange algorithm for date axes [#3772]
- Fix SVG gradient rendering (colorbar and marker gradient) when `<base>` is present on page [#3765]


## [1.47.1] -- 2019-04-10

### Fixed
Expand Down
44 changes: 22 additions & 22 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ object. This property must be set before the plotly.js script tag, for example:
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
Many other localizations are available - here is an example using Swiss-German (de-CH),
see the contents of this directory for the full list.
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.47.1.js
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.47.4.js
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.

*After* the plotly.js script tag, add:
Expand All @@ -74,12 +74,12 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.

It be can imported as minified javascript
- using dist file `dist/plotly.min.js`
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.47.1.min.js
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.47.4.min.js

or as raw javascript:
- using the `plotly.js-dist` npm package (starting in `v1.39.0`)
- using dist file `dist/plotly.js`
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.47.1.js
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.47.4.js
- using CommonJS with `require('plotly.js')`

If you would like to have access to the attribute meta information (including attribute descriptions as on the [schema reference page](https://plot.ly/javascript/reference/)), use dist file `dist/plotly-with-meta.js`
Expand All @@ -88,7 +88,7 @@ The main plotly.js bundle weights in at:

| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
|-----------|---------------|----------------------|---------------------|
| 6.4 MB | 2.9 MB | 883.7 kB | 6.6 MB |
| 6.3 MB | 2.9 MB | 883.5 kB | 6.6 MB |

## Partial bundles

Expand All @@ -111,16 +111,16 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.3 MB | 822.5 kB | 268.9 kB |
| 2.3 MB | 822.2 kB | 269.2 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-basic-1.47.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.47.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-basic-1.47.4.js |
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.47.4.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -157,16 +157,16 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.6 MB | 938.5 kB | 305.5 kB |
| 2.6 MB | 937.9 kB | 305.7 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.47.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.47.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.47.4.js |
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.47.4.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -203,16 +203,16 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.3 MB | 838.5 kB | 276.3 kB |
| 2.3 MB | 837.7 kB | 276.3 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-geo-1.47.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.47.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-geo-1.47.4.js |
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.47.4.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -257,8 +257,8 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.47.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.47.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.47.4.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.47.4.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -303,8 +303,8 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.47.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.47.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.47.4.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.47.4.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -349,8 +349,8 @@ The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.47.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.47.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.47.4.js |
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.47.4.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -387,16 +387,16 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.4 MB | 864.8 kB | 281.5 kB |
| 2.4 MB | 864.5 kB | 281.7 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-finance-1.47.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.47.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-finance-1.47.4.js |
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.47.4.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down
9 changes: 5 additions & 4 deletions dist/plot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3969,7 +3969,7 @@
},
"box": {
"meta": {
"description": "In vertical (horizontal) box plots, statistics are computed using `y` (`x`) values. By supplying an `x` (`y`) array, one box per distinct x (y) value is drawn If no `x` (`y`) {array} is provided, a single box is drawn. That box position is then positioned with with `name` or with `x0` (`y0`) if provided. Each box spans from quartile 1 (Q1) to quartile 3 (Q3). The second quartile (Q2) is marked by a line inside the box. By default, the whiskers correspond to the box' edges +/- 1.5 times the interquartile range (IQR = Q3-Q1), see *boxpoints* for other options."
"description": "In vertical (horizontal) box plots, statistics are computed using `y` (`x`) values. By supplying an `x` (`y`) array, one box per distinct x (y) value is drawn If no `x` (`y`) {array} is provided, a single box is drawn. That box position is then positioned with with `name` or with `x0` (`y0`) if provided. Each box spans from quartile 1 (Q1) to quartile 3 (Q3). The second quartile (Q2) is marked by a line inside the box. By default, the whiskers correspond to the box' edges +/- 1.5 times the interquartile range (IQR: Q3-Q1), see *boxpoints* for other options."
},
"attributes": {
"type": "box",
Expand Down Expand Up @@ -14544,14 +14544,15 @@
"role": "style",
"editType": "style",
"anim": true,
"description": "Sets the line color."
"description": "Sets the line color.",
"dflt": "#444"
},
"width": {
"valType": "number",
"min": 0,
"dflt": 2,
"role": "style",
"editType": "style",
"editType": "plot",
"anim": true,
"description": "Sets the line width (in px)."
},
Expand Down Expand Up @@ -35681,7 +35682,7 @@
},
"sankey": {
"meta": {
"description": "Sankey plots for network flow data analysis. The nodes are specified in `nodes` and the links between sources and targets in `links`. The colors are set in `nodes[i].color` and `links[i].color`; otherwise defaults are used."
"description": "Sankey plots for network flow data analysis. The nodes are specified in `nodes` and the links between sources and targets in `links`. The colors are set in `nodes[i].color` and `links[i].color`, otherwise defaults are used."
},
"attributes": {
"type": "sankey",
Expand Down
Loading

0 comments on commit 1e57928

Please sign in to comment.