Skip to content

Commit 89e13fb

Browse files
committed
Pushing the docs for revision for branch: master, commit 2dc389c18ca5643014077e85242cc4bf3cef8333
1 parent 13afa35 commit 89e13fb

File tree

896 files changed

+3100
-3083
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

896 files changed

+3100
-3083
lines changed

dev/_downloads/svm_gui.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@
2929
from matplotlib.figure import Figure
3030
from matplotlib.contour import ContourSet
3131

32-
import Tkinter as Tk
32+
try:
33+
import tkinter as Tk
34+
except ImportError:
35+
# Backward compat for Python 2
36+
import Tkinter as Tk
37+
3338
import sys
3439
import numpy as np
3540

232 Bytes
232 Bytes
31 Bytes
31 Bytes
308 Bytes
308 Bytes
92 Bytes
92 Bytes
-58 Bytes

0 commit comments

Comments
 (0)