News for hackers. Stuff that matters.
Re:Pygal – A Python SVG Charts Creator by doug1001 on Sunday August 24, 2014 @01:50AM (#8217831)
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.

There are no comments on this comment yet.