diff --git a/daqviewer/daqviewer.py b/daqviewer/daqviewer.py index 3d9e2fd..db103d5 100644 --- a/daqviewer/daqviewer.py +++ b/daqviewer/daqviewer.py @@ -76,6 +76,9 @@ def parse_contents(contents, filename): # Zero time series based on first 5s df -= df[:5].mean() + # Round dataframe to save disk space + df = df.round(1) + ts = [] for col in df.columns: trace = go.Scatter(x=df.index, y=df[col], name=col, opacity=0.8)