Skip to content

Commit

Permalink
Merge pull request #170 from DanRyanIrish/repr_time_bugfix
Browse files Browse the repository at this point in the history
Fix time repr in SpectrgramCube for >1D times
  • Loading branch information
DanRyanIrish committed Jul 6, 2020
2 parents 9fa400e + 27fcd3a commit 2b6a304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sunraster/spectrogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def __str__(self):
if self.time.isscalar:
time_period = self.time
else:
time_period = (self.time[0], self.time[-1])
time_period = (str(self.time.min()), str(self.time.max()))
else:
time_period = None
if self._longitude_name:
Expand Down

0 comments on commit 2b6a304

Please sign in to comment.