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.

Re:Pygal – A Python SVG Charts Creator by gerbal on Saturday August 23, 2014 @09:55PM (#8217418)
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

[1] https://github.com/trinketapp/pygal.js/

[2] https://trinket.io/charts

Re:Pygal – A Python SVG Charts Creator by andybak on Sunday August 24, 2014 @08:09AM (#8218349)
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...

Re:Pygal – A Python SVG Charts Creator by lebinh on Sunday August 24, 2014 @04:59AM (#8218077)
Found this great library when trying to play with and visualise some data recently[1]. One of the easiest way to create a nice graph from pure python.

[1] https://github.com/lebinh/aws-usage-report-analyser

Re:Pygal – A Python SVG Charts Creator by amirouche on Sunday August 24, 2014 @05:44AM (#8218123)
The following libraries target Python runtime instead of the browser:

- http://bokeh.pydata.org/index.html

- http://vispy.org/

Re:Pygal – A Python SVG Charts Creator by bnj on Sunday August 24, 2014 @11:50AM (#8218817)
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...
Re:Pygal – A Python SVG Charts Creator by m_mueller on Saturday August 23, 2014 @11:55PM (#8217628)
Very nice hover effects. I have only one gripe with them though: The transitions should be way faster. .3 seconds max., possibly less.
Re:Pygal – A Python SVG Charts Creator by aswanson on Sunday August 24, 2014 @12:11PM (#8218866)
Ugh. No 2.7 support
Re:Pygal – A Python SVG Charts Creator by orliesaurus on Saturday August 23, 2014 @10:37PM (#8217496)
nice, i was looking at this last week!