8000 python3 shebang · matplotlib/matplotlib@afeb42d · GitHub
[go: up one dir, main page]

Skip to content

Commit afeb42d

Browse files
tobias47n9eWeatherGod
authored andcommitted
python3 shebang
1 parent 5919ce3 commit afeb42d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/user_interfaces/mpl_with_glade_316.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
from gi.repository import Gtk, Gio
44

@@ -21,7 +21,6 @@ def main():
2121
sw = builder.get_object("scrolledwindow1")
2222

2323
#Start of Matplotlib specific code
24-
##########################################################################
2524
figure = Figure(figsize=(8,6), dpi=71)
2625
axis = figure.add_subplot(111)
2726
t = arange(0.0, 3.0, 0.01)
@@ -34,7 +33,6 @@ def main():
3433
canvas = FigureCanvas(figure) # a Gtk.DrawingArea
3534
canvas.set_size_request(800,600)
3635
sw.add_with_viewport(canvas)
37-
##########################################################################
3836
#End of Matplotlib specific code
3937

4038
window.show_all()

0 commit comments

Comments
 (0)
0