* Initialize FigureModel. Called when the Python FigureWidget is first * constructed
()
| 528 | * constructed |
| 529 | */ |
| 530 | initialize() { |
| 531 | this.model.on("change:_widget_data", () => this.do_data()); |
| 532 | this.model.on("change:_widget_layout", () => this.do_layout()); |
| 533 | this.model.on("change:_py2js_addTraces", () => this.do_addTraces()); |
| 534 | this.model.on("change:_py2js_deleteTraces", () => this.do_deleteTraces()); |
| 535 | this.model.on("change:_py2js_moveTraces", () => this.do_moveTraces()); |
| 536 | this.model.on("change:_py2js_restyle", () => this.do_restyle()); |
| 537 | this.model.on("change:_py2js_relayout", () => this.do_relayout()); |
| 538 | this.model.on("change:_py2js_update", () => this.do_update()); |
| 539 | this.model.on("change:_py2js_animate", () => this.do_animate()); |
| 540 | this.model.on("change:_py2js_removeLayoutProps", () => this.do_removeLayoutProps()); |
| 541 | this.model.on("change:_py2js_removeTraceProps", () => this.do_removeTraceProps()); |
| 542 | } |
| 543 | |
| 544 | /** |
| 545 | * Input a trace index specification and return an Array of trace |
no test coverage detected