I have used matplolib style code, while changing the style of plot with the help of below code I am facing an error
plt.style.available
plt.style.use(‘classic’)
–TypeError: ‘str’ object is not callable
I was expecting the plot style to be changed to classic
New contributor
srijan bansal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.