Skip to content

Commit

Permalink
Plot_stim in range (0,1)
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisVincent committed Oct 10, 2022
1 parent b159e70 commit 0eff732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stimuli/utils/utils.py
Expand Up @@ -463,7 +463,7 @@ def plot_stim(stim, mask=False, stim_name="stim", ax=None):
ax = plt.gca()

if not mask:
ax.imshow(stim["img"], cmap="gray")
ax.imshow(stim["img"], cmap="gray", vmin=0.0, vmax=1.0)
else:
img, mask = stim["img"], stim["mask"]
img = np.dstack([img, img, img])
Expand Down

0 comments on commit 0eff732

Please sign in to comment.