Skip to content

Commit

Permalink
fix: astropy deprecated min_cut and max_cut
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand committed Sep 11, 2024
1 parent a23a754 commit e1ff4bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/filter_image_pixels.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
im = ax.imshow(
img_test,
origin="lower",
norm=simple_norm(hdu[0].data, "sqrt", min_cut=-1, max_cut=150),
norm=simple_norm(hdu[0].data, "sqrt", vmin=-1, vmax=150),
)
plt.show()

Expand Down

0 comments on commit e1ff4bf

Please sign in to comment.