Matplotlib animation shows no update in weight (w) values

Matplotlib animation is not working, static image is shown insted !

Hi @Anand_Deep,
Can you please share a description/error screenshot?

it’s not an error but its not animating.

Can you share your notebook?

https://colab.research.google.com/drive/1j4rKW18QoIwIAnApY8-oJv-ulzc1y368?usp=sharing

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.