Python: module for plotting Gantt charts

后端 未结 6 428
萌比男神i
萌比男神i 2021-02-03 23:17

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.

相关标签:
6条回答
  • 2021-02-03 23:44

    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"

    0 讨论(0)
  • 2021-02-03 23:45

    MathGL can produce something similar -- see this sample. The same can be done for horizontal bars too.

    0 讨论(0)
  • 2021-02-03 23:46

    Checkout Python Gantt

    Python-Gantt make possible to easily draw gantt charts from Python. Output format is SVG.

    you can install through pip

    pip install python-gantt
    
    0 讨论(0)
  • 2021-02-03 23:49

    Plotly has very good gantt charts. check out their documentation and examples in the following link

    https://plot.ly/python/gantt/

    0 讨论(0)
  • 2021-02-03 23:54

    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.

    0 讨论(0)
  • 2021-02-03 23:58

    python-gantt doesn't work It raised this error after trying module import AttributeError: module 'gantt' has no attribute 'define_font_attributes'

    0 讨论(0)
提交回复
热议问题