fixed a plotting bug oops
This commit is contained in:
parent
6db6a2072b
commit
ee59fc9a44
|
@ -36,17 +36,17 @@ Use -exclude='regex' to specify signals to exclude (or -ex).""")
|
||||||
colour_high = (98, 187, 93)
|
colour_high = (98, 187, 93)
|
||||||
colour_low = (233, 115, 115)
|
colour_low = (233, 115, 115)
|
||||||
for arg in argv:
|
for arg in argv:
|
||||||
r = re.findall(r'-c=(.+)', arg)
|
r = re.findall(r'-c=[\"\']?(.+)[\"\']?', arg)
|
||||||
if len(r) >= 1:
|
if len(r) >= 1:
|
||||||
if r[0] == "ole":
|
if r[0] == "ole":
|
||||||
colour_undefined = (233, 115, 115)
|
colour_undefined = (233, 115, 115)
|
||||||
colour_high = (98, 187, 93)
|
colour_high = (98, 187, 93)
|
||||||
colour_low = (90, 111, 199)
|
colour_low = (90, 111, 199)
|
||||||
if r[0] == "og":
|
elif r[0] == "og":
|
||||||
colour_undefined = (255,0,0)
|
colour_undefined = (255,0,0)
|
||||||
colour_high = (252, 186, 3)
|
colour_high = (252, 186, 3)
|
||||||
colour_low = (20, 184, 186)
|
colour_low = (20, 184, 186)
|
||||||
if r[0] == "michele":
|
elif r[0] == "michele":
|
||||||
colour_undefined = (100,100,100)
|
colour_undefined = (100,100,100)
|
||||||
colour_high = (98, 187, 93)
|
colour_high = (98, 187, 93)
|
||||||
colour_low = (233, 115, 115)
|
colour_low = (233, 115, 115)
|
||||||
|
|
Loading…
Reference in New Issue