Commit 461a221a authored by norvell's avatar norvell
Browse files

Add fix which may be needed for using matplotlib on computer without DISPLAY

parent a9c36213
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3,6 +3,8 @@
import argparse
import math
import numpy as np
import matplotlib     # These steps are added as a precaution in case the gitlab runner
matplotlib.use('Agg') # needs DISPLAY to render the plots, even if they are written to file.
import matplotlib.pyplot as plt
import csv
from parse_xml_report import FORMATS, CATEGORIES