Commits

Anonymous committed 12cef30

Move matplotlib backend to hornet.plot

Comments (0)

Files changed (2)

src/hornet/command.py

 import logging
 import os
 
-import matplotlib; matplotlib.use('Agg')
-
 #import sys
 #limit = sys.getrecursionlimit()
 #sys.setrecursionlimit(limit*20)
 
 .. moduleauthor:: John Paulett <john.paulett -at- vanderbilt.edu>
 """
+import matplotlib; matplotlib.use('Agg')
 import matplotlib.pyplot as plt
 
 def loglog(x, y, fmt='.', xlabel=None, ylabel=None, title=None, filename=None):