When I call pyplot.title(\'some string\')
it throws the exception, \'str\' object is not callable\'
.
I copied the following from the matplotlib onl
Without restarting, I've found that changing to a .set_title()
method following my plotting method has resulted in a successful pass without an error.
No need to Reinstall any libraries. To overcome the issue, you can just restart the Jupyter kernel. This happens when you set plt.title = 'something'. It overrides the PyPlot functions and make them inaccessible. Restarting the kernel will help you out.