()
| 95 | } |
| 96 | |
| 97 | save_png() { |
| 98 | /** |
| 99 | * Triggers the saving for all the views of that figure. |
| 100 | */ |
| 101 | // TODO: the toolbar view needs to be associated with a Figure |
| 102 | // view to avoid calling a model method here. |
| 103 | const figure = this.get('figure'); |
| 104 | if (figure) { |
| 105 | figure.save_png(); |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | _create_panzoom_model(figure) { |
| 110 | /** |