diff --git a/droplets/droplet_tracks.py b/droplets/droplet_tracks.py index 8029a6b..c594186 100644 --- a/droplets/droplet_tracks.py +++ b/droplets/droplet_tracks.py @@ -109,9 +109,9 @@ def __repr__(self): if len(self.times) == 0: return f"{class_name}([])" elif len(self.times) == 1: - return f"{class_name}(time={self.start})" + return f"{class_name}(time={self.start:g})" else: - return f"{class_name}(timespan={self.start}..{self.end})" + return f"{class_name}(timespan={self.start:g}..{self.end:g})" def __len__(self): """Number of time points.""" diff --git a/droplets/emulsions.py b/droplets/emulsions.py index 6cd6a0a..5818946 100644 --- a/droplets/emulsions.py +++ b/droplets/emulsions.py @@ -885,7 +885,7 @@ def from_storage( using fitting. This is a potentially slow procedure. num_processes (int or "auto"): Number of processes used for the refinement. If set to "auto", the - number of processes is choosen automatically. + number of processes is chosen automatically. progress (bool): Whether to show the progress of the process. If `None`, the progress is only shown when `refine` is `True`. Progress bars are only shown for