Popup display in Leaflet thought to show plotly chart – remains empty
I want to show a plotly chart within a Leaflet popup. The popup window opens, but the there is no chart showing up, although and are displayed correctly in the console.
var url3 = "{% url 'ajax_make_plot' %}"; var res = $.ajax({url: url3, async: false, success: function(response) { eturn(response); }}).responseText; var customPopup = res; var customOptions = { 'className' : 'custom' } layer.bindPopup(customPopup,customOptions);
So, the pop up window opens, but there is no plot showing. Might the created by plotly not be found?