aboutsummaryrefslogtreecommitdiff
path: root/qolab
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 17:39:01 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 17:39:01 -0400
commite566ab7fcdf9eebfba6bdcce5c7beb738ad906ea (patch)
treecbae972dd0b57e7d65786e8a295c33f2af92cdf0 /qolab
parentd829a3d0862633110444db7043b80ce061075280 (diff)
downloadqolab-e566ab7fcdf9eebfba6bdcce5c7beb738ad906ea.tar.gz
qolab-e566ab7fcdf9eebfba6bdcce5c7beb738ad906ea.zip
do not create unused variable
Diffstat (limited to 'qolab')
-rw-r--r--qolab/data/trace.py2
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)