plotly js: how to run my javascript ONLY after plot image is loaded
问题 When using a plotly graph of any sort with the Javascript API (plotly.js, not plotly-nodejs), how can I run some javascript ONLY after the graph has loaded? I'm looking for the mechanism in the plotly javascript API that, for example, does the same thing that 'addListenerOnce', in conjunction with 'tilesloaded' or 'ready', do when using the Google Maps API. For example, let's say I want to simply display an alert immediately after rendering the example shown at https://plot.ly/~PlotBot/685,