diff --git a/outatime/timeseries/time_series.py b/outatime/timeseries/time_series.py index d51d168..fbcbf2f 100644 --- a/outatime/timeseries/time_series.py +++ b/outatime/timeseries/time_series.py @@ -183,7 +183,7 @@ def resample(self, self[:] = resampled self.data_granularity = granularity else: - return TimeSeries(resampled, data_granularity=granularity) + return self.__class__(resampled, data_granularity=granularity) def update(self, __list: List[TimeSeriesData]): """ diff --git a/setup.py b/setup.py index ac4bebb..e03b722 100644 --- a/setup.py +++ b/setup.py @@ -2,11 +2,13 @@ with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() + long_description = long_description.split("

")[1] + long_description = "![](https://github.com/SynStratos/outatime/blob/main/docs/outatime_banner.png)" + long_description setuptools.setup( name='outatime', packages=setuptools.find_packages(), - version='1.0.1', + version='1.0.2', description='Python framework to manage time series.', long_description=long_description, long_description_content_type="text/markdown",