예제 #1
0
 def testPlotTitle(self):
     """ Make sure title is passed to plot
     """
     g = Gantt(BASICS)
     g.render()
     x = g.ax.get_title()
     self.assertEqual(x, "Basic Title")
예제 #2
0
 def testPlotTitle(self):
     """ Make sure title is passed to plot
     """
     g = Gantt(BASICS)
     g.render()
     x = g.ax.get_title()
     self.assertEqual(x, "Basic Title")
예제 #3
0
#!/usr/bin/env python
"""
Wrapper function to use the Gantt class
"""
from gantt import Gantt

g = Gantt('./sample.json')
g.render()
g.show()
예제 #4
0
#!/usr/bin/env python
"""
Wrapper function to use the Gantt class
"""
from gantt import Gantt

g = Gantt("./sample.json")
g.render()
g.show()