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.
Pygal has been ported to Javascript[1] and can be embedded in arbitrary web pages. I don't know quite what to make of that. Though the implementation in trinket.io[2] is pretty cool
Bloody hell. Last time I looked at skulpt I judged it as an 'interesting toy'.
But it's dawned on me that I'm watching a fully client-side Python app. And at 80kb it's not unrealistic to think about using it in production. Crikey...
I'd really like the 'try it online' to be able to easily save the output so that I could have students use it to create their charts and then save them...
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.