Skip to content

Commit

Permalink
Merge pull request #280 from BiAPoL/fix_opacity_runtime_error
Browse files Browse the repository at this point in the history
fix opacity adjustment and set it to low non-zero value
  • Loading branch information
Cryaaa authored Jan 15, 2024
2 parents 19cdf25 + d74d308 commit eca8459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napari_clusters_plotter/_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def manual_clustering_method(inside):
plot_cluster_name=clustering_ID,
)
if isinstance(self.analysed_layer, Labels):
self.layer_select.value.opacity = 0
self.layer_select.opacity = 0.2

# Canvas Widget that displays the 'figure', it takes the 'figure' instance
self.graphics_widget = MplCanvas(
Expand Down

0 comments on commit eca8459

Please sign in to comment.