python image interactive

python 经常会遇到讲画的图片zoom in,zoom out 使用,虽然可以使用subplot讲放大的区域画出来,但是对于需要多次检查zoom in, zoom out 的话就不是很方便,需要经常的调节参数很麻烦,
所以除了terminal打开ipython画出图片直接是交互式的界面。
在使用notebook 时,只需要简单的输入%matplotlib notebook,便可以实现。
在spyder的话,需要在ipython界面输入%matplotlib qt

你可能感兴趣的:(python image interactive)