You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(inset): resample image insets to device pixels with PIL
Pre-resize the source to the inset's exact device-pixel footprint with
PIL and render it pixel-for-pixel (interpolation='none'), instead of
letting matplotlib resample the full-resolution image. Downscale with
LANCZOS to antialias (matplotlib's resampler aliases on large
reductions); enlarge with NEAREST to stay crisp (smooth filters look
hazy and ring on hard edges).
0 commit comments