Skip to content

Commit d0a65cc

Browse files
committed
Small ch0 fix, rerender prod voice for demo.
1 parent 5c3b389 commit d0a65cc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Chapter0/Scene3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ def construct(self):
9696
work."""
9797
):
9898
# Position the sparse matrix and result vector next to the graph
99-
sparse_matrix = Matrix(matrix_data, v_buff=0.5, h_buff=0.5).scale(1.5)
99+
sparse_matrix = Matrix(matrix_data, v_buff=0.5, h_buff=0.5).scale(1)
100100
for i, row in enumerate(matrix_data):
101101
for j, value in enumerate(row):
102102
if value == 0:
103103
sparse_matrix.get_entries()[i * len(row) + j].set_opacity(0)
104104

105105
sparse_matrix.to_edge(LEFT, buff=0.5)
106-
sparse_vector = Matrix(initial_result_data, v_buff=0.5).scale(1.5).next_to(sparse_matrix, RIGHT, buff=0.5)
106+
sparse_vector = Matrix(initial_result_data, v_buff=0.5).scale(1).next_to(sparse_matrix, RIGHT, buff=0.5)
107107

108108
for j, sparse_entry in enumerate(sparse_vector.get_entries()):
109109
if j in (4, 5):

docs/Chapter0_480p15.mp4

-1.18 MB
Binary file not shown.

0 commit comments

Comments
 (0)