Add (shm) abs index to `ContextLabel`
parent
ba154ef413
commit
afd0781b62
|
@ -207,9 +207,10 @@ class ContentsLabel(pg.LabelItem):
|
||||||
# this being "html" is the dumbest shit :eyeroll:
|
# this being "html" is the dumbest shit :eyeroll:
|
||||||
|
|
||||||
self.setText(
|
self.setText(
|
||||||
"<b>i</b>:{index}<br/>"
|
"<b>i_arr</b>:{index}<br/>"
|
||||||
# NB: these fields must be indexed in the correct order via
|
# NB: these fields must be indexed in the correct order via
|
||||||
# the slice syntax below.
|
# the slice syntax below.
|
||||||
|
"<b>i_shm</b>:{}<br/>"
|
||||||
"<b>epoch</b>:{}<br/>"
|
"<b>epoch</b>:{}<br/>"
|
||||||
"<b>O</b>:{}<br/>"
|
"<b>O</b>:{}<br/>"
|
||||||
"<b>H</b>:{}<br/>"
|
"<b>H</b>:{}<br/>"
|
||||||
|
@ -219,6 +220,7 @@ class ContentsLabel(pg.LabelItem):
|
||||||
# "<b>wap</b>:{}".format(
|
# "<b>wap</b>:{}".format(
|
||||||
*array[ix][
|
*array[ix][
|
||||||
[
|
[
|
||||||
|
'index',
|
||||||
'time',
|
'time',
|
||||||
'open',
|
'open',
|
||||||
'high',
|
'high',
|
||||||
|
|
Loading…
Reference in New Issue