plotly 0.7.0

A plotting library powered by Plotly.js
Documentation
1
2
3
4
5
6
7
8
9
10
<div id="{{ plot_div_id }}" class="plotly-graph-div" style="height:100%; width:100%;"></div>
<script type="text/javascript">
    window.PLOTLYENV=window.PLOTLYENV || {};
    if (document.getElementById("{{ plot_div_id }}")) {
        var image_element = document.getElementById('image-export')

        {{ plot_data }}
        Plotly.newPlot('{{ plot_div_id }}', data, layout, {"responsive": true});
    };
</script>