This call to matplotlib.use() has no effect

C:\Anaconda\lib\site-packages\matplotlib\__init__.py:1401: UserWarning:  This call to matplotlib.use() has no effect
because the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.

 warnings.warn(_use_error_msg)


in spyder, in @windows, and this FINALLY worked for me:
Go to Tools>Preferences>IPython terminal>Graphs (Menu names are an approximation since my spyder is in Spanish)

Once here, uncheck the box "Activate support".

https://github.com/ac1235/python-QuickUI/issues/1


猜你喜欢

转载自blog.csdn.net/honk2012/article/details/79650904