spyder-ide / spyder

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

displaying pixel values in the plot window #11516

Open isalirezag opened 4 years ago

isalirezag commented 4 years ago

Spyder 4 is truly amazing. this is just a suggestion for the future released. in the plot, it would be great if user can see the pixel values of the display image by move the mouse on the image.

goanpeca commented 4 years ago

Thanks for sharing @isalirezag.

@jnsebgosselin what do you think?

jnsebgosselin commented 4 years ago

The pixel values of the mouse position? Like in paint for example?

pixel_values

goanpeca commented 4 years ago

There are 2 values we could display. The one for location within the plot and the one that says (3131x1764)

jnsebgosselin commented 4 years ago

There are 2 values we could display. The one for location within the plot and the one that says (3131x1764)

Ah good idea.

Should I add that in the plugin's toolbar?

goanpeca commented 4 years ago

You are the UI wizard my friend :-) please go ahead!

jnsebgosselin commented 4 years ago

You are the UI wizard my friend :-) please go ahead!

lol ok, I'll propose something then and we can iterate from there.