Set `brokers: list[st]` from mods when not provided..

agg_feedz
Tyler Goodlet 2022-11-15 15:44:52 -05:00
parent 326f153a47
commit 88870fdda7
2 changed files with 4 additions and 1 deletions

View File

@ -1450,6 +1450,7 @@ class Feed(Struct):
if brokers is None: if brokers is None:
mods = self.mods mods = self.mods
brokers = list(self.mods)
else: else:
mods = {name: self.mods[name] for name in brokers} mods = {name: self.mods[name] for name in brokers}

View File

@ -304,7 +304,7 @@ class PlotItemOverlay:
# NOTE: required for scene layering/relaying; this guarantees # NOTE: required for scene layering/relaying; this guarantees
# the "root" plot receives priority for interaction # the "root" plot receives priority for interaction
# events/signals. # events/signals.
root_plotitem.vb.setZValue(1000) root_plotitem.vb.setZValue(10)
self.overlays: list[PlotItem] = [] self.overlays: list[PlotItem] = []
self.layout = ComposedGridLayout(root_plotitem) self.layout = ComposedGridLayout(root_plotitem)
@ -494,6 +494,8 @@ class PlotItemOverlay:
root.vb.setFocus() root.vb.setFocus()
assert root.vb.focusWidget() assert root.vb.focusWidget()
vb.setZValue(100)
def get_axis( def get_axis(
self, self,
plot: PlotItem, plot: PlotItem,