Nikea / xray-vision

Visualization widgets and plotting helpers targeted at X-Ray Sciences
Other
5 stars 13 forks source link

ENH: added vmax to open CHX images(low resolution) #63

Closed sameera2004 closed 9 years ago

danielballan commented 9 years ago

This seems like a good time to add vmin as well.

Alternatively, we could accept one argument imshow_kwargs that contains all the keys to be passed on to imshow. But I think vmin, vmax, and cmap are common enough to warrant special kwargs.

tacaswell commented 9 years ago

Also note that the AxesImage instance for the data is availble as mc.base_image which you can directly modify to change things like the limits and color map.

tacaswell commented 9 years ago

And someplace, maybe in the CrossSection code, we have a snippet that will set the limits to the 5 and 95 percentiles. Pulling that out as a helper function might be worth doing.