remove numpy deprecation

This commit is contained in:
Mario Voigt 2024-07-02 21:15:18 +02:00
parent 865510ce33
commit 0c5502da5f

View File

@ -159,8 +159,8 @@ class RolandCutStudioEPSExport(inkex.OutputExtension):
m=m.transpose()
#debug("with {}".format(m))
pnew = numpy.matmul(m, p)
x=float(pnew[0])
y=float(pnew[1])
x=float(pnew[0][0])
y=float(pnew[1][0])
#debug("to: {} {}".format(x, y))
return [x, y]