这是肿么肥事一调用matplotlib就报错

真的不知道怎么处理了,一调用matplotlib就会报错,帮看一下怎么处理,感谢
下面是报错内容

Traceback (most recent call last):
File "E:\数据挖掘\data\实验三\Test3.py", line 69, in
plt.figure(1)
File "D:\lib\site-packages\matplotlib_api\deprecation.py", line 454, in wrapper
return func(*args, **kwargs)
File "D:\lib\site-packages\matplotlib\pyplot.py", line 783, in figure
manager = new_figure_manager(
File "D:\lib\site-packages\matplotlib\pyplot.py", line 359, in new_figure_manager
return _get_backend_mod().new_figure_manager(*args, **kwargs)
File "D:\lib\site-packages\matplotlib\backend_bases.py", line 3505, in new_figure_manager
return cls.new_figure_manager_given_figure(num, fig)
File "D:\lib\site-packages\matplotlib\backend_bases.py", line 3510, in new_figure_manager_given_figure
return cls.FigureCanvas.new_manager(figure, num)
File "D:\lib\site-packages\matplotlib\backend_bases.py", line 1703, in new_manager
return cls.manager_class.create_with_canvas(cls, figure, num)
File "D:\lib\site-packages\matplotlib\backends_backend_tk.py", line 468, in create_with_canvas
icon_img = ImageTk.PhotoImage(file=icon_fname, master=window)
File "D:\lib\site-packages\PIL\ImageTk.py", line 113, in init
self.tk = self.__photo.tk
AttributeError: 'PhotoImage' object has no attribute 'tk'
Exception ignored in:
Traceback (most recent call last):
File "D:\lib\site-packages\PIL\ImageTk.py", line 118, in del
name = self._photo.name
AttributeError: 'PhotoImage' object has no attribute 'name'
Exception ignored in:
Traceback (most recent call last):
File "D:\lib\tkinter_init
.py", line 4044, in del
if self.name:
AttributeError: 'PhotoImage' object has no attribute 'name'