Matplotlib animation is not working, static image is shown insted !
Can you share your notebook?
Inside fit()
function, modify
weight_matrix.append(self.w)
to
weight_matrix.append(self.w.copy())
Otherwise, all rows of weight_matrix will have the same value.