Page 1 of 1

Occur error when click 'Graphs' icon for selected session.

Posted: Mon Jul 26, 2021 2:10 pm
by water_35

When click 'Graphs' icon for selected session,
Image

Image

Occur error below, and the window can't close:

Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib64/python3.9/tkinter/init.py", line 1892, in call
return self.func(*args)
File "/home/A73/faceswap/lib/gui/popup_session.py", line 496, in graph_build
self.
graph.build()
File "/home/A73/faceswap/lib/gui/display_graph.py", line 349, in build
self.toolbar_place(self)
File "/home/A73/faceswap/lib/gui/display_graph.py", line 254, in toolbar_place
self.toolbar = NavigationToolbar(self.plotcanvas, parent)
File "/home/A73/.local/lib/python3.9/site-packages/matplotlib/backends/backend_tk.py", line 512, in init
self.
buttons[text] = button = self._Button(
TypeError: _Button() got an unexpected keyword argument 'toggle'


Re: Occur error when click 'Graphs' icon for selected session.

Posted: Sat Jul 31, 2021 2:07 pm
by torzdf

Not a bug. It looks like you are using a more recent version of matplotlib than is in our requirements. This is a known issue in versions of matplotlib>=3.3.0. Downgrade your matplotlib