Always hide contents labels at startup
parent
21d1e17c6a
commit
3eabe93d54
|
@ -1281,12 +1281,6 @@ async def run_fsp(
|
||||||
# static_yrange=(0, 100),
|
# static_yrange=(0, 100),
|
||||||
)
|
)
|
||||||
|
|
||||||
# display contents labels asap
|
|
||||||
chart.linked.cursor.contents_labels.update_labels(
|
|
||||||
len(shm.array) - 1,
|
|
||||||
# fsp_func_name
|
|
||||||
)
|
|
||||||
|
|
||||||
# XXX: ONLY for sub-chart fsps, overlays have their
|
# XXX: ONLY for sub-chart fsps, overlays have their
|
||||||
# data looked up from the chart's internal array set.
|
# data looked up from the chart's internal array set.
|
||||||
# TODO: we must get a data view api going STAT!!
|
# TODO: we must get a data view api going STAT!!
|
||||||
|
@ -1710,10 +1704,14 @@ async def _async_main(
|
||||||
'account': {
|
'account': {
|
||||||
'key': '**account**:',
|
'key': '**account**:',
|
||||||
'type': 'select',
|
'type': 'select',
|
||||||
'default_value': ['margin'],
|
'default_value': [
|
||||||
|
'piker.paper',
|
||||||
|
# 'ib.margin',
|
||||||
|
# 'ib.paper',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
'disti_policy': {
|
'disti_policy': {
|
||||||
'key': '**policy**:',
|
'key': '**entry policy**:',
|
||||||
'type': 'select',
|
'type': 'select',
|
||||||
'default_value': ['uniform'],
|
'default_value': ['uniform'],
|
||||||
},
|
},
|
||||||
|
|
|
@ -278,7 +278,7 @@ class ContentsLabels:
|
||||||
self._labels.append(
|
self._labels.append(
|
||||||
(chart, name, label, partial(update_func, label, name))
|
(chart, name, label, partial(update_func, label, name))
|
||||||
)
|
)
|
||||||
# label.hide()
|
label.hide()
|
||||||
|
|
||||||
return label
|
return label
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue