Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
calebweinreb committed Aug 1, 2022
1 parent 0986e6d commit c9f9599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snub/io/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ def add_heatmap(
except: raise AssertionError(
'""{}"" is not a valid colormap. See https://matplotlib.org/stable/gallery/color/colormap_reference.html for a list of options'.format(colormap))
if vmin is None:
vmin = np.max(data)
vmin = np.min(data)
print('Set vmin to {}'.format(vmin))
if vmax is None:
vmax = np.max(data)
Expand Down

0 comments on commit c9f9599

Please sign in to comment.