-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hello @helene-t ,
I got some data object but I'm not able to use plot method due to an error.
My object is as follows
from SciDataTool import Data1D, DataND
import numpy as np
spd = np.linspace(0, 1000, 20)
current = np.ones((20,1))
speed = Data1D(name="Speed", unit="rpm", values=spd, is_components=True)
axes = [speed]
kwargs = dict(name="Current RMS", unit="A", symbol="I")
data = DataND(axes=axes, values=current, **kwargs)
data.plot()
What am I doing wrong?
Best regards, Sebastian
Metadata
Metadata
Assignees
Labels
No labels