Commit 84c11172 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins

catch matplotlib error import more gracefully

parent 82dee4a1
Pipeline #29231 passed with stages
in 53 seconds
......@@ -122,7 +122,11 @@ def main():
# set this opportunistically.
import matplotlib
from matplotlib import pyplot as plt
from matplotlib import pyplot as plt
except RuntimeError:
logging.warning("no display, plotting disabled.")
args.plot = False
if args.matlab:
gwinc = gwinc_matlab.gwinc_matlab
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment