Skip to content Skip to sidebar Skip to footer

"typeerror: 'str' Object Is Not Callable" Error While Using Jupyter Notebook

I tried to plot a graph using pyplot from matplotlib and everything went fine until I tried to add the title. from matplotlib import pyplot as plt a = [1, 4, 8] b = [1, 9, 18] plt.

Solution 1:

I had this error twice on the Jupyter notebook. Restart your anaconda or better: from the kernel tab restart and run all. This should work

Solution 2:

Restart your kernel. It’s a common error.

Post a Comment for ""typeerror: 'str' Object Is Not Callable" Error While Using Jupyter Notebook"