Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Update matrix.py

sswatson566b5be4883e
diff --git a/mobject/matrix.py b/mobject/matrix.py
index aa5659cf7..75d3f3c0b 100644
--- a/mobject/matrix.py
+++ b/mobject/matrix.py
@@ -16,7 +16,7 @@ VECTOR_LABEL_SCALE_FACTOR = 0.8
def matrix_to_tex_string(matrix):
- matrix = np.array(matrix).astype("string")
+ matrix = np.array(matrix).astype("str")
if matrix.ndim == 1:
matrix = matrix.reshape((matrix.size, 1))
n_rows, n_cols = matrix.shape