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")
#!/usr/bin/env python """ Wrapper function to use the Gantt class """ from gantt import Gantt g = Gantt('./sample.json') g.render() g.show()
#!/usr/bin/env python """ Wrapper function to use the Gantt class """ from gantt import Gantt g = Gantt("./sample.json") g.render() g.show()