5 ms·
this is the first i have heard of this library, but i look forward to experimenting with it because it has an important use case: creating 'native' plots etc in
by doug1001 12y ago
this is the first i have heard of this library, but i look forward to experimenting with it because it has an important use case: creating 'native' plots etc in the ipython notebook.
ipynb which has an impressive display system, eg, to view svg within the notebook:
from IPython.display import SVG
SVG(filename='plot-made-from-pygal.svg')
alternatively, you could use ipython's HTML display:
from IPython.display import HTML
and inject the pygal-created SVG into your own HTML template--a particularly nice option because ipython notebook is html rendered in a browser.