def test_series_with_label_json(self):
        series = {'data': S1, 'label': 'label1'}
        self.flot.add_series(S1, 'label1')
        self.assertEqual(json.dumps([series]), self.flot.series_json)
make sure series with label converts to JSON properly
dataset/ETHPy150Open unbracketed/python-flot-utils/pyflot/tests/__init__.py/TestFlot.test_series_with_label_json