def _validate_data_for_ploting(self):
    'Raises an exception if the timeseries is invalid for plotting.\n        To be added into all the peek methods in all source sup-classes.\n        Currently only checks if we have an empty timeseries, where:\n        len(self.data) == 0\n\n        '
    if (len(self.data) == 0):
        raise ValueError("The timeseries can't be plotted as it has no data present. (len(self.data) == 0)")
Raises an exception if the timeseries is invalid for plotting.
To be added into all the peek methods in all source sup-classes.
Currently only checks if we have an empty timeseries, where:
len(self.data) == 0
def _validate_data_for_ploting(self):
    'Raises an exception if the timeseries is invalid for plotting.\n        To be added into all the peek methods in all source sup-classes.\n        Currently only checks if we have an empty timeseries, where:\n        len(self.data) == 0\n\n        '
    if (len(self.data) == 0):
        raise ValueError("The timeseries can't be plotted as it has no data present. (len(self.data) == 0)")