Commits

John Paulett  committed 12cef30

Move matplotlib backend to hornet.plot

  • Participants
  • Parent commits 9176c60

Comments (0)

Files changed (2)

File src/hornet/command.py

 import logging
 import os
 
-import matplotlib; matplotlib.use('Agg')
-
 #import sys
 #limit = sys.getrecursionlimit()
 #sys.setrecursionlimit(limit*20)

File src/hornet/plot.py

 
 .. 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):