Always hide contents labels at startup

fsp_feeds
Tyler Goodlet 2021-07-26 15:35:06 -04:00
parent 21d1e17c6a
commit 3eabe93d54
2 changed files with 7 additions and 9 deletions

View File

@ -1281,12 +1281,6 @@ async def run_fsp(
# 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
# data looked up from the chart's internal array set.
# TODO: we must get a data view api going STAT!!
@ -1710,10 +1704,14 @@ async def _async_main(
'account': {
'key': '**account**:',
'type': 'select',
'default_value': ['margin'],
'default_value': [
'piker.paper',
# 'ib.margin',
# 'ib.paper',
],
},
'disti_policy': {
'key': '**policy**:',
'key': '**entry policy**:',
'type': 'select',
'default_value': ['uniform'],
},

View File

@ -278,7 +278,7 @@ class ContentsLabels:
self._labels.append(
(chart, name, label, partial(update_func, label, name))
)
# label.hide()
label.hide()
return label