Skip to content

Commit

Permalink
Silence astroviz warning
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-long committed Jun 3, 2024
1 parent 447a2c8 commit a061568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doodads/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def imshow(im, *args, ax=None, log=False, colorbar=True, title=None, origin='cen
if log:
vmin = kwargs.pop('vmin') if 'vmin' in kwargs else None
vmax = kwargs.pop('vmax') if 'vmax' in kwargs else None
norm = astroviz.simple_norm(im, stretch='log', min_cut=vmin, max_cut=vmax)
norm = astroviz.simple_norm(im, stretch='log', vmin=vmin, vmax=vmax)
kwargs.update({
'norm': norm
})
Expand Down

0 comments on commit a061568

Please sign in to comment.