Is there a good Python module for plotting Gantt Charts? I've tried CairoPlot, but it produces buggy results for complex data sets and lacks many configuration options.
Code samples and images are highly appreciated.
Thanks,
Adam
In this article, we will be discussing how to plot a Gantt Chart in Python using Matplotlib. A Gantt chart is a graphical depiction of a project schedule or task schedule (In OS). It's is a type of bar chart that shows the start and finish dates of several elements of a project that include resources or deadline.
Professionals who use Microsoft Excel to keep track of their tasks or activities can use the tool's Bar Chart feature to convert their data table into a Gantt.
ChartDirector is pretty good at generating advanced charts of all kinds. It has decent python bindings, but it's, unfortunately, not native python or open source in general.
There are actually some Gantt chart examples/screenshots. The code also includes python demo's for building gantt charts.
If you're working on a web application, you can also consider Google Chart. It appears to be flexible/advanced enough for simple, Gantt-like charts. You can read more on this here, for example. Or just google for "google chart gantt"
You should also check faces, it's a powerful and free project management tool that you program with python. It's also built in python. It can output many different charts, including gantt chart.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With