Skip to content

Commit db526d9

Browse files
committedOct 9, 2017
Merge branch 'master' into tickformatstops
2 parents 0c9fb2b + 0a9b19c commit db526d9

File tree

333 files changed

+104054
-23812
lines changed

Some content is hidden

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

333 files changed

+104054
-23812
lines changed
 

‎CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,52 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

1212

13+
## [1.31.0] -- 2017-10-05
14+
15+
### Added
16+
- Add `table` trace type [#2030]
17+
- Add `geo.center` making geo views fully reproducible using layout attributes [#2030]
18+
- Add lasso and select-box drag modes to `scattergeo` and `choropleth` traces
19+
[#2030]
20+
- Add lasso and select-box drag modes to `bar` and `histogram` traces [#2045]
21+
- Add `scale` option to `Plotly.toImage` and `Plotly.downloadImage` [#1979]
22+
- Add `plot-schema.json` to `dist/`[#1999]
23+
24+
### Changed
25+
- Throttle lasso and select-box events for smoother behavior [#2040]
26+
- Harmonize gl3d and gl2d zoom speed with cartesian behavior [#2041]
27+
28+
### Fixed
29+
- Fix numerous `restyle` and `relayout` bugs [#1999]
30+
- Fix handling of extreme off-plot data points in scatter lines [#2060]
31+
- Fix `hoverinfo` array support for `scattergeo`, `choropleth`,
32+
`scatterternary` and `scattermapbox` traces [#2055]
33+
- Fix `Plotly.plot` MathJax promise chain resolution [#1991]
34+
- Fix legend double-click trace isolation behavior for graphs with
35+
`visible: false` traces [#2019]
36+
- Fix legend visibility toggling for traces with `groupby` transforms [#2019]
37+
- Fix single-bin histogram edge case [#2028]
38+
- Fix autorange for bar with base zero [#2050]
39+
- Fix annotations arrow rendering when graph div is off the DOM [#2046]
40+
- Fix hover for graphs with `scattergeo` markers outside 'usa' scope [#2030]
41+
- Fix handling of cross anti-meridian geo `lonaxis` ranges [#2030]
42+
- Fix miter limit for lines on geo subplots [#2030]
43+
- Fix `marker.opacity` handling for `scattergeo` bubbles [#2030]
44+
- Fix layout animation of secondary axes [#1999]
45+
- Fix `sankey` hover text placement for empty `link.label` items [#2016]
46+
- Fix `sankey` rendering of nodes with very small values [#2017, #2021]
47+
- Fix `sankey` hover label positioning on pages that style the
48+
'svg-container' div node [#2027]
49+
- Fix aggregation transforms restyle calls [#2031]
50+
51+
52+
## [1.30.1] -- 2017-09-06
53+
54+
### Fixed
55+
- Fix shapes on overlaid axes [#1975]
56+
- Correctly clear cartesian axis titles on full axis updates [#1981]
57+
- Make cartesian hover spikes work when no tick labels are present [#1980]
58+
1359
## [1.30.0] -- 2017-08-21
1460

1561
### Added

‎README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
[![npm version](https://badge.fury.io/js/plotly.js.svg)](https://badge.fury.io/js/plotly.js)
44
[![circle ci](https://circleci.com/gh/plotly/plotly.js.png?&style=shield&circle-token=1f42a03b242bd969756fc3e53ede204af9b507c0)](https://circleci.com/gh/plotly/plotly.js)
55

6+
#### 📢 Announcement!
7+
#### Seats are still available for a 2 day, Plotly.js master class in NYC, November 18-19.
8+
#### [Registration here](https://plotcon.plot.ly/workshops) 🎨 📈 🗽
9+
10+
***
11+
612
Built on top of [d3.js](http://d3js.org/) and [stack.gl](http://stack.gl/),
713
plotly.js is a high-level, declarative charting library. plotly.js ships with over 20
814
chart types, including scientific charts, 3D graphs, statistical charts, SVG maps, financial charts,
@@ -103,9 +109,23 @@ Important: the plotly.js code base contains some non-ascii characters. Therefore
103109
```
104110

105111

106-
#### Webpack Usage with Modules
112+
#### Building plotly.js with Webpack
107113

108-
Browserify [transforms](https://github.com/substack/browserify-handbook#transforms) are required to build plotly.js, namely, [glslify](https://github.com/stackgl/glslify) to transform WebGL shaders and [cwise](https://github.com/scijs/cwise) to compile component-wise array operations. To make the trace module system work with Webpack, you will need to install [ify-loader](https://github.com/hughsk/ify-loader) and add it to your `webpack.config.json` for your build to correctly bundle plotly.js files.
114+
For plotly.js to build with Webpack you will need to install [ify-loader@v1.1.0+](https://github.com/hughsk/ify-loader) and add it to your `webpack.config.json`. This adds Browserify transform compatibility to Webpack which is necessary for some plotly.js dependencies.
115+
116+
A repo that demonstrates how to build plotly.js with Webpack can be found [here](https://github.com/rreusser/plotly-webpack). In short add `ify-loader` to the `module` section in your `webpack.config.js`:
117+
```js
118+
...
119+
module: {
120+
loaders: [
121+
{
122+
test: /\.js$/,
123+
loader: 'ify-loader'
124+
}
125+
]
126+
},
127+
...
128+
```
109129

110130
## Bugs and feature requests
111131

0 commit comments

Comments
 (0)