From b7bc173e3cd671c1ac60ecd558154de5606f543e Mon Sep 17 00:00:00 2001 From: jakubknczny Date: Tue, 1 Jun 2021 08:01:23 +0200 Subject: [PATCH] change numpy type for mat matrix --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 2063310..7c546c4 100644 --- a/main.py +++ b/main.py @@ -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))