change numpy type for mat matrix

This commit is contained in:
jakubknczny 2021-06-01 08:01:23 +02:00
parent c84e96a575
commit b7bc173e3c

View File

@ -173,7 +173,7 @@ if __name__ == "__main__":
x1 = np.asarray(range(0, 4))
x2 = np.asarray(range(0, 4))
y = f(x1, x2)
mat = np.asmatrix([x1, x2, y])
mat = np.asarray([x1, x2, y])
plt3d = plt.figure().gca(projection='3d')
xx, yy = np.meshgrid(range(10), range(10))