Can't display plot -- TypeError: ‘tuple’ object is not callable

import matplotlib.pyplot as plt
plt.plot(X_train,'*')

plt.show()

Error:


TypeError Traceback (most recent call last)
in ()
----> 1 plt.plot(X_train,’*’)
2 plt.show()

TypeError: ‘tuple’ object is not callable

Hi @catchymz,
Usually this seems to be a caching problem in the environment. Can you try again after restarting the runtime?

Again after restarting it works today, but yesterday after restarting still don’t work! Thanks!

but plt.show() can’t show the GRIDS for me, as in the course video

Please refer this thread