Skip to content

Commit 4265ff8

Browse files
committed
Todo updates
1 parent 851ea69 commit 4265ff8

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

napari_cellseg3d/code_plugins/plugin_crop.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def _build(self):
176176
],
177177
)
178178

179-
ui.ScrollArea.make_scrollable(layout, self, min_wh=[200, 500])
179+
ui.ScrollArea.make_scrollable(layout, self, min_wh=[200, 400])
180180
self.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Expanding)
181181
self._set_io_visibility()
182182

@@ -308,7 +308,7 @@ def _start(self):
308308
else:
309309
self.image_layer1.opacity = 0.7
310310
self.image_layer1.colormap = "inferno"
311-
self.image_layer1.contrast_limits = [200, 1000]
311+
self.image_layer1.contrast_limits = [200, 1000] # TODO generalize
312312

313313
self.image_layer1.refresh()
314314

@@ -334,7 +334,7 @@ def add_isotropic_layer(
334334
self,
335335
layer,
336336
colormap="inferno",
337-
contrast_lim=[200, 1000], # TODO generalize ?
337+
contrast_lim= [200, 1000], # TODO generalize ?
338338
opacity=0.7,
339339
visible=True,
340340
):

napari_cellseg3d/interface.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,6 @@ def show_utils_menu(self, widget, event):
183183
UTILITIES_WIDGETS,
184184
)
185185

186-
# print(self.parent().parent())
187-
# TODO create mapping for name:widget
188-
# menu = QMenu(self.parent().parent())
189186
menu = QMenu(widget.window())
190187
menu.setStyleSheet(f"background-color: {napari_grey}; color: white;")
191188

@@ -702,7 +699,6 @@ class LayerSelecter(ContainerWidget):
702699
def __init__(
703700
self, viewer, name="Layer", layer_type=napari.layers.Layer, parent=None
704701
):
705-
# TODO(cyril) : chack for proper behaviour and debug. Namely check issues such as cropping list not updating
706702
super().__init__(parent=parent, fixed=False)
707703
self._viewer = viewer
708704

0 commit comments

Comments
 (0)