I want to know how to render matplotlib window into template page in plone. Somebody explained me to render matplotlib window as image in plone site using the syntax which I mentioned below.
<metal:main fill-slot="main">
<div class="matplotwindow">
<img src="" tal:attributes="src python:context.absolute_url()+'/@@classname'">
</div>
</metal:main>
But I need to know, is it possible to render matplotlib window into template page(html page). If anybody have an idea regarding this, please help me to do this and all.
If you want interactivity, the simplest way is probably to integrate using a service like plot.ly
Another option could be to use Vincent to generate a JSON file that is compatible with a D3.js visualization grammar called vega or to directly output your data using the vega grammar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With