diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-13 17:39:01 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-13 17:39:01 -0400 |
commit | e566ab7fcdf9eebfba6bdcce5c7beb738ad906ea (patch) | |
tree | cbae972dd0b57e7d65786e8a295c33f2af92cdf0 /qolab/data | |
parent | d829a3d0862633110444db7043b80ce061075280 (diff) | |
download | qolab-e566ab7fcdf9eebfba6bdcce5c7beb738ad906ea.tar.gz qolab-e566ab7fcdf9eebfba6bdcce5c7beb738ad906ea.zip |
do not create unused variable
Diffstat (limited to 'qolab/data')
-rw-r--r-- | qolab/data/trace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qolab/data/trace.py b/qolab/data/trace.py index 7601f6b..bce0711 100644 --- a/qolab/data/trace.py +++ b/qolab/data/trace.py @@ -344,7 +344,7 @@ class TraceSetSameX(Trace): if self.x.config["type"] == "timestamp": x = from_timestamps_to_dates(x) for k, tr in self.traces.items(): - p = axs[cnt].plot(x, tr.values, label=k) + axs[cnt].plot(x, tr.values, label=k) axs[cnt].set_ylabel(f"{tr.config['label']} ({tr.config['unit']})") axs[cnt].legend() axs[cnt].grid(True) |