8000
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 5919ce3 commit afeb42dCopy full SHA for afeb42d
examples/user_interfaces/mpl_with_glade_316.py
@@ -1,4 +1,4 @@
1
-#!/usr/bin/env python
+#!/usr/bin/env python3
2
3
from gi.repository import Gtk, Gio
4
@@ -21,7 +21,6 @@ def main():
21
sw = builder.get_object("scrolledwindow1")
22
23
#Start of Matplotlib specific code
24
- ##########################################################################
25
figure = Figure(figsize=(8,6), dpi=71)
26
axis = figure.add_subplot(111)
27
t = arange(0.0, 3.0, 0.01)
@@ -34,7 +33,6 @@ def main():
34
33
canvas = FigureCanvas(figure) # a Gtk.DrawingArea
35
canvas.set_size_request(800,600)
36
sw.add_with_viewport(canvas)
37
38
#End of Matplotlib specific code
39
40
window.show_all()
0 commit comments