Even with this simple code in Jupyter Notebook, I got an error as "The kernel appears to have died. It will restart automatically."
How can I solve it?
%matplotlib inline
import matplotlib.pyplot as plt
import math
X = range(0,100)
Y = [ math.sin(0.2 * x) for x in X ]
plt.plot(X, Y)
plt.show()