Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Oli4 committed Jan 24, 2022
1 parent 4d1b375 commit eb337bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eyepy/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1020,10 +1020,11 @@ def plot_drusen(
if ax is None:
ax = plt.gca()

if vmax is None:
vmax = drusen.max()
if vmin is None:
vmin = 1
if vmax is None:
vmax = max([drusen.max(), vmin])


visible = np.zeros(drusen[region].shape)
visible[np.logical_and(vmin < drusen[region], drusen[region] < vmax)] = 1
Expand Down

0 comments on commit eb337bd

Please sign in to comment.