Skip to content

Commit

Permalink
Fixed Matplotlib crashing
Browse files Browse the repository at this point in the history
Solution found here: MTG/sms-tools#36
  • Loading branch information
jatron committed Oct 29, 2018
1 parent ab8a2fb commit 1fdd8c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/experimental/jorge/plot_digits_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
# License: BSD 3 clause

# Standard scientific Python imports
import matplotlib.pyplot as plt
import matplotlib
matplotlib.use("TkAgg")
from matplotlib import pyplot as plt

# Import datasets, classifiers and performance metrics
from sklearn import datasets, svm, metrics
Expand Down

0 comments on commit 1fdd8c8

Please sign in to comment.