remove numpy deprecation
This commit is contained in:
parent
865510ce33
commit
0c5502da5f
@ -159,8 +159,8 @@ class RolandCutStudioEPSExport(inkex.OutputExtension):
|
|||||||
m=m.transpose()
|
m=m.transpose()
|
||||||
#debug("with {}".format(m))
|
#debug("with {}".format(m))
|
||||||
pnew = numpy.matmul(m, p)
|
pnew = numpy.matmul(m, p)
|
||||||
x=float(pnew[0])
|
x=float(pnew[0][0])
|
||||||
y=float(pnew[1])
|
y=float(pnew[1][0])
|
||||||
#debug("to: {} {}".format(x, y))
|
#debug("to: {} {}".format(x, y))
|
||||||
return [x, y]
|
return [x, y]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user