File tree Expand file tree Collapse file tree 6 files changed +3
-7
lines changed Expand file tree Collapse file tree 6 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments