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 Jul 26, 2024
1 parent 2d29a66 commit 008c35b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebooks/FITS-image-pixels-intersecting-MOC.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"im = ax.imshow(\n",
" hdu[0].data,\n",
" origin=\"lower\",\n",
" norm=simple_norm(hdu[0].data, \"sqrt\", min_cut=0, max_cut=150),\n",
" norm=simple_norm(hdu[0].data, \"sqrt\", vmin=0, vmax=150),\n",
")"
]
},
Expand Down Expand Up @@ -148,7 +148,7 @@
"im = ax.imshow(\n",
" img_test,\n",
" origin=\"lower\",\n",
" norm=simple_norm(hdu[0].data, \"sqrt\", min_cut=0, max_cut=150),\n",
" norm=simple_norm(hdu[0].data, \"sqrt\", vmin=0, vmax=150),\n",
")"
]
},
Expand Down

0 comments on commit 008c35b

Please sign in to comment.