We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ba5ac9 commit d2c3b6fCopy full SHA for d2c3b6f
tikzplotlib/_cleanfigure.py
@@ -569,8 +569,8 @@ def _get_line_data(linehandle):
569
xData, yData, zData = linehandle.get_data_3d()
570
data = _stack_data_3D(xData, yData, zData)
571
else:
572
- xData = linehandle.get_xdata().astype(np.float32)
573
- yData = linehandle.get_ydata().astype(np.float32)
+ xData = np.asarray(linehandle.get_xdata()).astype(np.float32)
+ yData = np.asarray(linehandle.get_ydata()).astype(np.float32)
574
data = _stack_data_2D(xData, yData)
575
return data, is3D
576
0 commit comments