PDA

View Full Version : Bar chart in gtk 3 using python 3



Frozen Forest
February 28th, 2012, 07:44 PM
I would like to draw some bar charts on a gtk drawing area, but how? Found a few libraries for this, such as python-pycha but these seem to be for python 2.

Simian Man
February 28th, 2012, 08:00 PM
I'd recommend Matplotlib (http://matplotlib.sourceforge.net/users/intro.html). It is way more powerful than you probably need, but it's a good library and it connects with GTK+. A google search suggests it can work with Python 3, but I've never tried it myself.