def test_add_bars(self):
        series = {'data': ((0,0), ) + S1, 
                  "bars": {"barWidth": 0.75, "show": True}}
        self.flot.add_bars(((0,0), ) + S1)
        self.assertEqual(self.flot._series[0]['bars'], {'show': True})
        self.assertEqual(json.dumps([series]), self.flot.series_json)
test the shortcut for adding a series as bars
dataset/ETHPy150Open unbracketed/python-flot-utils/pyflot/tests/__init__.py/TestFlot.test_add_bars