Skip to content

Commit 7b398d5

Browse files
committed
Usage QoL improvements
1 parent d3315dd commit 7b398d5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

napari_cellseg3d/code_plugins/plugin_crop.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ def _start(self):
312312
vw = self._viewer
313313

314314
vw.dims.ndisplay = 3
315+
vw.grid.enabled = False
315316
vw.scale_bar.visible = True
316317

317318
if self.aniso_widgets.enabled():

napari_cellseg3d/code_plugins/plugin_model_training.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,7 @@ def on_start(self):
916916

917917
self.remove_docked_widgets()
918918
self.display_status_report()
919+
self._remove_result_layers()
919920

920921
self.log.print_and_log(f"Worker started at {utils.get_time()}")
921922
self.log.print_and_log("\nWorker is running...")
@@ -997,7 +998,7 @@ def _display_results(self, images, names, complete_missing=False):
997998
data=images[0], name=names[0], colormap="turbo"
998999
)
9991000
layer_output_discrete = self._viewer.add_image(
1000-
data=images[1], name=names[1], colormap="bop orange"
1001+
data=images[1], name=names[1], colormap="bop blue"
10011002
)
10021003
layer_image = self._viewer.add_image(
10031004
data=images[2], name=names[2], colormap="inferno"

0 commit comments

Comments
 (0)