Open kenny5033 opened 2 weeks ago
Possible fix:
Cons: Lose interactivity provided by Plotly.
How much javascript is associated with each plotly plot vs with the plotly library? Does the library get reloaded with each graphic?
Each plotly plot comes with a chunk of script that actually renders the plot using the plotly library, which is only included once when the whole page loads. From my testing, the issue is in the plot being rendered client-side and the only thing changing client side, besides a few new divs for the plot to live in, is the chunk of javascript being delivered with a new plot.
Here is an example of the javascript delivered with a plot:
After today's meeting we know that the sankeys we currently have are slightly wrong (#35). I don't know or think that it will have a large impact on this problem, but it is a possibility.
With certain queries, the sankey maps begin to crash. The browser tab takes up an inordinate amount of resources.
Example: CLPFU a2 Germany PCM Energy Final IEA Not including NEU 1970
To look into: