-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Description
| throw new NotImplementedException("Data must not contain NaN"); |
I ran into a bug where the dimensions during render have infinite values (see snippet below), but the error thrown (linked above) points to my data being bad instead. It seems like the PlotDimensions passed into Render should be validated before Render is called. I verified that all of my data is finite.
My current workaround is to verify those dimensions myself.
Contents of the dimensions passed to Render:
AxisLimits: {AxisLimits: x=[-39690.28947368427, 1547921.2894736843] y=[∞, -∞]}
DataHeight: 212.4375
DataOffsetX: 59.5351563
DataOffsetY: 35.1015625
DataWidth: 290.464844
Height: 290
PxPerUnitX: 0.00018295712099970096
PxPerUnitY: 0
ScaleFactor: 1
UnitsPerPxX: 5465.7615649824011
UnitsPerPxY: -Infinity
Width: 372
XCenter: 754115.5
XMax: 1547921.2894736843
XMin: -39690.289473684272
XSpan: 1587611.5789473685
YCenter: NaN
YMax: -Infinity
YMin: Infinity
YSpan: -Infinity
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels