def __init__(self, data=None, columns=None, key_on='idx', iter_idx=None,
                 width=960, height=500, grouped=False, no_data=False,
                 *args, **kwargs):

        super(Chart, self).__init__(*args, **kwargs)

        self.width, self.height = width, height
        self.padding = "auto"
        self.columns = columns
        self._is_datetime = False

        # Data
        if data is None and not no_data:
            raise ValueError('Please initialize the chart with data.')

        if not no_data:
            if isinstance(data, (list, tuple, dict)):
                if not data:
                    raise ValueError('The data structure is empty.')
            if isinstance(data, (pd.Series, pd.DataFrame)):
                if isinstance(data.index, pd.DatetimeIndex):
                    self._is_datetime = True

            # Using a vincent KeyedList here
            self.data['table'] = (
                data_type(data, grouped=grouped, columns=columns,
                          key_on=key_on, iter_idx=iter_idx)
                )
Sign an XML statement.
dataset/ETHPy150Open wrobstory/vincent/vincent/charts.py/Chart.__init__--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pysaml2-2.4.0/src/saml2/sigver.py/CryptoBackendXMLSecurity.sign_statement