fixed a plotting bug oops

This commit is contained in:
alexmadison 2022-02-28 10:52:07 +01:00
parent 6db6a2072b
commit ee59fc9a44
1 changed files with 3 additions and 3 deletions

View File

@ -36,17 +36,17 @@ Use -exclude='regex' to specify signals to exclude (or -ex).""")
colour_high = (98, 187, 93)
colour_low = (233, 115, 115)
for arg in argv:
r = re.findall(r'-c=(.+)', arg)
r = re.findall(r'-c=[\"\']?(.+)[\"\']?', arg)
if len(r) >= 1:
if r[0] == "ole":
colour_undefined = (233, 115, 115)
colour_high = (98, 187, 93)
colour_low = (90, 111, 199)
if r[0] == "og":
elif r[0] == "og":
colour_undefined = (255,0,0)
colour_high = (252, 186, 3)
colour_low = (20, 184, 186)
if r[0] == "michele":
elif r[0] == "michele":
colour_undefined = (100,100,100)
colour_high = (98, 187, 93)
colour_low = (233, 115, 115)