spacetelescope / jwql

The James Webb Space Telescope Quicklook Application
BSD 3-Clause "New" or "Revised" License
64 stars 42 forks source link

Customize colorbar location and size based on aperture size #1592

Open bhilbert4 opened 1 month ago

bhilbert4 commented 1 month ago

Resolves #1560

This improves the readability of the colorbar, especially for cases where the aperture is very non-square (e.g. SUBSTRIPE64). In full frame images, the colorbar has been shrunk to be the same height as the detector image. This effectively allows the image itself to be larger when displayed on the webpage.

I've tested this on all xsize/ysize ratios for all apertures across all instruments. All images look good. I also ran generate_preview_images.py locally with no problems.

pep8speaks commented 1 month ago

Hello @bhilbert4, Thank you for updating !

Cheers ! There are no PEP8 issues in this Pull Request. :beers:

Comment last updated at 2024-05-23 21:05:25 UTC