Skip to content

Commit afa4ef3

Browse files
committed
get this working for python 3
1 parent 64d5485 commit afa4ef3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/GUI/plotter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717
import sys
1818
if sys.version_info[0] < 3:
1919
import Tkinter as Tk
20+
import tkFont
2021
else:
2122
import tkinter as Tk
23+
import tkinter.font as tkFont
2224

23-
import tkFont
2425

2526
def str_to_f(str):
2627
a = parse_expr(str, evaluate=0)

0 commit comments

Comments
 (0)