diff --git a/src/astroimage.py b/src/astroimage.py index 0fd8ffb..57c8b42 100644 --- a/src/astroimage.py +++ b/src/astroimage.py @@ -65,8 +65,8 @@ def update_display(self): img_display = self.stretch() img_display = img_display*255 - if self.roworder == "TOP-DOWN": - img_display = np.flip(img_display, axis=0) + #if self.roworder == "TOP-DOWN": + # img_display = np.flip(img_display, axis=0) if(img_display.shape[2] == 1): self.img_display = Image.fromarray(img_display[:,:,0].astype(np.uint8)) @@ -77,8 +77,8 @@ def update_display(self): def update_display_from_array(self, img_display): img_display = img_display*255 - if self.roworder == "TOP-DOWN": - img_display = np.flip(img_display, axis=0) + #if self.roworder == "TOP-DOWN": + # img_display = np.flip(img_display, axis=0) if(img_display.shape[2] == 1): self.img_display = Image.fromarray(img_display[:,:,0].astype(np.uint8))