changeset 14:1a0c8c2780f2 draft

Uploaded
author bimib
date Wed, 13 Feb 2019 05:48:56 -0500
parents e96f3b85e5a0
children d0e7f14b773f
files Marea/marea_cluster.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Marea/marea_cluster.py	Wed Feb 13 05:42:20 2019 -0500
+++ b/Marea/marea_cluster.py	Wed Feb 13 05:48:56 2019 -0500
@@ -7,7 +7,8 @@
 import argparse
 from sklearn.cluster import KMeans
 import matplotlib
-matplotlib.use('GTKAgg')
+# Force matplotlib to not use any Xwindows backend.
+matplotlib.use('Agg')
 import matplotlib.pyplot as plt
 
 ########################## argparse ###########################################