Mercurial > repos > bimib > marea
diff Marea/marea_cluster.py @ 14:1a0c8c2780f2 draft
Uploaded
author | bimib |
---|---|
date | Wed, 13 Feb 2019 05:48:56 -0500 |
parents | e96f3b85e5a0 |
children | c71ac0bb12de |
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 ###########################################