-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
I am plotting resistance vs temperature data during live acquisition using a qcodes database.
At the beginning it works well but at some point I get the following error:
2025-11-18 10:23:16 - plottr.node.grid.DataGridder.Grid - ERROR
EXCEPTION RAISED: <class 'ValueError'>:
Malformed data: axis temperature is not monotonous.
-> File "C:\Users\username\python_envs\jupyterlab\Lib\site-packages\pyqtgraph\flowchart\Node.py", line 296, in update
out = self.process(**strDict(vals))
-> File "C:\Users\username\python_envs\jupyterlab\Lib\site-packages\plottr\node\grid.py", line 485, in process
dout = dd.datadict_to_meshgrid(data)
-> File "C:\Users\username\python_envs\jupyterlab\Lib\site-packages\plottr\data\datadict.py", line 1348, in datadict_to_meshgrid
newdata.validate()
~~~~~~~~~~~~~~~~^^
-> File "C:\Users\username\python_envs\jupyterlab\Lib\site-packages\plottr\data\datadict.py", line 1143, in validate
raise ValueError(msg)
My x-axis is the temperature and is not monotonous because it can fluctuate even if it decreases over time. Is there a way to plot it anyway ?
Plottr: v0.15.0
Python 3.13.0
OS: Windows 11
Metadata
Metadata
Assignees
Labels
No labels