Skip to content

Commit e9cd921

Browse files
track v2.0.0 of react-plotly.js (#413)
1 parent 0694cc3 commit e9cd921

File tree

6 files changed

+3
-7
lines changed

6 files changed

+3
-7
lines changed

examples/custom/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"react": "^16.2.0",
88
"react-dom": "^16.2.0",
99
"react-chart-editor": "latest",
10-
"react-plotly.js": "^1.7.0",
1110
"react-scripts": "1.0.17"
1211
},
1312
"scripts": {

examples/demo/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"react": "^16.2.0",
88
"react-dom": "^16.2.0",
99
"react-chart-editor": "latest",
10-
"react-plotly.js": "^1.7.0",
1110
"react-scripts": "1.0.17"
1211
},
1312
"scripts": {

examples/redux/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"react": "^16.2.0",
99
"react-dom": "^16.2.0",
1010
"react-chart-editor": "latest",
11-
"react-plotly.js": "^1.7.0",
1211
"react-redux": "^5.0.6",
1312
"react-scripts": "1.0.17",
1413
"redux": "^3.7.2"

examples/simple/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"react": "^16.2.0",
88
"react-dom": "^16.2.0",
99
"react-chart-editor": "latest",
10-
"react-plotly.js": "^1.7.0",
1110
"react-scripts": "1.0.17"
1211
},
1312
"scripts": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"raf": "^3.4.0",
2121
"react-color": "^2.13.8",
2222
"react-colorscales": "^0.4.2",
23-
"react-plotly.js": "^1.7.0",
23+
"react-plotly.js": "^2.0.0",
2424
"react-rangeslider": "^2.2.0",
2525
"react-select": "^1.0.0-rc.10",
2626
"react-tabs": "^2.2.1",

src/PlotlyEditor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ class PlotlyEditor extends Component {
3737
config={this.props.config}
3838
useResizeHandler={this.props.useResizeHandler}
3939
debug={this.props.debug}
40-
onInitialized={graphDiv => this.setState({graphDiv})}
41-
onUpdate={graphDiv => this.setState({graphDiv})}
40+
onInitialized={(fig, graphDiv) => this.setState({graphDiv})}
41+
onUpdate={(fig, graphDiv) => this.setState({graphDiv})}
4242
style={{width: '100%', height: '100%'}}
4343
/>
4444
</div>

0 commit comments

Comments
 (0)