We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b81416c commit f706da0Copy full SHA for f706da0
examples/user_interfaces/mpl_with_glade_316.py
@@ -1,14 +1,12 @@
1
#!/usr/bin/env python3
2
3
-from gi.repository import Gtk, Gio
+from gi.repository import Gtk
4
5
from matplotlib.figure import Figure
6
from matplotlib.axes import Subplot
7
from numpy import arange, sin, pi
8
from matplotlib.backends.backend_gtk3agg import FigureCanvasGTK3Agg as FigureCanvas
9
10
-import sys
11
-
12
class Window1Signals:
13
def on_window1_destroy(self, widget):
14
Gtk.main_quit()
0 commit comments