From e1ff4bf59f279394453834336a0548c224485456 Mon Sep 17 00:00:00 2001 From: MARCHAND MANON Date: Wed, 11 Sep 2024 12:27:54 +0200 Subject: [PATCH] fix: astropy deprecated min_cut and max_cut --- docs/examples/filter_image_pixels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/filter_image_pixels.py b/docs/examples/filter_image_pixels.py index 07f982d4..7b5d23cc 100644 --- a/docs/examples/filter_image_pixels.py +++ b/docs/examples/filter_image_pixels.py @@ -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()