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:


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