Skip to content

Commit

Permalink
fix mypy redefinition errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ambrosejcarr committed Apr 11, 2019
1 parent 49dae65 commit 29b43fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions starfish/util/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def imshow_plane(
ax = plt.gca()

if sel is not None:
image_stack: ImageStack = image_stack.sel(sel)
image_stack = image_stack.sel(sel)

if title is not None:
ax.set_title(title)
Expand Down Expand Up @@ -91,7 +91,7 @@ def intensity_histogram(
ax = plt.gca()

if sel is not None:
image_stack: ImageStack = image_stack.sel(sel)
image_stack = image_stack.sel(sel)

if title is not None:
ax.set_title(title)
Expand Down Expand Up @@ -135,7 +135,7 @@ def overlay_spot_calls(
ax = plt.gca()

if sel is not None:
image_stack: ImageStack = image_stack.sel(sel)
image_stack = image_stack.sel(sel)

# subset the intensities if needed
intensity_keys = (Axes.ROUND.value, Axes.CH.value, Axes.ZPLANE)
Expand Down

0 comments on commit 29b43fd

Please sign in to comment.