Skip to content

Commit

Permalink
Update opacity value
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Oct 19, 2024
1 parent 4cea1ab commit 03015d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions samgeo/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2308,7 +2308,7 @@ def reset_button_click(change):
if change["new"]:
segment_button.value = False
reset_button.value = False
opacity_slider.value = 0.5
opacity_slider.value = 0.7
rectangular.value = False
colorpicker.value = "#ffff00"
output.clear_output()
Expand Down Expand Up @@ -2501,7 +2501,7 @@ def text_sam_gui(
box_threshold=0.25,
text_threshold=0.25,
cmap="viridis",
opacity=0.5,
opacity=0.7,
**kwargs,
):
"""Display the SAM Map GUI.
Expand Down Expand Up @@ -2826,7 +2826,7 @@ def reset_button_click(change):
segment_button.value = False
save_button.value = False
reset_button.value = False
opacity_slider.value = 0.5
opacity_slider.value = 0.7
box_slider.value = 0.25
text_slider.value = 0.25
cmap_dropdown.value = "viridis"
Expand Down

0 comments on commit 03015d7

Please sign in to comment.