from matplotlib.backends import _tkagg ImportError: cannot import name _tkagg

后端 未结 5 1712
不思量自难忘°
不思量自难忘° 2021-02-05 10:53

While trying to run this example to test how matplotlib works with Tkinter, I am getting the error:

(env)fieldsofgold@fieldsofgold-VirtualBox:~/new$ python test.         


        
5条回答
  •  星月不相逢
    2021-02-05 11:38

    replacing NavigationToolbar2TkAgg with NavigationToolbar2Tk also works in Python 3.8.5 (MacOS Catalina).

提交回复
热议问题