Esempio n. 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")
Esempio n. 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")
Esempio n. 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()
Esempio n. 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()