Skip to content

Commit

Permalink
Merge pull request #19 from haesleinhuepf/userfriendliness
Browse files Browse the repository at this point in the history
Userfriendliness
  • Loading branch information
haesleinhuepf authored Mar 26, 2023
2 parents 70963ac + e2adb57 commit f638ffa
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="stackview",
version="0.5.2",
version="0.6.0",
author="Robert Haase",
author_email="[email protected]",
description="Interactive image stack viewing in jupyter notebooks",
Expand Down
2 changes: 1 addition & 1 deletion stackview/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.5.2"
__version__ = "0.6.0"

from ._static_view import jupyter_displayable_output, insight
from ._utilities import merge_rgb
Expand Down
2 changes: 1 addition & 1 deletion stackview/_annotate.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def annotate(
slice_number: int = None,
alpha: float = 0.5,
axis: int = 0,
continuous_update: bool = False,
continuous_update: bool = True,
slider_text: str = "Slice",
zoom_factor: float = 1.0,
zoom_spline_order: int = 0
Expand Down
2 changes: 1 addition & 1 deletion stackview/_assist.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
def assist(what: str = "",
context:dict = None,
continuous_update: bool = False,
continuous_update: bool = True,
zoom_factor: float = 1.0,
zoom_spline_order: int = 0,
):
Expand Down
2 changes: 1 addition & 1 deletion stackview/_crop.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
def crop(image,
slice_number: int = None,
axis: int = 0,
continuous_update: bool = False,
continuous_update: bool = True,
slider_text: str = "Slice",
axis_names=None,
zoom_factor: float = 1.0,
Expand Down
2 changes: 1 addition & 1 deletion stackview/_curtain.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def curtain(
axis: int = 0,
display_width: int = None,
display_height: int = None,
continuous_update: bool = False,
continuous_update: bool = True,
alpha: float = 1,
zoom_factor :float = 1.0,
zoom_spline_order :int = 0
Expand Down
4 changes: 3 additions & 1 deletion stackview/_interact.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
def interact(func,
image = None,
*args,
continuous_update: bool = False,
continuous_update: bool = True,
context:dict = None,
zoom_factor:float = 1.0,
zoom_spline_order:int = 0,
Expand Down Expand Up @@ -151,6 +151,8 @@ def worker_function(*otherargs, **kwargs):

execution_blocked = False

inter.update()

output_widgets = []
output_widgets.append(inter)
output_widgets.append(command_label)
Expand Down
2 changes: 1 addition & 1 deletion stackview/_orthogonal.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def orthogonal(
image,
display_width : int = None,
display_height : int = None,
continuous_update:bool=False,
continuous_update:bool=True,
zoom_factor:float = 1.0,
zoom_spline_order:int = 0
):
Expand Down
2 changes: 1 addition & 1 deletion stackview/_picker.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def picker(
slice_number: int = None,
display_width: int = None,
display_height: int = None,
continuous_update: bool = False,
continuous_update: bool = True,
slider_text: str = "Slice",
zoom_factor:float = 1.0,
zoom_spline_order:int = 0
Expand Down
2 changes: 1 addition & 1 deletion stackview/_side_by_side.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def side_by_side(
axis: int = 0,
display_width: int = None,
display_height: int = None,
continuous_update: bool = False,
continuous_update: bool = True,
slider_text: str = "Slice",
zoom_factor:float = 1.0,
zoom_spline_order:int = 0
Expand Down
2 changes: 1 addition & 1 deletion stackview/_slice.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def slice(
axis : int = 0,
display_width : int = None,
display_height : int = None,
continuous_update:bool=False,
continuous_update:bool = True,
slider_text:str="Slice",
zoom_factor:float = 1.0,
zoom_spline_order:int = 0
Expand Down
2 changes: 1 addition & 1 deletion stackview/_slice_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def __init__(self,
axis: int = 0,
display_width: int = None,
display_height: int = None,
continuous_update: bool = False,
continuous_update: bool = True,
slider_text: str = "Slice",
zoom_factor:float = 1.0,
zoom_spline_order:int = 0
Expand Down
2 changes: 1 addition & 1 deletion stackview/_switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def switch(images,
axis : int = 0,
display_width : int = None,
display_height : int = None,
continuous_update:bool=False,
continuous_update:bool = True,
slider_text:str="Slice",
zoom_factor:float = 1.0,
zoom_spline_order:int = 0
Expand Down

0 comments on commit f638ffa

Please sign in to comment.