From 60a5d95afb06be2511698cfdf335799d0dbc232e Mon Sep 17 00:00:00 2001 From: Christoph Deil Date: Mon, 17 Jul 2017 13:19:51 +0200 Subject: [PATCH] Fix docs/plot_fits.py --- docs/plot_fits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plot_fits.py b/docs/plot_fits.py index a34ec19..3369e76 100644 --- a/docs/plot_fits.py +++ b/docs/plot_fits.py @@ -18,5 +18,5 @@ import matplotlib.pyplot as plt from astropy.visualization.mpl_normalize import simple_norm ax = plt.subplot(projection=geometry.wcs) -norm = simple_norm(image, 'sqrt') +norm = simple_norm(image, 'sqrt', min_percent=1, max_percent=99) ax.imshow(image, origin='lower', norm=norm, cmap='gray')