spyder-ide / spyder

Official repository for Spyder - The Scientific Python Development Environment
https://www.spyder-ide.org
MIT License
8.38k stars 1.63k forks source link

Allow images to be loaded to the Plots pane #12221

Open OverLordGoldDragon opened 4 years ago

OverLordGoldDragon commented 4 years ago

The plots pane is excellent for direct image comparisons, especially of "same" images with slight differences by quickly swapping back and forth. The Windows image viewer suffers from blurring images between swaps, and I haven't yet found an alternative that enables near-fullscreen viewing like the Plots pane does.

Viewing any image, however, requires first plotting it programmatically. It'd be great to have an option to directly load an image from a file, or folder (all images in folder).

As a longer-term consideration: maybe turn the Plots pane into a standalone image viewer, launchable separate from the IDE. E.g. spyder --image-viewer. Spyder could then brand it as a feature.

ccordoba12 commented 4 years ago

Sorry but this goes way beyond the scope of the Plots pane.

OverLordGoldDragon commented 4 years ago

For what it's worth, found exactly what I was looking for - pViewer; loads images fast (no blur) and utilizes full width of the screen. Guess I just had to look hard enough.

ccordoba12 commented 4 years ago

Great to know!

ccordoba12 commented 4 years ago

Reopening because @jnsebgosselin thinks this is an idea worth exploring (although not as it was initially requested).