I am using Plotly’s Python API to build a Gantt chart for tasks that are discontinuous. The current method available in Ploty’s library can build gantt charts where a task has one start and end date, whereas I am trying to plot a gantt chart for tasks with multiple start and end dates ( task is partially completed at different times). For example, a task may start on Jan 1 2016 and halt on Feb 30 2016, then start again on 1 May 2016 and finish completion on 1 June 2016. The current method only allows input of one start and end date, where a horizontal bar is displayed from the start to the end. I want two (or multiple) horizontal bars to show clearly which periods the task was ‘active’ and ‘inactive’. The link below shows an image of the sort of gantt chart I want to make.
I would appreciate it if someone could let me know how to go about making such a chart.