Commit 8a8d1880 authored by Jan Kiene's avatar Jan Kiene
Browse files

add the DISPLAY var missing hack

parent 4112ded2
Loading
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -5,10 +5,16 @@ import math
import pathlib
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from typing import List


# hack for avoiding missing DISPLAY variable in headless CI runners
import matplotlib

matplotlib.use("Agg")
import matplotlib.pyplot as plt


BINS_FOR_MEASURES = {
    "MLD": [0, 1, 2, 3, 4, 5, 10, 20, math.inf],
    "MAX_ABS_DIFF": [0, 16, 256, 1024, 2048, 4096, 8192, 16384, 32769],