Skip to content

Gantt chart for planning projects, manuscripts, grant proposals, and so on.

License

Notifications You must be signed in to change notification settings

MooersLab/gantt-chart-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Version License: MIT

Timelines as Gantt chart via matplotlib in Python

Problem addressed

Gantt charts help keep you realistic about your planning. They are valuable for planning large, complex projects and managing multiple projects. However, finding open-source software to make timelines is a pain. The placeholder plan below is not realistic, but you get the idea.

Writing Plan

Instructions

  1. Edit the path to your Python binary.
  2. Install missing modules with pip.
  3. Relabel the projects in the named tuple to customize.
  4. Edit the start and end dates of each phase of a project in the named tuple to suit.
  5. Add or remove categories of phases if desired.
  6. Change the colors to suit.
  7. Edit the title to suit.
  8. Run chmod +x 2025writing.py.
  9. Run the script: ./2025writing.py.
  10. The resulting image will be displayed and written to a PNG file.

You can repurpose this chart for a single project. Change the labels to distinct activity names so the time spans appear at different positions along the y-axis.

Update history

Version Changes Date
Version 0.1 Added badges, funding, and update table. Initial commit. 2025 April 4

Sources of funding

  • NIH: R01 CA242845
  • NIH: R01 AI088011
  • NIH: P30 CA225520 (PI: R. Mannel)
  • NIH: P20 GM103640 and P30 GM145423 (PI: A. West)