Skip to content

Commit

Permalink
adding default ratio value
Browse files Browse the repository at this point in the history
  • Loading branch information
carsen-stringer committed Feb 15, 2024
1 parent 88d8821 commit b7902f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cellpose/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ def __init__(self, image=None, logger=None):
self.colormap = ((np.random.rand(1000000,3)*0.8+0.1)*255).astype(np.uint8)
self.NZ = 1
self.restore = None
self.ratio = 1.
self.reset()

# if called with image, load it
Expand Down

0 comments on commit b7902f3

Please sign in to comment.