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
Fixed: thumbnails and the hover rendered RGB arrays with OpenCV (BGR) when cv2 was installed, so colors were swapped. New setting pythonImagePreview.arrayRenderer (default matplotlib) picks the renderer used first for plain arrays
Grid renderer: every item of a batch (N×C×H×W, N×H×W×C) tiled into one image, offered for arrays and tensors with 4 dimensions
Inspector: a viewer with zoom and pan, the value of the pixel under the cursor, R/G/B/A/gray channel toggles and a histogram. Open it from [Inspect] at the bottom of the Quick Fix menu, Inspect Image in the Variables view's context menu or the hover's Inspect link, make it the default with pythonImagePreview.viewer, or right-click an image file in the Explorer
Hover and thumbnail tooltips show min, max and mean next to the shape and dtype
Ctrl+Alt+P (macOS ⌘+Alt+P) previews the variable at the cursor or the selection with the first applicable renderer, without a menu (Preview Image with Default Renderer, also in the editor context menu)
Thumbnails are rendered at reduced size in the debugged process (arrays are subsampled, figures saved at a lower dpi, Pillow images shrunk), so stepping through functions with large images stays fast; the full-size file is written only when a preview is opened